nixos/core: enable zram by default

This commit is contained in:
Guanran Wang 2024-07-10 17:11:38 +08:00
parent 2b7c7dfdef
commit e8164d9c63
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
4 changed files with 1 additions and 4 deletions

View file

@ -2,7 +2,6 @@
imports = [
inputs.nixpkgs.nixosModules.notDetected
inputs.nixos-hardware.nixosModules.lenovo-legion-y530-15ich
inputs.nixos-sensible.nixosModules.zram
];
services.hdapsd.enable = false;

View file

@ -11,7 +11,6 @@
inputs.nixos-hardware.nixosModules.common-hidpi
inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
inputs.nixos-sensible.nixosModules.zram
];
services.thermald.enable = true;

View file

@ -2,13 +2,11 @@
modulesPath,
lib,
config,
inputs,
pkgs,
...
}: {
imports = [
"${modulesPath}/virtualisation/amazon-image.nix"
inputs.nixos-sensible.nixosModules.zram
../../nixos/profiles/server
./anti-feature.nix
];

View file

@ -19,6 +19,7 @@
impermanence.nixosModules.impermanence
lanzaboote.nixosModules.lanzaboote
nixos-sensible.nixosModules.default
nixos-sensible.nixosModules.zram
nur.nixosModules.nur
self.nixosModules.default
sops-nix.nixosModules.sops