Added NixOS configs
This commit is contained in:
50
hardware.nix
Normal file
50
hardware.nix
Normal file
@@ -0,0 +1,50 @@
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
./Hardware/boot.nix
|
||||
./Hardware/power.nix
|
||||
./Hardware/xorg.nix
|
||||
./Hardware/graphicshit.nix
|
||||
];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/4c02ddf5-d00e-4d84-856f-c327ae44d047";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot/efi" =
|
||||
{ device = "/dev/disk/by-uuid/58B1-4631";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/nvme0n1p6";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/Stuff" =
|
||||
{ device = "/dev/sda2";
|
||||
fsType = "ntfs";
|
||||
options = ["uid=otaku619" "gid=users" "umask=0022" "rw"];
|
||||
};
|
||||
fileSystems."/mnt/Games" =
|
||||
{ device = "/dev/sda4";
|
||||
fsType = "ntfs";
|
||||
options = ["uid=otaku619" "gid=users" "umask=0022" "rw"];
|
||||
};
|
||||
fileSystems."/mnt/Extra" =
|
||||
{ device = "/dev/sda3";
|
||||
fsType = "ntfs";
|
||||
options = ["uid=otaku619" "gid=users" "umask=0022" "rw"];
|
||||
};
|
||||
fileSystems."/mnt/LinuxGames" =
|
||||
{ device = "/dev/sda5";
|
||||
fsType = "btrfs";
|
||||
options = ["rw"];
|
||||
};
|
||||
|
||||
swapDevices = [ {device = "/dev/nvme0n1p7";} ];
|
||||
}
|
Reference in New Issue
Block a user