From a2c5a58800b394ab2f2befce6b63cd14492b6021 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Tue, 12 Dec 2023 00:37:21 +0800 Subject: [PATCH] home: configure nautilus --- .../home-manager/applications/nautilus/default.nix | 14 ++++++++++++++ .../profiles/device-type/desktop/home/default.nix | 1 + .../profiles/device-type/desktop/home/packages.nix | 1 - 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 users/guanranwang/home-manager/applications/nautilus/default.nix diff --git a/users/guanranwang/home-manager/applications/nautilus/default.nix b/users/guanranwang/home-manager/applications/nautilus/default.nix new file mode 100644 index 0000000..be2d50a --- /dev/null +++ b/users/guanranwang/home-manager/applications/nautilus/default.nix @@ -0,0 +1,14 @@ +{ + config, + pkgs, + ... +}: { + home.packages = [pkgs.gnome.nautilus]; + xdg.configFile."gtk-3.0/bookmarks".text = '' + file://${config.home.homeDirectory}/Documents/Projects/git-repos/github.com/Guanran928/flake + ''; + dconf.settings = { + "org/gnome/nautilus/list-view".default-zoom-level = "small"; + "org/gnome/nautilus/preferences".default-folder-viewer = "list-view"; + }; +} diff --git a/users/guanranwang/nixos/profiles/device-type/desktop/home/default.nix b/users/guanranwang/nixos/profiles/device-type/desktop/home/default.nix index 94c6546..46d9a57 100644 --- a/users/guanranwang/nixos/profiles/device-type/desktop/home/default.nix +++ b/users/guanranwang/nixos/profiles/device-type/desktop/home/default.nix @@ -41,6 +41,7 @@ "sway" # Misc + "nautilus" "fcitx5" "irssi" "mumble" diff --git a/users/guanranwang/nixos/profiles/device-type/desktop/home/packages.nix b/users/guanranwang/nixos/profiles/device-type/desktop/home/packages.nix index 6566c07..2c22a56 100644 --- a/users/guanranwang/nixos/profiles/device-type/desktop/home/packages.nix +++ b/users/guanranwang/nixos/profiles/device-type/desktop/home/packages.nix @@ -27,7 +27,6 @@ #dippi ]) ++ (with pkgs.gnome; [ - nautilus zenity seahorse file-roller