aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/nixos/system/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'snowfall/modules/nixos/system/default.nix')
-rw-r--r--snowfall/modules/nixos/system/default.nix20
1 files changed, 0 insertions, 20 deletions
diff --git a/snowfall/modules/nixos/system/default.nix b/snowfall/modules/nixos/system/default.nix
index 7d23117..83263ba 100644
--- a/snowfall/modules/nixos/system/default.nix
+++ b/snowfall/modules/nixos/system/default.nix
@@ -12,8 +12,6 @@ in {
default = null;
type = nullOr str;
};
-
- impermanent = mkEnableOption "root impermanence";
};
config = {
@@ -21,23 +19,5 @@ in {
networking.hostName = cfg.hostname;
networking.hostId = cfg.id;
-
- environment = mkIf cfg.impermanent {
- persistence."/persist/system" = {
- hideMounts = true;
-
- directories = [
- "/etc/nixos"
- "/var/log"
- "/var/lib/nixos"
- "/var/lib/systemd/coredump"
- # "/var/lib/bluetooth"
- ];
-
- files = [
- "/etc/machine-id"
- ];
- };
- };
};
}