reorganise config for laptop, set up remmina (rdp client)

This commit is contained in:
greyweather committed 2026-07-16 23:59:35 +01:00
1 parent 9a3530aa6a
commit f4815424fa
10 files changed
+322 -49

No files matched your search

+3 -30
View File
@@ -14,8 +14,8 @@ in {
./hardware-configuration.nix
"${modules-dir}/zsh.nix"
"${modules-dir}/display-managers/lightdm.nix"
#"${modules-dir}/desktop-environments/gnome.nix"
"${modules-dir}/window-managers/niri.nix"
./modules/hardware-fixes.nix
];
boot.loader.limine = {
@@ -23,39 +23,12 @@ in {
maxGenerations = 10;
};
services.iio-niri.enable = true;
stylix.enable = true;
stylix.image = ../../assets/wallpapers/kitagawa.jpg;
stylix.polarity = "dark";
systemd.sleep.settings.Sleep = {
AllowSuspend = "no";
AllowHibernation = "yes";
};
services.logind.settings.Login.HandleLidSwitch = "ignore";
systemd.services.disable-lid-wakeup = {
wantedBy = [ "multi-user.target" ];
description = "Prevent the lid switch from waking laptop from hibernation";
serviceConfig = {
Type = "simple";
User = "root";
ExecStart = "${pkgs.busybox}/bin/sh -c \"echo LID > /proc/acpi/wakeup\"";
};
};
systemd.services.disable-tty-switch = {
wantedBy = [ "multi-user.target" ];
description = "Prevent alt+arrow keys from switching tty";
serviceConfig = {
Type = "simple";
User = "root";
ExecStart = "${pkgs.busybox}/bin/sh -c \"${pkgs.kbd}/bin/dumpkeys -k|grep -v Incr_Console|grep -v Decr_Console|${pkgs.kbd}/bin/loadkeys\"";
};
};
services.udisks2.enable = true;
services.fprintd.enable = true;
security.pam.services.login.fprintAuth = true;
security.pam.services.sudo.fprintAuth = true;