diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-01 10:31:11 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-01 10:31:11 +0200 |
commit | 48f8d3c11d9117f10e6ca5b76a08b91cef5c861b (patch) | |
tree | 1c0aed455c6cd4d73a390463e0ed40582fc481c4 /hosts/sif/default.nix | |
parent | 3c203b2eb88055d4e8a6cffecf257b9f1a2009d9 (diff) | |
download | nixos-48f8d3c11d9117f10e6ca5b76a08b91cef5c861b.tar nixos-48f8d3c11d9117f10e6ca5b76a08b91cef5c861b.tar.gz nixos-48f8d3c11d9117f10e6ca5b76a08b91cef5c861b.tar.bz2 nixos-48f8d3c11d9117f10e6ca5b76a08b91cef5c861b.tar.xz nixos-48f8d3c11d9117f10e6ca5b76a08b91cef5c861b.zip |
...
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r-- | hosts/sif/default.nix | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 87c0f3bf..96cd66cc 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix | |||
@@ -31,7 +31,7 @@ in { | |||
31 | boot = { | 31 | boot = { |
32 | initrd = { | 32 | initrd = { |
33 | systemd = { | 33 | systemd = { |
34 | enable = true; | 34 | enable = false; |
35 | emergencyAccess = config.users.users.root.hashedPassword; | 35 | emergencyAccess = config.users.users.root.hashedPassword; |
36 | }; | 36 | }; |
37 | luks.devices = { | 37 | luks.devices = { |
@@ -423,6 +423,17 @@ in { | |||
423 | }; | 423 | }; |
424 | }; | 424 | }; |
425 | 425 | ||
426 | systemd.tmpfiles.rules = [ | ||
427 | "d /var/lib/lightdm/.cache/lightdm-gtk-greeter 1770 lightdm lightdm -" | ||
428 | "L /var/lib/lightdm/.cache/lightdm-gtk-greeter/state - - - - ${pkgs.writeText "state" '' | ||
429 | [greeter] | ||
430 | last-user=gkleen | ||
431 | last-session=none+xmonad | ||
432 | ''}" | ||
433 | |||
434 | "L /etc/localtime - - - - /.bcachefs/etc/localtime" | ||
435 | ]; | ||
436 | |||
426 | users = { | 437 | users = { |
427 | users.gkleen.extraGroups = [ "media" "plugdev" "input" "rtkit" ]; | 438 | users.gkleen.extraGroups = [ "media" "plugdev" "input" "rtkit" ]; |
428 | groups.media = {}; | 439 | groups.media = {}; |
@@ -444,6 +455,7 @@ in { | |||
444 | "log.level" = 2; | 455 | "log.level" = 2; |
445 | "core.daemon" = true; | 456 | "core.daemon" = true; |
446 | "core.name" = "pipewire-0"; | 457 | "core.name" = "pipewire-0"; |
458 | "module.x11.bell" = false; | ||
447 | }; | 459 | }; |
448 | "context.modules" = [ | 460 | "context.modules" = [ |
449 | { | 461 | { |
@@ -623,7 +635,7 @@ in { | |||
623 | zramSwap = { | 635 | zramSwap = { |
624 | enable = true; | 636 | enable = true; |
625 | algorithm = "zstd"; | 637 | algorithm = "zstd"; |
626 | writebackDevice = "/dev/disk/by-uuid/50f3f856-cc17-4614-846a-34a14d5006ec"; | 638 | writebackDevice = "/dev/disk/by-label/swap"; |
627 | }; | 639 | }; |
628 | 640 | ||
629 | services.pcscd.enable = true; | 641 | services.pcscd.enable = true; |