-{ inputs, pkgs, lib, config, ... }:
+{ inputs, pkgs, lib, ... }:
{
-users.users.julm = {
- openssh.authorizedKeys.keys = map lib.readFile [
- julm/ssh/gnupg.pub
- julm/ssh/oignon.pub
- ];
- useDefaultShell = true;
- isNormalUser = true;
- uid = 1000;
-};
-home-manager.users.julm = {
- imports = [
- (inputs.julm-nix + "/homes/julm.nix")
- ];
-};
-systemd.services.home-manager-julm.postStart = ''
- ${pkgs.nix}/bin/nix-env --delete-generations +1 --profile /nix/var/nix/profiles/per-user/julm/home-manager
-'';
+ users.users.julm = {
+ openssh.authorizedKeys.keys = map lib.readFile [
+ julm/ssh/gnupg.pub
+ julm/ssh/oignon.pub
+ ];
+ useDefaultShell = true;
+ isNormalUser = true;
+ uid = 1000;
+ };
+ home-manager.users.julm.imports = [ (inputs.julm-nix + "/homes/julm.nix") ];
}