Fix deprecation warnings

This commit is contained in:
2026-06-01 23:35:03 +02:00
parent c0d6d4483d
commit 948ac61d8b
8 changed files with 12 additions and 25 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ in {
sqlite sqlite
# Code formatters for use with doom emacs # Code formatters for use with doom emacs
nixfmt-rfc-style # nix nixfmt # nix
alejandra # nix alejandra # nix
nixd # nix lsp nixd # nix lsp
+1 -1
View File
@@ -31,7 +31,7 @@
in { in {
services.swayidle = { services.swayidle = {
enable = true; enable = true;
systemdTarget = "graphical-session.target"; systemdTargets = ["graphical-session.target"];
timeouts = timeouts =
# Lock screen # Lock screen
[ [
+3 -3
View File
@@ -22,9 +22,9 @@
# Prevent screen from going blank (check these settings with `xset q`) # Prevent screen from going blank (check these settings with `xset q`)
# And disable bell sound (b) # And disable bell sound (b)
xsession.initExtra = '' xsession.initExtra = ''
${pkgs.xorg.xset}/bin/xset s off ${pkgs.xset}/bin/xset s off
${pkgs.xorg.xset}/bin/xset -dpms ${pkgs.xset}/bin/xset -dpms
${pkgs.xorg.xset}/bin/xset b off ${pkgs.xset}/bin/xset b off
''; '';
xsession.windowManager.i3 = { xsession.windowManager.i3 = {
enable = true; enable = true;
+1 -1
View File
@@ -18,7 +18,7 @@
fd fd
stylua stylua
black black
nixfmt-rfc-style # nixfmt nixfmt # nixfmt
]; ];
programs.nixvim = { programs.nixvim = {
+1 -1
View File
@@ -37,7 +37,7 @@
usbutils # lsusb usbutils # lsusb
wget wget
wireguard-tools # wg-quick wireguard-tools # wg-quick
xorg.xkill xkill
zip zip
dig dig
@@ -39,7 +39,7 @@
# kitty # Terminal, already available as feature # kitty # Terminal, already available as feature
libnotify libnotify
libreoffice libreoffice
mate.engrampa engrampa
nomacs # Image viewer nomacs # Image viewer
kdePackages.okular # Pdf reader with many features, good for commenting documents kdePackages.okular # Pdf reader with many features, good for commenting documents
pavucontrol pavucontrol
@@ -53,10 +53,10 @@
tor-browser tor-browser
rusty-path-of-building # Path of Building for poe1 and poe2 rusty-path-of-building # Path of Building for poe1 and poe2
vlc vlc
wineWowPackages.stable # 32-bit and 64-bit wine wineWow64Packages.stable # 32-bit and 64-bit wine
winetricks winetricks
xclip # x11 clipboard access from terminal xclip # x11 clipboard access from terminal
xfce.mousepad # simple text editor mousepad # simple text editor
xournalpp # Edit pdf files xournalpp # Edit pdf files
zoom-us # Video conferencing zoom-us # Video conferencing
zotero # Manage papers and other sources zotero # Manage papers and other sources
+2 -2
View File
@@ -20,8 +20,8 @@
"text/calendar" = thunderbird; "text/calendar" = thunderbird;
"application/x-extension-ics" = thunderbird; "application/x-extension-ics" = thunderbird;
"x-scheme-handler/webcals" = thunderbird; "x-scheme-handler/webcals" = thunderbird;
"application/zip" = mate.engrampa; "application/zip" = engrampa;
"text/plain" = xfce.mousepad; "text/plain" = mousepad;
"image/jpeg" = nomacs; "image/jpeg" = nomacs;
"application/pdf" = evince; "application/pdf" = evince;
"text/html" = firefox; "text/html" = firefox;
-13
View File
@@ -1,18 +1,5 @@
# Only apply this to home-manager standalone # Only apply this to home-manager standalone
{outputs, ...}: { {outputs, ...}: {
# Apply overlays
nixpkgs = {
overlays = builtins.attrValues outputs.overlays;
config = {
allowUnfree = true;
allowUnfreePredicate = _: true; # TODO: what is this
permittedInsecurePackages = [
"olm-3.2.16"
];
warn-dirty = false;
};
};
# Expire old hm generations # Expire old hm generations
hm-expire = { hm-expire = {
enable = true; enable = true;