virtmsi: add host
This commit is contained in:
parent
4331755ff0
commit
68ae98e457
2 changed files with 41 additions and 0 deletions
|
@ -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
40
hosts/virtmsi/home.nix
Normal 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";
|
||||||
|
}
|
Loading…
Reference in a new issue