Compartmentalizing stuffs
This commit is contained in:
@@ -10,8 +10,9 @@
|
|||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./hosts/laptop-nixos-1/hostname.nix
|
./hosts/laptop-nixos-1/configuration.nix
|
||||||
./hosts/laptop-nixos-1/hardware-configuration.nix
|
./hosts/laptop-nixos-1/hardware-configuration.nix
|
||||||
|
./swap/16G.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
networking.hostName = "laptop-nixos-1";
|
networking.hostName = "laptop-nixos-1";
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
swapDevices = [
|
||||||
|
{
|
||||||
|
device = "/swap-16";
|
||||||
|
size = 16 * 1024;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user