diff options
Diffstat (limited to 'machines')
-rw-r--r-- | machines/aszlig/slylandro.nix | 52 | ||||
-rw-r--r-- | machines/default.nix | 1 |
2 files changed, 53 insertions, 0 deletions
diff --git a/machines/aszlig/slylandro.nix b/machines/aszlig/slylandro.nix new file mode 100644 index 00000000..dd82799d --- /dev/null +++ b/machines/aszlig/slylandro.nix @@ -0,0 +1,52 @@ +{ pkgs, lib, ... }: + +{ + vuizvui.user.aszlig.profiles.workstation.enable = true; + + vuizvui.system.kernel.bfq.enable = true; + + boot = { + loader.systemd-boot.enable = true; + loader.grub.enable = lib.mkForce false; + loader.efi.canTouchEfiVariables = true; + kernelPackages = pkgs.linuxPackages_latest; + + initrd = { + luks.devices = { + slylandro-swap = { + device = "/dev/disk/by-uuid/6ce7f3a4-64cc-4d5c-a220-662d3d589220"; + }; + slylandro-root = { + device = "/dev/disk/by-uuid/76ddcc8f-060e-44f9-af08-886d7395e466"; + }; + }; + }; + }; + + networking.hostName = "slylandro"; + networking.wireless.enable = lib.mkForce true; + networking.interfaces.enp5s0.useDHCP = true; + networking.interfaces.wlp3s0.useDHCP = true; + + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/DF3B-267A"; + fsType = "vfat"; + }; + + fileSystems."/" = { + device = "/dev/disk/by-uuid/a96de4ae-60a3-463d-bca3-2ef7f207f8f4"; + fsType = "btrfs"; + options = [ "space_cache" "compress=zstd" "noatime" ]; + }; + + swapDevices = lib.singleton { + device = "/dev/disk/by-uuid/9c5a118d-656a-4bf5-833a-225bb2c887c4"; + }; + + services.tlp.enable = true; + + services.xserver.videoDrivers = [ "nouveau" "intel" ]; + services.xserver.libinput.enable = true; + + nix.maxJobs = 4; +} diff --git a/machines/default.nix b/machines/default.nix index 2a7394e9..9b2d3e69 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 {}; |