diff options
Diffstat (limited to '')
-rw-r--r-- | hosts/thinklappi/default.nix | 15 | ||||
-rw-r--r-- | sys/desktop/river/default.nix | 4 | ||||
-rw-r--r-- | sys/users/default.nix | 2 | ||||
-rw-r--r-- | users/sils/packages/default.nix | 5 | ||||
-rw-r--r-- | users/sils/swaylock/default.nix | 6 |
5 files changed, 20 insertions, 12 deletions
diff --git a/hosts/thinklappi/default.nix b/hosts/thinklappi/default.nix index ba379a8..4f0145a 100644 --- a/hosts/thinklappi/default.nix +++ b/hosts/thinklappi/default.nix @@ -2,11 +2,7 @@ config, pkgs, ... -}: let - compiledLayout = pkgs.runCommand "keyboard-layout" {} '' - ${pkgs.xorg.xkbcomp}/bin/xkbcomp ${../../files/neoqwertz.xkb} $out - ''; -in { +}: { imports = [ ./basesystem.nix ../../sys @@ -16,9 +12,7 @@ in { printing.enable = true; xserver = { layout = "de"; - #xkbVariant = ",neo"; xkbOptions = "grp:win_space_toggle"; - displayManager.sessionCommands = "${pkgs.xorg.xkbcomp}/bin/xkbcomp ${compiledLayout} $DISPLAY"; }; pipewire = { enable = true; @@ -30,10 +24,14 @@ in { }; hardware = { + opengl.enable = true; bluetooth.enable = true; pulseaudio.enable = false; }; - security.rtkit.enable = true; + security = { + rtkit.enable = true; + pam.services.swaylock = {}; + }; environment.systemPackages = [pkgs.xorg.xkbcomp]; @@ -53,7 +51,6 @@ in { console = { font = "Lat2-Terminus16"; keyMap = "de"; - #useXkbConfig = true; # use xkbOptions in tty. }; programs.ssh.startAgent = true; diff --git a/sys/desktop/river/default.nix b/sys/desktop/river/default.nix index fa2720b..72fb3e2 100644 --- a/sys/desktop/river/default.nix +++ b/sys/desktop/river/default.nix @@ -1,8 +1,8 @@ {pkgs, ...}: { services.xserver = { - enable = true; + enable = false; displayManager = { - lightdm.enable = true; + lightdm.enable = false; defaultSession = "river"; session = [ { diff --git a/sys/users/default.nix b/sys/users/default.nix index b4f7cfe..c5f2d3d 100644 --- a/sys/users/default.nix +++ b/sys/users/default.nix @@ -15,7 +15,7 @@ }; }; services.xserver.displayManager.autoLogin = { - enable = true; + enable = false; user = "sils"; }; programs.zsh.enable = true; diff --git a/users/sils/packages/default.nix b/users/sils/packages/default.nix index 96d0b51..57fafa7 100644 --- a/users/sils/packages/default.nix +++ b/users/sils/packages/default.nix @@ -74,5 +74,10 @@ cmatrix # hacker tool bottles # run windows software + + # windowmanager + river + yambar + swaylock ]; } diff --git a/users/sils/swaylock/default.nix b/users/sils/swaylock/default.nix new file mode 100644 index 0000000..a3e2ca2 --- /dev/null +++ b/users/sils/swaylock/default.nix @@ -0,0 +1,6 @@ +{...}: { + programs.swaylock = { + enable = true; + # TODO maybe add settings + }; +} |