diff --git a/hosts/thinkpad/default.nix b/hosts/thinkpad/default.nix index 2221c49..e3369d1 100755 --- a/hosts/thinkpad/default.nix +++ b/hosts/thinkpad/default.nix @@ -40,6 +40,13 @@ lightdm.enable = true; defaultSession = "none+awesome"; }; + windowManager.awesome = { + enable = true; + luaModules = with pkgs.luaPackages; [ + luarocks + vicious + ]; + }; libinput.enable = true; }; diff --git a/hosts/thinkpad/modules/autorandr/default.nix b/hosts/thinkpad/modules/autorandr/default.nix index 5bc3707..3f7195d 100644 --- a/hosts/thinkpad/modules/autorandr/default.nix +++ b/hosts/thinkpad/modules/autorandr/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ...}: +{ config, pkgs, ... }: let fp_eDP-1 = "00ffffffffffff0009e5c608000000001f1d0104a522137803dae5955d59942924505400000001010101010101010101010101010101963b803671383c403020360058c21000001a000000000000000000000000000000000000000000fe00424f452043510a202020202020000000fe004e5631353646484d2d4e34380a0043"; fp_HDMI-1 = "00ffffffffffff00410ccfc0fb0100001f19010380301b782a3935a25952a1270c5054bd4b00d1c09500950fb30081c0818001010101023a801871382d40582c4500dd0c1100001e000000ff005a564331353331303030353037000000fc0050484c2032323356350a202020000000fd00384c1e5311000a202020202020017a020322f14f010203050607101112131415161f04230917078301000065030c001000023a801871382d40582c4500dd0c1100001e8c0ad08a20e02d10103e9600dd0c11000018011d007251d01e206e285500dd0c1100001e8c0ad090204031200c405500dd0c110000180000000000000000000000000000000000000000004d"; @@ -39,7 +39,7 @@ in mode = "1920x1080"; }; }; - + }; }; }; diff --git a/users/rouven/modules/awesome/default.nix b/users/rouven/modules/awesome/default.nix index 43c48a6..9dd78f0 100644 --- a/users/rouven/modules/awesome/default.nix +++ b/users/rouven/modules/awesome/default.nix @@ -1,11 +1,5 @@ -{config, pkgs, ...}: +{ config, pkgs, ... }: { - xsession.windowManager.awesome = { - enable = true; - luaModules = with pkgs.luaPackages; [ - luarocks - vicious - ]; - }; + # declaration of awesome wm is in hosts//default.nix home.file.".config/awesome/rc.lua".source = ./rc.lua; }