From 007e4b706762ef925b058d15ff3e12bc8ccf4574 Mon Sep 17 00:00:00 2001 From: ene Date: Tue, 21 Feb 2023 17:51:39 +0100 Subject: Fix(system): Remove extra tempfs This was overmounting the /home directory, so generated user homes where deleted --- system/fileSystemLayouts/default.nix | 10 +++++----- system/users/default.nix | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/system/fileSystemLayouts/default.nix b/system/fileSystemLayouts/default.nix index cd6ec14b..d71ba7ae 100644 --- a/system/fileSystemLayouts/default.nix +++ b/system/fileSystemLayouts/default.nix @@ -48,11 +48,11 @@ in { fsType = "vfat"; }; #"${config.users.users.soispha.home}" = { # TODO this causes infinite recursion - "/home" = { - device = "none"; - fsType = "tmpfs"; # Can be stored on normal drive or on tmpfs as well - options = ["defaults" "size=4G" "mode=755"]; - }; + # "/home" = { + # device = "none"; + # fsType = "tmpfs"; # Can be stored on normal drive or on tmpfs as well + # options = ["defaults" "size=4G" "mode=755"]; + # }; }; swapDevices = []; }; diff --git a/system/users/default.nix b/system/users/default.nix index 8efece26..e96e2f37 100644 --- a/system/users/default.nix +++ b/system/users/default.nix @@ -29,12 +29,12 @@ in { uid = 1000; }; }; - system.activationScripts.home_permissions = - pkgs.lib.stringAfter ["users"] - '' - mkdir /home/soispha - chmod 700 /home/soispha - chown -hR soispha:users /home/soispha - ''; +# system.activationScripts.home_permissions = +# pkgs.lib.stringAfter ["users"] +# '' +# mkdir /home/soispha +# chmod 700 /home/soispha +# chown -hR soispha:users /home/soispha +# ''; }; } -- cgit 1.4.1