diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/timmy/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/users/timmy/default.nix b/users/timmy/default.nix index 313449d..659efde 100644 --- a/users/timmy/default.nix +++ b/users/timmy/default.nix @@ -9,6 +9,11 @@ download = "${home}/dls"; documents = "${home}/docs"; pictures = "${home}/pics"; + # Set these as null so they're not created + music = null; + publicShare = null; + templates = null; + videos = null; }; sshKeyPaths = [ "${home}/.ssh/id_ed25519" ]; sshPublicKeyPaths = lib.map (keyPath: keyPath + ".pub") sshKeyPaths; @@ -91,8 +96,8 @@ in { # Setup gtk bookmarks gtk.gtk3.bookmarks = ( - lib.mapAttrsToList (name: path: - "file://${path} ${lib.toUpper (lib.substring 0 1 name)}${lib.substring 1 (-1) name}" # Make first letter upper case + lib.mapAttrsToList (name: dir: + lib.mkIf (dir != null) "file://${dir} ${lib.toUpper (lib.substring 0 1 name)}${lib.substring 1 (-1) name}" # Make first letter upper case ) userDirs ); }; |