hosts: remove cr, move systems up directory
This commit is contained in:
parent
dea2103377
commit
081848ddfc
16 changed files with 3 additions and 2 deletions
1
hosts/hermit/hardware/default.nix
Normal file
1
hosts/hermit/hardware/default.nix
Normal file
|
@ -0,0 +1 @@
|
|||
_: {imports = [./monitors.nix ./fs.nix];}
|
14
hosts/hermit/hardware/fs.nix
Normal file
14
hosts/hermit/hardware/fs.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/b51d0f6c-2980-4117-b9df-5cc2c8ddd2d6";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-f1b24c23-8211-433e-983e-2ebad020826e".device = "/dev/disk/by-uuid/f1b24c23-8211-433e-983e-2ebad020826e";
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/E355-67EA";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0022" "dmask=0022"];
|
||||
};
|
||||
}
|
16
hosts/hermit/hardware/monitors.nix
Normal file
16
hosts/hermit/hardware/monitors.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
_: {
|
||||
modules.system.hardware.monitors = {
|
||||
eDP-1 = {
|
||||
resolution = {
|
||||
x = 1920;
|
||||
y = 1080;
|
||||
};
|
||||
scale = 1;
|
||||
refreshRate = 60;
|
||||
position = {
|
||||
x = 0;
|
||||
y = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue