test hm config?

This commit is contained in:
Zynh Ludwig 2024-07-08 04:15:01 +00:00
parent 07f0d1a465
commit d023a40fa2
2 changed files with 30 additions and 0 deletions

View file

@ -70,5 +70,12 @@
system = "x86_64-linux"; system = "x86_64-linux";
} }
]; ];
homeConfigurations."zynh" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./hosts/msiserver/home.nix
];
};
}; };
} }

23
hosts/msiserver/home.nix Normal file
View file

@ -0,0 +1,23 @@
{ pkgs, inputs, ... }:
{
imports = [
../../home
];
snowhawk.neovim = {
enable = true;
package = inputs.neovim-overlay.packages.${pkgs.system}.default;
};
home.packages = with pkgs; [
nix-output-monitor
(writeShellScriptBin "rebuild" ''
sudo nixos-rebuild switch --log-format internal-json -v |& nom --json
'')
];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.stateVersion = "23.11";
}