ghost: split config
This commit is contained in:
parent
b8081cf4c6
commit
884d02f003
10 changed files with 183 additions and 155 deletions
13
hosts/ghost/hardware-config.nix
Normal file
13
hosts/ghost/hardware-config.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, pkgs, inputs, ... }: {
|
||||
swapDevices = [{
|
||||
device = "/swap/swapfile";
|
||||
size = (1024 * 2); # 2 GB
|
||||
}];
|
||||
|
||||
fileSystems."/var" = {
|
||||
device = "/dev/disk/by-uuid/b19e7272-8fd1-4999-93eb-abc6d5c0a1cc";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@var" ];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue