Compare commits

...

2 Commits

Author SHA1 Message Date
260bbc1ffd Use doas instead of sudo 2023-04-10 22:03:57 -06:00
c8132a67d0 Use lf as terminal file explorer 2023-04-10 22:03:29 -06:00
2 changed files with 11 additions and 0 deletions

View File

@ -55,6 +55,7 @@ in
helix
lm_sensors
picocom
lf
];
nixpkgs.config.allowUnfree = true;
@ -78,6 +79,14 @@ in
trusted-users = [ "root" "googlebot" ];
};
# don't use sudo
security.doas.enable = true;
security.sudo.enable = false;
security.doas.extraRules = [
# don't ask for password every time
{ groups = [ "wheel" ]; persist = true; }
];
nix.gc.automatic = true;
security.acme.acceptTerms = true;

View File

@ -21,6 +21,8 @@
shellInit = ''
# disable annoying fish shell greeting
set fish_greeting
alias sudo="doas"
'';
};