added sudo and john nixos modules to p14s
This commit is contained in:
@@ -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
|
||||
]);
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{ self, inputs, ... }: {
|
||||
flake.modules.nixos.sudo = {
|
||||
security.sudo-rs = {
|
||||
enable = true;
|
||||
execWheelOnly = false;
|
||||
wheelNeedsPassword = false;
|
||||
extraConfig = "Defaults timestamp_timeout=1440";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user