diff --git a/hosts/configuration_hp.nix b/hosts/configuration_hp.nix new file mode 100644 index 0000000..afad871 --- /dev/null +++ b/hosts/configuration_hp.nix @@ -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"; +} diff --git a/hosts/default.nix b/hosts/default.nix index ada0b5f..5a35e2b 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -30,5 +30,6 @@ let in { vm = mkQemuSystem { name = "vm"; pkgs = nixpkgs; }; + hp = mkStandardSystem { name = "hp"; pkgs = nixpkgs; }; manta = mkStandardSystem { name = "manta"; pkgs = nixpkgs; }; }