diff --git a/home/secondary.nix b/home/secondary.nix index 1358283..62fff81 100644 --- a/home/secondary.nix +++ b/home/secondary.nix @@ -47,7 +47,7 @@ in download = "${config.home.homeDirectory}/Downloads"; music = "${config.home.homeDirectory}/Music"; pictures = "${config.home.homeDirectory}/Pictures"; - # publicShare = "${config.home.homeDirectory}/Misc/Public"; + publicShare = "${config.home.homeDirectory}/Misc/Public"; templates = null; videos = "${config.home.homeDirectory}/Pictures/Videos"; }; diff --git a/modules/others/default.nix b/modules/others/default.nix index 6cec537..fc4da0a 100644 --- a/modules/others/default.nix +++ b/modules/others/default.nix @@ -4,19 +4,20 @@ pkgs, ... }: +let + ${user} = "snity" +in { - xlib.device.username = "snity"; - users = { users = { - "${xlib.device.username}" = { - name = "${xlib.device.username}"; + "${user}" = { + name = "${user}"; isNormalUser = true; group = "users"; description = "Snity"; hashedPasswordFile = "$y$j9T$851xwObfIp7SYzIyFtH.k1$mNofT2sxEAV50Kxgmwvqc6Kj/3B/fJoPP8qgn./siEB"; # hashed_password homeMode = "700"; - home = "/home/${xlib.device.username}"; + home = "/home/${user}"; extraGroups = [ "audio" "disk" diff --git a/modules/users.nix b/modules/users.nix index 1cf41fa..d1e47f2 100644 --- a/modules/users.nix +++ b/modules/users.nix @@ -6,11 +6,11 @@ ... }: { - imports = [ - ./others - ]; + # imports = [ + # ./others + # ]; - xlib.device.username = lib.mkDefault "oqyude"; + xlib.device.username = "oqyude"; users = { users = {