added sudo and john nixos modules to p14s

This commit is contained in:
John Lancaster
2026-03-26 17:55:09 -05:00
parent 76be519c0f
commit 4cd6972302
2 changed files with 18 additions and 5 deletions
+8 -5
View File
@@ -10,10 +10,13 @@
modules = [
"${inputs.nixos-hardware}/lenovo/thinkpad/p14s"
"${inputs.nixos-hardware}/lenovo/thinkpad/p14s/amd/gen4"
self.modules.nixos.p14sConfiguration
self.modules.nixos.gnome
# self.modules.nixos.greetd
# self.modules.nixos.niri
];
] ++ (with self.modules.nixos; [
p14sConfiguration
sudo
gnome
john
# greetd
# niri
]);
};
}
+10
View File
@@ -0,0 +1,10 @@
{ self, inputs, ... }: {
flake.modules.nixos.sudo = {
security.sudo-rs = {
enable = true;
execWheelOnly = false;
wheelNeedsPassword = false;
extraConfig = "Defaults timestamp_timeout=1440";
};
};
}