This commit is contained in:
stitchy 2024-02-29 16:07:01 -08:00
parent f75b3bd85f
commit e7e1fa8e51
Signed by: stitchy
SSH key fingerprint: SHA256:p+xeQgmOvQ2br1d2STl5OnRRMef2LRqCtGA7SO4WYk0
3 changed files with 72 additions and 15 deletions

View file

@ -10,27 +10,74 @@
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = boot.kernelParams = [
{ device = "/dev/disk/by-uuid/8e30bb30-eacf-4d7d-bcec-c2b39982de13"; "loglevel=3"
"iommu=pt"
"intel_iommu=on"
];
fileSystems = {
"/" =
{ device = "/dev/disk/by-uuid/8e30bb30-eacf-4d7d-bcec-c2b39982de13";
fsType = "btrfs";
options = [ "subvol=nix" ];
};
"/home" = {
device = "/dev/disk/by-uuid/8e30bb30-eacf-4d7d-bcec-c2b39982de13";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=nix" ]; options = [ "subvol=homes/stitchymain" ];
}; };
"/nix/store" = {
boot.initrd.luks.devices."luksdev".device = "/dev/disk/by-uuid/775b3331-6045-474a-8b9e-523f31a1a8a2"; device = "/dev/disk/by-uuid/8e30bb30-eacf-4d7d-bcec-c2b39982de13";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/CB12-5062";
fsType = "vfat";
};
fileSystems."/nix/store" =
{ device = "/dev/disk/by-uuid/8e30bb30-eacf-4d7d-bcec-c2b39982de13";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=store" ]; options = [ "subvol=store" ];
}; };
"/persist" = {
device = "/dev/disk/by-uuid/8e30bb30-eacf-4d7d-bcec-c2b39982de13";
fsType = "btrfs";
options = [ "subvol=@persist" ];
};
"/boot" = {
device = "/dev/disk/by-uuid/CB12-5062";
fsType = "vfat";
};
"/home/stitchynyan/Music" = {
device = "/dev/disk/by-uuid/feb8239f-5d09-4184-8e46-52185beaa040";
fsType = "btrfs";
options = [ "subvol=music/stitchtunes" "x-systemd.automount" ];
};
"/home/stitchynyan/Pictures" = {
device = "/dev/disk/by-uuid/feb8239f-5d09-4184-8e46-52185beaa040";
fsType = "btrfs";
options = [ "subvol=pictures/stitchpics" "x-systemd.automount" ];
};
"/home/stitchynyan/Programs/Steam" = {
device = "/dev/disk/by-uuid/feb8239f-5d09-4184-8e46-52185beaa040";
fsType = "btrfs";
options = [ "subvol=games/stitchgames" "x-systemd.automount" ];
};
"/home/stitchynyan/Videos" = {
device = "/dev/disk/by-uuid/feb8239f-5d09-4184-8e46-52185beaa040";
fsType = "btrfs";
options = [ "subvol=videos/stitchshows" "x-systemd.automount" ];
};
"/home/stitchynyan/VirtualMachines" = {
device = "/dev/disk/by-uuid/feb8239f-5d09-4184-8e46-52185beaa040";
fsType = "btrfs";
options = [ "subvol=virtualmachines/stitchvms" "x-systemd.automount" ];
};
};
boot.initrd.luks.devices."luksdev".device = "/dev/disk/by-uuid/775b3331-6045-474a-8b9e-523f31a1a8a2";
environment.etc."crypttab".text = ''
data /dev/disk/by-uuid/15510fe2-5b98-4148-8710-deb8f5bd68e6 /persist/secrets/drive.key
'';
swapDevices = [ ]; swapDevices = [ ];
services.xserver.videoDrivers = ["nvidia"];
hardware = { hardware = {
opengl = { opengl = {
enable = true; enable = true;
@ -44,8 +91,6 @@
}; };
}; };
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";

View file

@ -7,7 +7,16 @@
"osu-lazer" "osu-lazer"
"steam" "steam"
"steam-original" "steam-original"
"steam-run"
"nvidia-x11"
"nvidia-settings"
"cudatoolkit"
]; ];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
hardware.steam-hardware.enable = true;
programs = { programs = {
hyprland.enable = true; hyprland.enable = true;

View file

@ -45,6 +45,9 @@
qt5ct qt5ct
qt6ct qt6ct
mpv mpv
#steamvr?
procps
usbutils
]; ];
#programs.hyprland.enable = true; #programs.hyprland.enable = true;
# hyprland.homeManagerModules.default # hyprland.homeManagerModules.default