add hosts/hp

This commit is contained in:
Sean Buckley 2021-04-06 17:30:28 -04:00
parent 473801bbdb
commit 90e98fd294
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ ... }:
{
services = {
tlp.enable = true;
openssh.enable = true;
};
sconfig = {
gnome = true;
profile = "desktop";
security-tools = true;
};
networking = {
hostName = "hp";
search = [ "bck.me" ];
};
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = false;
};
fileSystems = {
"/" = { device = "zroot/locker/os"; fsType = "zfs"; };
"/home" = { device = "zroot/locker/home"; fsType = "zfs"; };
"/boot" = { device = "/dev/disk/by-partlabel/EFI\\x20system\\x20partition"; fsType = "vfat"; };
};
system.stateVersion = "20.09";
}

View file

@ -30,5 +30,6 @@ let
in in
{ {
vm = mkQemuSystem { name = "vm"; pkgs = nixpkgs; }; vm = mkQemuSystem { name = "vm"; pkgs = nixpkgs; };
hp = mkStandardSystem { name = "hp"; pkgs = nixpkgs; };
manta = mkStandardSystem { name = "manta"; pkgs = nixpkgs; }; manta = mkStandardSystem { name = "manta"; pkgs = nixpkgs; };
} }