Add flakes, make main shell fish

This commit is contained in:
Artemis Tosini 2021-11-20 00:34:44 +00:00
parent 51cd0c4b2a
commit a9a23e3c26
Signed by: artemist
GPG key ID: ADFFE553DCBB831E

View file

@ -10,6 +10,10 @@
daemonNiceLevel = 5; daemonNiceLevel = 5;
daemonIONiceLevel = 1; daemonIONiceLevel = 1;
autoOptimiseStore = true; autoOptimiseStore = true;
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
gc = { gc = {
automatic = true; automatic = true;
dates = "00:00"; dates = "00:00";
@ -31,7 +35,6 @@
services.resolved.extraConfig = "MulticastDNS=true"; services.resolved.extraConfig = "MulticastDNS=true";
networking.firewall.enable = false; networking.firewall.enable = false;
programs.fish.enable = true; programs.fish.enable = true;
@ -42,6 +45,7 @@
description = "Artemis Tosini"; description = "Artemis Tosini";
uid = 1000; uid = 1000;
extraGroups = [ "wheel" "artemis" ]; extraGroups = [ "wheel" "artemis" ];
shell = pkgs.fish;
# hashedPassword set in private # hashedPassword set in private
}; };
groups.artemis.gid = config.users.users.artemis.uid; groups.artemis.gid = config.users.users.artemis.uid;