feat: improve flake structure

This commit is contained in:
Felix Schröter 2021-08-08 17:44:59 +02:00
parent 969be6b552
commit b30e96b595
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
6 changed files with 91 additions and 74 deletions

View file

@ -85,20 +85,6 @@ with builtins; {
authorizedKeys = [ (readFile "./key") ];
};
users.users.felschr = {
isNormalUser = true;
extraGroups = [ "wheel" "audio" "disk" "media" ];
shell = pkgs.zsh;
openssh.authorizedKeys.keyFiles = [ ./key ];
};
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
backupFileExtension = "backup";
users.felschr = import ./home/felschr-rpi4.nix;
};
# only change this when specified in release notes
system.stateVersion = "21.05";
}