mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-25 10:13:50 -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;
|
|
}
|
|
];
|
|
};
|
|
}
|