virtmsi: add host

This commit is contained in:
Zynh Ludwig 2024-11-25 18:28:43 -08:00
parent 4331755ff0
commit 68ae98e457
2 changed files with 41 additions and 0 deletions

View file

@ -37,6 +37,7 @@
homeConfigurations = builders.compileHomes [ homeConfigurations = builders.compileHomes [
{ user = "zynh"; hostname = "msiserver"; } { user = "zynh"; hostname = "msiserver"; }
{ user = "val"; hostname = "caveserver"; } { user = "val"; hostname = "caveserver"; }
{ user = "ravenshade"; hostname = "virtmsi"; }
]; ];
overlays.default = import ./pkgs; overlays.default = import ./pkgs;

40
hosts/virtmsi/home.nix Normal file
View file

@ -0,0 +1,40 @@
{ pkgs, ... }:
{
imports = [
../../home/modules
];
nix = {
package = pkgs.nix;
settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
};
};
snowhawk.neovim = {
enable = true;
};
snowhawk.ssh.enable = true;
snowhawk.sops.enable = false;
snowhawk.repo-clone.enable = true;
snowhawk.user.username = "ravenshade";
home.packages = with pkgs; [
nix-output-monitor
(writeShellScriptBin "rebuild" ''
home-manager switch --flake /home/ravenshade/.config/home-manager#ravenshade@virtmsi |& nom
'')
pkgs.nix
go
wakeonlan
];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.stateVersion = "23.11";
}