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>
This commit is contained in:
@ -1,4 +1,9 @@
|
||||
{ lib, sops-nix, ... }:
|
||||
{
|
||||
lib,
|
||||
inputs,
|
||||
server,
|
||||
...
|
||||
}:
|
||||
{
|
||||
boot.default = lib.mkDefault true;
|
||||
|
||||
@ -18,6 +23,11 @@
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
sharedModules = [ sops-nix.homeManagerModules.sops ];
|
||||
sharedModules = [ inputs.sops-nix.homeManagerModules.sops ];
|
||||
extraSpecialArgs = {
|
||||
machineConfig = {
|
||||
inherit server;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user