ugly way to hopefully delete the gtk theme files

This commit is contained in:
Lillian Violet 2025-05-04 15:15:01 +02:00
parent 619f020dc0
commit 9294173af0
4 changed files with 64 additions and 50 deletions

View file

@ -85,14 +85,15 @@
};
hardware.has.amd.gpu = true;
};
boot = {
loader.systemd-boot.enable = false;
};
boot.lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";
binfmt.emulatedSystems = ["aarch64-linux"];
lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";
};
};
users.users.lillian.extraGroups = ["gamemode"];

View file

@ -67,6 +67,19 @@
];
};
};
#TODO: ugly hardcoded delete, if it ever becomes a problem fix this, else just leave it I guess
system.userActivationScripts = {
removeConflictingFiles = {
text = ''
rm -f /home/lillian/.config/gtk-3.0/settings.ini
rm -f /home/lillian/.config/gtk-3.0/gtk.css
rm -f /home/lillian/.config/gtk-4.0/settings.ini
rm -f /home/lillian/.config/gtk-4.0/gtk.css
'';
};
};
catppuccin = {
flavor = "macchiato";
tty.enable = true;