refactoring for iServer and isWorkstation: part 2

This commit is contained in:
William 2025-03-13 13:33:41 -03:00
parent af1d9ac368
commit 021ab24e79
15 changed files with 116 additions and 131 deletions

View file

@ -33,10 +33,17 @@
hashedPassword = "!";
};
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "bkp";
};
}
# Server specific configuration
(lib.mkIf hostType.isServer {
home-manager.users.user = import ../../users/servers/user.nix;
})
# Workstation specific configuration
@ -66,6 +73,8 @@
hashedPassword = "$y$j9T$yHLUDvj6bDIP19dchU.aA/$OY4qeFNtx/GvI.VUYx4LapHiiVwi0MEvs8AT0HN7j58";
};
};
home-manager.users.user = import ../../users/desktops/user.nix;
})
];
}