mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
feat: modular zram
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./keyboard.nix
|
||||
./security.nix
|
||||
./services.nix
|
||||
|
||||
4
modules/nix-config/hardware.nix
Normal file
4
modules/nix-config/hardware.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{ enableZram, ... }:
|
||||
{
|
||||
zramSwap.enable = enableZram;
|
||||
}
|
||||
Reference in New Issue
Block a user