From 6b4c8d8a0cae7133b9f514900d8307987a624452 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Tue, 6 Apr 2021 20:26:08 -0400 Subject: [PATCH] add hosts/neo --- hosts/configuration_neo.nix | 35 +++++++++++++++++++++++++++++++++++ hosts/default.nix | 1 + 2 files changed, 36 insertions(+) create mode 100644 hosts/configuration_neo.nix diff --git a/hosts/configuration_neo.nix b/hosts/configuration_neo.nix new file mode 100644 index 0000000..004f882 --- /dev/null +++ b/hosts/configuration_neo.nix @@ -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"; +} diff --git a/hosts/default.nix b/hosts/default.nix index 5a35e2b..25485b6 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -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; }; }