feat: improve flake structure
This commit is contained in:
parent
969be6b552
commit
b30e96b595
6 changed files with 91 additions and 74 deletions
14
rpi4.nix
14
rpi4.nix
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue