Update home and configuration files for improved package management and user experience

This commit is contained in:
2026-01-27 17:21:44 +00:00
parent 2b7d9a5b20
commit de494a2a87
2 changed files with 24 additions and 7 deletions

View File

@@ -5,7 +5,6 @@
home.username = "trude";
home.homeDirectory = "/home/trude";
home.stateVersion = "25.11"; # Do not change after initial installation.
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [
nerd-fonts.jetbrains-mono
@@ -28,12 +27,20 @@
gnomeExtensions.caffeine
gnomeExtensions.vitals
gnomeExtensions.appindicator
gnomeExtensions.blur-my-shell
# gnomeExtensions.blur-my-shell
# Gnome Apps
file-roller
commit
binary
resources
raider
gnome-podcasts
gnome-obfuscate
collision
switcheroo
wordbook
textpieces
# Scripts
(pkgs.writeShellScriptBin "colors" ''
@@ -75,8 +82,6 @@
cat ~/.nixos-rebuild.log | grep --color error
exit 1
fi
echo -e "''${ORANGE}Activating home-manager...''${RESET}"
echo -e "''${GRAY}$(~/.local/state/home-manager/gcroots/current-home/activate)''${RESET}"
echo -e "''${ORANGE}Cleaning up old generations...''${RESET}"
echo -e "''${GRAY}$(sudo nix-collect-garbage --delete-older-than 15d 2>&1)''${RESET}"
popd > /dev/null
@@ -350,6 +355,18 @@
};
};
xdg = {
enable = true;
mimeApps = {
associations.added = {
"text/x-shellscript" = ["org.gnome.TextEditor.desktop"];
};
defaultApplications = {
"text/x-shellscript" = ["org.gnome.TextEditor.desktop"];
};
};
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}