ahuston-0 1589f59e3b Introduces non-server home-manager configs
Allows home-manager configs to be done on a server/non-server basis

Provides an example config by moving emacs to its own space (behind a
lib.optionals so only non-server machines accept it)

marks artemision and rhapsody-in-green as explicitly non-server machines

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:17:49 +00:00

34 lines
538 B
Nix

{
lib,
inputs,
server,
...
}:
{
boot.default = lib.mkDefault true;
security.auditd.enable = lib.mkDefault true;
nixpkgs.config.allowUnfree = lib.mkDefault true;
programs = {
zsh.enable = true;
fish.enable = true;
};
users = {
mutableUsers = lib.mkDefault false;
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
sharedModules = [ inputs.sops-nix.homeManagerModules.sops ];
extraSpecialArgs = {
machineConfig = {
inherit server;
};
};
};
}