refactor(nixos): move hardware config options to machine nixos module
This commit is contained in:
parent
91c2790b62
commit
8165d96d7c
15 changed files with 70 additions and 84 deletions
|
@ -5,18 +5,15 @@
|
|||
];
|
||||
hostname = "nemesis";
|
||||
|
||||
system = {
|
||||
bootloader = "systemd-boot";
|
||||
};
|
||||
|
||||
hardware = {
|
||||
machine = {
|
||||
platform.type = "amd";
|
||||
gpu.nvidia.enable = true;
|
||||
bootloader.type = "systemd-boot";
|
||||
drives.btrfs = {
|
||||
enable = true;
|
||||
drive = "/dev/disk/by-id/nvme-CT2000P3SSD8_2325E6E77434";
|
||||
ephemeralRoot = true;
|
||||
};
|
||||
platform = "amd";
|
||||
gpu.nvidia.enable = true;
|
||||
};
|
||||
|
||||
desktop = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue