summaryrefslogtreecommitdiff
path: root/users/timmy
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-06-15 15:14:23 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-06-15 15:14:23 -0500
commit21f682f819934c3fedace641b0cbc8087a32c719 (patch)
tree73bacb00cc2d472646223692f784584c5eed26ae /users/timmy
parent3141590096b1bc5d4c9d3dfea774d8a3089bd7b2 (diff)
downloadnixos-21f682f819934c3fedace641b0cbc8087a32c719.tar.xz
nixos-21f682f819934c3fedace641b0cbc8087a32c719.zip
cleanup gtk bookmarks and nas
Diffstat (limited to 'users/timmy')
-rw-r--r--users/timmy/home.nix10
-rw-r--r--users/timmy/hosts.nix1
-rw-r--r--users/timmy/nas.nix1
3 files changed, 6 insertions, 6 deletions
diff --git a/users/timmy/home.nix b/users/timmy/home.nix
index 8464296..4d61600 100644
--- a/users/timmy/home.nix
+++ b/users/timmy/home.nix
@@ -59,11 +59,11 @@ in {
};
# Setup gtk bookmarks
- gtk.gtk3.bookmarks = (
- 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
- );
+ gtk.gtk3.bookmarks = let
+ mkBookmark = name: dir: ''file://${dir} ${lib.toUpper (lib.substring 0 1 name)}${lib.substring 1 (-1) name}''; # Make first letter upper case
+ attrsToBookmarks = attrs: lib.mapAttrsToList (name: dir: lib.mkIf (dir != null) (mkBookmark name dir)) attrs;
+ bookmarksUserDirs = attrsToBookmarks userDirs;
+ in bookmarksUserDirs;
# Setup neovim
programs._neovim = {
diff --git a/users/timmy/hosts.nix b/users/timmy/hosts.nix
index 970b9d8..4f0c0ac 100644
--- a/users/timmy/hosts.nix
+++ b/users/timmy/hosts.nix
@@ -1,6 +1,5 @@
{
networking.hosts = {
- "192.168.1.1" = [ "poweredge" ]; # TODO remove once poweredge serves this override correctly
"192.168.77.11" = [ "truenas-office" ];
"192.168.77.8" = [ "publicgit" "tjkeller" ];
"192.168.77.3" = [ "devel" ];
diff --git a/users/timmy/nas.nix b/users/timmy/nas.nix
index bacb0f0..d878ac9 100644
--- a/users/timmy/nas.nix
+++ b/users/timmy/nas.nix
@@ -20,6 +20,7 @@ in {
};
config = lib.mkIf cfg.enable {
+ # TODO clean this up
fileSystems = lib.optionalAttrs cfg.home.enable {
"/media/ingens/backups" = mkNetworkFileSystem "poweredge:/media/ingens/backups" cfg.home.automount;
"/media/ingens/tapes" = mkNetworkFileSystem "poweredge:/media/ingens/tapes" cfg.home.automount;