fix warnings & deprecations

This commit is contained in:
chaos 2024-07-18 18:30:10 +01:00
parent 9cdf5a2506
commit 9d05a93541
No known key found for this signature in database
8 changed files with 27 additions and 27 deletions

View file

@ -1 +1 @@
{pkgs, ...}: {home.packages = with pkgs; [gnome.nautilus];} {pkgs, ...}: {home.packages = with pkgs; [nautilus];}

View file

@ -1,7 +1,7 @@
{pkgs, ...}: { {pkgs, ...}: {
qt = { qt = {
enable = true; enable = true;
platformTheme = "gtk"; platformTheme.name = "gtk";
style = { style = {
name = "adwaita-dark"; name = "adwaita-dark";
package = pkgs.adwaita-qt; package = pkgs.adwaita-qt;

View file

@ -29,7 +29,7 @@ in {
home.packages = with pkgs; [ home.packages = with pkgs; [
dconf2nix dconf2nix
gnome.dconf-editor dconf-editor
xclip xclip
]; ];

View file

@ -26,7 +26,7 @@ in {
}; };
home.pointerCursor = { home.pointerCursor = {
package = pkgs.gnome.adwaita-icon-theme; package = gnome.adwaita-icon-theme;
name = "Adwaita"; name = "Adwaita";
size = 24; size = 24;

View file

@ -22,8 +22,8 @@ in {
auth required ${pkgs.fprintd}/lib/security/pam_fprintd.so auth required ${pkgs.fprintd}/lib/security/pam_fprintd.so
auth optional pam_permit.so auth optional pam_permit.so
auth required pam_env.so auth required pam_env.so
auth [success=ok default=1] ${pkgs.gnome.gdm}/lib/security/pam_gdm.so auth [success=ok default=1] ${pkgs.gdm}/lib/security/pam_gdm.so
auth optional ${pkgs.gnome.gnome-keyring}/lib/security/pam_gnome_keyring.so auth optional ${pkgs.gnome-keyring}/lib/security/pam_gnome_keyring.so
account include login account include login

View file

@ -4,5 +4,5 @@
remotePlay.openFirewall = true; remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true; dedicatedServer.openFirewall = true;
}; };
hardware.opengl.driSupport32Bit = true; hardware.graphics.enable32Bit = true;
} }

View file

@ -37,25 +37,25 @@ in {
}); });
''; '';
environment.gnome.excludePackages = [ environment.gnome.excludePackages = with pkgs; [
pkgs.gnome.cheese cheese
pkgs.gnome.gnome-music gnome.gnome-music
pkgs.gnome.gnome-terminal gnome-terminal
pkgs.gedit gedit
pkgs.epiphany epiphany
pkgs.evince evince
pkgs.gnome.gnome-characters gnome.gnome-characters
pkgs.gnome.totem totem
pkgs.gnome.tali gnome.tali
pkgs.gnome.iagno gnome.iagno
pkgs.gnome.hitori gnome.hitori
pkgs.gnome.atomix gnome.atomix
pkgs.gnome-tour gnome-tour
pkgs.gnome.geary gnome.geary
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnome.gnome-tweaks gnome-tweaks
gnomeExtensions.appindicator gnomeExtensions.appindicator
gnomeExtensions.just-perfection gnomeExtensions.just-perfection

View file

@ -10,10 +10,10 @@
''; '';
encUSBUnmount = pkgs.writeShellScriptBin "enc_usb_unmount" '' encUSBUnmount = pkgs.writeShellScriptBin "enc_usb_unmount" ''
export MAPPER_NAME=''${MAPPER_NAME:-${encryptedUSB.mapperName}} export MAPPER_NAME=''${MAPPER_NAME:-${encryptedUSB.mapperName}}
set -x set -x
umount -flR ${encryptedUSB.mountpoint} || true umount -flR ${encryptedUSB.mountpoint} || true
cryptsetup close $MAPPER_NAME || true cryptsetup close $MAPPER_NAME || true
''; '';
in { in {
environment.systemPackages = [encUSBMount encUSBUnmount]; environment.systemPackages = [encUSBMount encUSBUnmount];