mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-11 01:12:43 +02:00
dendritic: rewrote entire config
This commit is contained in:
1 parent
a93284ff80
commit
c8ee6d85fe
190 files changed
+6764
-8101
No files matched your search
@@ -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