mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-25 02:03:51 -08:00
22 lines
323 B
Nix
22 lines
323 B
Nix
{
|
|
inputs,
|
|
system,
|
|
...
|
|
}: {
|
|
environment.systemPackages = [
|
|
inputs.personal-neovim.packages.${system}.default
|
|
];
|
|
|
|
security.sudo.enable = false;
|
|
|
|
security.doas = {
|
|
enable = true;
|
|
extraRules = [
|
|
{
|
|
users = ["youwen"];
|
|
keepEnv = true;
|
|
persist = true;
|
|
}
|
|
];
|
|
};
|
|
}
|