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