nix: Load common security settings
This commit is contained in:
parent
ad925391c9
commit
28955680c2
2 changed files with 2 additions and 1 deletions
|
|
@ -15,6 +15,7 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
inputs.snm.nixosModule
|
inputs.snm.nixosModule
|
||||||
|
./modules/security.nix
|
||||||
./hosts/thrall
|
./hosts/thrall
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
# tmpfs = /tmp is mounted in ram. Doing so makes temp file management speedy
|
# tmpfs = /tmp is mounted in ram. Doing so makes temp file management speedy
|
||||||
# on ssd systems, and volatile! Because it's wiped on reboot.
|
# on ssd systems, and volatile! Because it's wiped on reboot.
|
||||||
boot.tmpOnTmpfs = lib.mkDefault true;
|
# boot.tmpOnTmpfs = lib.mkDefault true;
|
||||||
# If not using tmpfs, which is naturally purged on reboot, we must clean it
|
# If not using tmpfs, which is naturally purged on reboot, we must clean it
|
||||||
# /tmp ourselves. /tmp should be volatile storage!
|
# /tmp ourselves. /tmp should be volatile storage!
|
||||||
boot.cleanTmpDir = lib.mkDefault (!config.boot.tmpOnTmpfs);
|
boot.cleanTmpDir = lib.mkDefault (!config.boot.tmpOnTmpfs);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue