refactor!: multi-host setup
This commit is contained in:
11
nix/modules/hm.nix
Normal file
11
nix/modules/hm.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ lib, config, pkgs, ... }: {
|
||||
options = { hm.enable = lib.mkEnableOption "enable home-manager"; };
|
||||
|
||||
config = lib.mkIf config.hm.enable {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.luca = import ../users/luca/home.nix;
|
||||
users.users.luca.shell = pkgs.zsh;
|
||||
programs.zsh.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user