mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
dendritic: rewrote entire config
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{ ... }: {
|
||||
flake.nixosModule.disk = { pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnome-disk-utility
|
||||
udiskie
|
||||
];
|
||||
};
|
||||
flake.nixosModule.disk-laptop = { ... }: {
|
||||
# i found swap necessary when running nixpkgs review
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/swapfile";
|
||||
size = 16384; # 16 GB
|
||||
}
|
||||
];
|
||||
boot.kernel.sysctl."vm.swappiness" = 10;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user