mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-17 08:29:41 +00:00
nixos: move zram to common
This commit is contained in:
parent
9612c15f74
commit
5795e9ff2c
3 changed files with 5 additions and 2 deletions
5
nix/nixosModules/common/zram.nix
Normal file
5
nix/nixosModules/common/zram.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
zramSwap.enable = lib.mkDefault true;
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{ zramSwap.enable = true; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue