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, ...}: {
qt = {
enable = true;
platformTheme = "gtk";
platformTheme.name = "gtk";
style = {
name = "adwaita-dark";
package = pkgs.adwaita-qt;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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