added sudo and john nixos modules to p14s
This commit is contained in:
@@ -10,10 +10,13 @@
|
|||||||
modules = [
|
modules = [
|
||||||
"${inputs.nixos-hardware}/lenovo/thinkpad/p14s"
|
"${inputs.nixos-hardware}/lenovo/thinkpad/p14s"
|
||||||
"${inputs.nixos-hardware}/lenovo/thinkpad/p14s/amd/gen4"
|
"${inputs.nixos-hardware}/lenovo/thinkpad/p14s/amd/gen4"
|
||||||
self.modules.nixos.p14sConfiguration
|
] ++ (with self.modules.nixos; [
|
||||||
self.modules.nixos.gnome
|
p14sConfiguration
|
||||||
# self.modules.nixos.greetd
|
sudo
|
||||||
# self.modules.nixos.niri
|
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