diff --git a/hosts/configuration_manta.nix b/hosts/configuration_manta.nix new file mode 100644 index 0000000..d506eb6 --- /dev/null +++ b/hosts/configuration_manta.nix @@ -0,0 +1,30 @@ +{ pkgs, ... }: +{ + environment.systemPackages = [ pkgs.vmware-horizon-client ]; + + services.tlp.enable = true; + services.openssh.enable = true; + + networking.hostName = "manta"; + networking.search = [ "bck.me" ]; + + sconfig = { + profile = "desktop"; + gnome = true; + security-tools = true; + }; + + boot = { + loader.systemd-boot.enable = true; + loader.efi.canTouchEfiVariables = true; + initrd.luks.devices.cryptroot = { device = "/dev/disk/by-partlabel/_root"; allowDiscards = true; }; + }; + + fileSystems = { + "/" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=/os" "compress=zstd" "discard" ]; }; + "/home" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=/home" "compress=zstd" "discard" ]; }; + "/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; }; + }; + + system.stateVersion = "20.09"; +} diff --git a/hosts/default.nix b/hosts/default.nix index 99cb60f..ada0b5f 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -30,4 +30,5 @@ let in { vm = mkQemuSystem { name = "vm"; pkgs = nixpkgs; }; + manta = mkStandardSystem { name = "manta"; pkgs = nixpkgs; }; }