add hosts/neo

This commit is contained in:
Sean Buckley 2021-04-06 20:26:08 -04:00
parent 90e98fd294
commit 6b4c8d8a0c
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ pkgs, ... }:
{
sconfig = {
gnome = true;
profile = "desktop";
security-tools = true;
};
networking = {
hostName = "neo";
search = [ "bck.me" ];
};
environment.systemPackages = [ pkgs.vmware-horizon-client ];
services = {
pcscd.enable = true;
openssh.enable = true;
zfs.autoSnapshot = { enable = true; monthly = 0; weekly = 0; };
};
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
kernelPackages = pkgs.linuxPackages_5_10;
};
fileSystems = {
"/" = { device = "zroot/locker/os"; fsType = "zfs"; };
"/home" = { device = "zroot/locker/home"; fsType = "zfs"; };
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
};
system.stateVersion = "20.09";
}

View file

@ -32,4 +32,5 @@ in
vm = mkQemuSystem { name = "vm"; pkgs = nixpkgs; };
hp = mkStandardSystem { name = "hp"; pkgs = nixpkgs; };
manta = mkStandardSystem { name = "manta"; pkgs = nixpkgs; };
neo = mkStandardSystem { name = "neo"; pkgs = nixpkgs; };
}