diff options
Diffstat (limited to 'machines')
-rw-r--r-- | machines/aszlig/slylandro.nix | 56 | ||||
-rw-r--r-- | machines/default.nix | 1 |
2 files changed, 57 insertions, 0 deletions
diff --git a/machines/aszlig/slylandro.nix b/machines/aszlig/slylandro.nix new file mode 100644 index 00000000..cb52496f --- /dev/null +++ b/machines/aszlig/slylandro.nix @@ -0,0 +1,56 @@ +{ pkgs, lib, ... }: + +{ + vuizvui.user.aszlig.profiles.workstation.enable = true; + + boot = { + loader.systemd-boot.enable = true; + loader.grub.enable = false; + loader.efi.canTouchEfiVariables = true; + kernelPackages = pkgs.linuxPackages_latest; + + initrd = { + availableKernelModules = [ "xhci_pci" "ahci" "nvme" ]; + luks.devices = { + slylandro-swap = { + device = "/dev/disk/by-uuid/30904e53-cc8f-4039-9244-fc648dc6f801"; + }; + slylandro-root = { + device = "/dev/disk/by-uuid/4b63a017-796b-4608-a6eb-85a47f894d30"; + }; + }; + }; + }; + + hardware.cpu.amd.updateMicrocode = true; + hardware.video.hidpi.enable = true; + + networking.hostName = "slylandro"; + networking.wireless.enable = lib.mkForce true; + networking.interfaces.enp1s0.useDHCP = true; + networking.interfaces.wlp3s0.useDHCP = true; + + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/DF50-CD44"; + fsType = "vfat"; + }; + + fileSystems."/" = { + device = "/dev/disk/by-uuid/87a842a8-e2c5-45b6-8e67-58fec33b5eee"; + fsType = "btrfs"; + options = [ + "autodefrag" "space_cache=v2" "compress=zstd" "noatime" "discard=async" + ]; + }; + + swapDevices = lib.singleton { + device = "/dev/disk/by-uuid/feace1d7-e48d-4b7e-a601-1515f9b90c20"; + }; + + services.tlp.enable = true; + + services.xserver.videoDrivers = [ "amdgpu" ]; + services.xserver.libinput.enable = true; + + nix.maxJobs = 16; +} diff --git a/machines/default.nix b/machines/default.nix index d726f01f..e5978a80 100644 --- a/machines/default.nix +++ b/machines/default.nix @@ -4,6 +4,7 @@ with import ../lib; aszlig = { dnyarri = callMachine ./aszlig/dnyarri.nix {}; meshuggah = callMachine ./aszlig/meshuggah.nix {}; + slylandro = callMachine ./aszlig/slylandro.nix {}; tishtushi = callMachine ./aszlig/tishtushi.nix {}; managed = { brawndo = callMachine ./aszlig/managed/brawndo.nix {}; |