diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-01-23 14:37:58 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-01-23 14:37:58 +0100 |
commit | 11bbb2a99fb6a8741522830d8d3e9c2d90d4e5d5 (patch) | |
tree | c5506cea25ad516d7f28ac8bddb04245b5bd3603 /hosts/sif/default.nix | |
parent | 07496f4fd71e711859fab2cc858d2c440053f20c (diff) | |
download | nixos-11bbb2a99fb6a8741522830d8d3e9c2d90d4e5d5.tar nixos-11bbb2a99fb6a8741522830d8d3e9c2d90d4e5d5.tar.gz nixos-11bbb2a99fb6a8741522830d8d3e9c2d90d4e5d5.tar.bz2 nixos-11bbb2a99fb6a8741522830d8d3e9c2d90d4e5d5.tar.xz nixos-11bbb2a99fb6a8741522830d8d3e9c2d90d4e5d5.zip |
...
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r-- | hosts/sif/default.nix | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 655b2e9c..7db46c67 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix | |||
@@ -12,7 +12,7 @@ let | |||
12 | in { | 12 | in { |
13 | imports = with flake.nixosModules.systemProfiles; [ | 13 | imports = with flake.nixosModules.systemProfiles; [ |
14 | ./hw.nix | 14 | ./hw.nix |
15 | ./mail ./libvirt | 15 | ./mail ./libvirt ./greetd |
16 | tmpfs-root bcachefs initrd-all-crypto-modules default-locale openssh rebuild-machines niri-unstable networkmanager | 16 | tmpfs-root bcachefs initrd-all-crypto-modules default-locale openssh rebuild-machines niri-unstable networkmanager |
17 | flakeInputs.nixos-hardware.nixosModules.lenovo-thinkpad-p1 | 17 | flakeInputs.nixos-hardware.nixosModules.lenovo-thinkpad-p1 |
18 | flakeInputs.impermanence.nixosModules.impermanence | 18 | flakeInputs.impermanence.nixosModules.impermanence |
@@ -470,39 +470,8 @@ in { | |||
470 | exportConfiguration = true; | 470 | exportConfiguration = true; |
471 | }; | 471 | }; |
472 | libinput.enable = true; | 472 | libinput.enable = true; |
473 | |||
474 | greetd = { | ||
475 | enable = true; | ||
476 | # settings.default_session.command = let | ||
477 | # cfg = config.programs.regreet; | ||
478 | # in pkgs.writeShellScript "greeter" '' | ||
479 | # modprobe -r nvidia_drm | ||
480 | |||
481 | # exec ${pkgs.dbus}/bin/dbus-run-session ${lib.getExe pkgs.cage} ${lib.escapeShellArgs cfg.cageArgs} -- ${lib.getExe cfg.package} | ||
482 | # ''; | ||
483 | }; | ||
484 | }; | 473 | }; |
485 | 474 | ||
486 | programs.regreet = { | ||
487 | enable = true; | ||
488 | theme = { | ||
489 | package = pkgs.equilux-theme; | ||
490 | name = "Equilux-compact"; | ||
491 | }; | ||
492 | iconTheme = { | ||
493 | package = pkgs.paper-icon-theme; | ||
494 | name = "Paper-Mono-Dark"; | ||
495 | }; | ||
496 | font = { | ||
497 | package = pkgs.fira; | ||
498 | name = "Fira Sans"; | ||
499 | # size = 6; | ||
500 | }; | ||
501 | cageArgs = [ "-s" "-m" "last" ]; | ||
502 | settings = { | ||
503 | GTK.application_prefer_dark_theme = true; | ||
504 | }; | ||
505 | }; | ||
506 | programs.niri.enable = true; | 475 | programs.niri.enable = true; |
507 | 476 | ||
508 | systemd.tmpfiles.settings = { | 477 | systemd.tmpfiles.settings = { |
@@ -702,6 +671,7 @@ in { | |||
702 | 671 | ||
703 | services.dbus.packages = with pkgs; | 672 | services.dbus.packages = with pkgs; |
704 | [ dbus dconf | 673 | [ dbus dconf |
674 | xdg-desktop-portal-gtk | ||
705 | ]; | 675 | ]; |
706 | 676 | ||
707 | services.udisks2.enable = true; | 677 | services.udisks2.enable = true; |