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,17 +5,14 @@
|
|||
];
|
||||
hostname = "mellinoe";
|
||||
|
||||
system = {
|
||||
bootloader = "systemd-boot";
|
||||
};
|
||||
|
||||
hardware = {
|
||||
machine = {
|
||||
platform.type = "intel";
|
||||
bootloader.type = "systemd-boot";
|
||||
drives.btrfs = {
|
||||
enable = true;
|
||||
drive = "/dev/disk/by-id/nvme-KBG40ZPZ128G_TOSHIBA_MEMORY_Z0U103PCNCDL";
|
||||
ephemeralRoot = true;
|
||||
};
|
||||
platform = "intel";
|
||||
};
|
||||
|
||||
desktop.mainMonitor = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue