Adjustments for 24.11 -> 25.05

package replacements, warnings, deprecations
This commit is contained in:
Trolli Schmittlauch 2025-05-20 18:55:08 +02:00
parent d95c277383
commit 82b0a6cab1
8 changed files with 124 additions and 125 deletions

View file

@ -181,7 +181,7 @@ in
# Flatpak support # Flatpak support
services.flatpak.enable = true; services.flatpak.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ]; xdg.portal.extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
# Define a user account. Don't forget to set a password with `passwd`. # Define a user account. Don't forget to set a password with `passwd`.
users.users.spiollinux = { users.users.spiollinux = {

View file

@ -40,7 +40,7 @@
exfat exfat
iotop iotop
cifs-utils cifs-utils
dstat dool
lsof lsof
macchanger macchanger
borgbackup borgbackup

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
# Enable sound. # Enable sound.
hardware.pulseaudio = { services.pulseaudio = {
enable = true; enable = true;
package = pkgs.pulseaudioFull; package = pkgs.pulseaudioFull;
# decouple pulseaudio application and sink volumes # decouple pulseaudio application and sink volumes

View file

@ -51,9 +51,7 @@
merge.tool = "vimdiff"; merge.tool = "vimdiff";
# provide `git mergetool -t nixfmt` # provide `git mergetool -t nixfmt`
mergetool.nixfmt = { mergetool.nixfmt = {
cmd = "${ cmd = "${lib.getExe pkgs.nixfmt-rfc-style} --mergetool \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"";
lib.getExe inputs.nixos-unstable.legacyPackages.${system}.nixfmt-rfc-style
} --mergetool \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"";
trustExitCode = true; trustExitCode = true;
}; };
core.excludesfile = toString ( core.excludesfile = toString (
@ -105,7 +103,7 @@
enable = true; enable = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
history.ignoreSpace = true; history.ignoreSpace = true;
initExtra = '' initContent = ''
# Uncomment following line if you want red dots to be displayed while waiting for completion # Uncomment following line if you want red dots to be displayed while waiting for completion
COMPLETION_WAITING_DOTS="true" COMPLETION_WAITING_DOTS="true"
### Fix slowness of pastes with zsh-syntax-highlighting.zsh ### Fix slowness of pastes with zsh-syntax-highlighting.zsh

View file

@ -72,7 +72,7 @@
services.gpg-agent = { services.gpg-agent = {
enable = true; enable = true;
#enableSshSupport = true; #enableSshSupport = true;
pinentryPackage = pkgs.pinentry-qt; pinentry.package = pkgs.pinentry-qt;
}; };
programs.ssh = { programs.ssh = {

View file

@ -17,16 +17,16 @@ let
inkscape inkscape
darktable darktable
exiftool exiftool
gimp gimp3
] ]
++ (with gimpPlugins; [ ++ (with gimp3Plugins; [
fourier #fourier # broken
lqrPlugin #lqrPlugin # broken
]) ])
++ lib.optionals pkgs.stdenv.isLinux [ ++ lib.optionals pkgs.stdenv.isLinux [
hugin hugin
luminanceHDR #luminanceHDR # FIXME, build failure
xournal xournalpp
]; ];
multimediaApps = multimediaApps =
@ -38,7 +38,7 @@ let
vlc vlc
amarok amarok
clementine clementine
elisa kdePackages.elisa
musescore musescore
tenacity tenacity
soundkonverter soundkonverter
@ -122,7 +122,7 @@ let
]; ];
pythonTools = with python3Packages; [ pythonTools = with python3Packages; [
python3 # to shadow old macOS python python # to shadow old macOS python
ipython ipython
uv uv
pip pip
@ -148,7 +148,7 @@ let
desktopLinux = [ desktopLinux = [
firefox firefox
chromium chromium
falkon kdePackages.falkon
thunderbird thunderbird
calibre calibre
dino dino
@ -172,7 +172,6 @@ let
pulseaudioSupport = pkgs.stdenv.isLinux; pulseaudioSupport = pkgs.stdenv.isLinux;
}) })
pdfpc pdfpc
quaternion
nheko nheko
gpxsee gpxsee
subsurface subsurface
@ -183,7 +182,7 @@ let
#(pkgs.pidgin-with-plugins.override { #(pkgs.pidgin-with-plugins.override {
# plugins = [ pkgs.pidginotr ];}) # plugins = [ pkgs.pidginotr ];})
unstable.logseq logseq
# for Hibiscus banking software # for Hibiscus banking software
jameica jameica

View file

@ -11,6 +11,7 @@
enable = true; enable = true;
package = pkgs.vscodium; package = pkgs.vscodium;
mutableExtensionsDir = true; mutableExtensionsDir = true;
profiles.default = {
extensions = extensions =
with pkgs.vscode-extensions; with pkgs.vscode-extensions;
[ [
@ -119,4 +120,5 @@
"direnv.path.executable" = lib.getExe pkgs.direnv; "direnv.path.executable" = lib.getExe pkgs.direnv;
}; };
}; };
};
} }

View file

@ -89,7 +89,7 @@ in
}; };
# some extra shell scripts # some extra shell scripts
programs.zsh.initExtra = lib.mkAfter ( programs.zsh.initContent = lib.mkAfter (
import ./scripts/reporsync.nix { inherit pkgs lib; } import ./scripts/reporsync.nix { inherit pkgs lib; }
+ import ./scripts/ssh-loop-fc.nix { inherit pkgs lib; } + import ./scripts/ssh-loop-fc.nix { inherit pkgs lib; }
); );