diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 103084b5..a5bc592d 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -64,12 +64,12 @@ isNormalUser = true; description = "TrudeEH"; extraGroups = [ "networkmanager" "wheel" ]; - packages = with pkgs; [ - - ]; + packages = with pkgs; [ ]; }; home-manager = { + useUserPackages = true; + useGlobalPkgs = true; backupFileExtension = "~"; extraSpecialArgs = { inherit inputs; }; users = { diff --git a/nixos/home.nix b/nixos/home.nix index 54a3b672..db10eb13 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -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; }