1
Fork 0

kde: Add sddm background and persist more stuff

This commit is contained in:
caem 2024-08-28 22:41:29 +02:00
parent 794c955c2c
commit a75e4dc41d
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 22 additions and 2 deletions

2
.gitattributes vendored
View file

@ -1 +1 @@
users/hu/packages/ags/config/vendor/** linguist-vendored
assets/** linguist-vendored

View file

@ -1,19 +1,35 @@
{ pkgs, ... }:
{
let
sddm-background-drv = pkgs.stdenvNoCC.mkDerivation {
name = "sddm-background-drv";
src = ../../../assets/wallpapers;
dontUnpack = true;
installPhase = ''
cp $src/kde.png $out
'';
};
in {
imports = [
../../system/fonts.nix
];
environment.persistence."/nix/persist".directories = [
"/var/lib/AccountsService/"
];
environment.persistence."/nix/persist".users.hu.directories = [
# https://github.com/nix-community/plasma-manager/issues/172
".local/share/konsole"
".local/share/kwalletd"
".local/share/baloo"
".local/share/dolphin"
];
environment.persistence."/nix/persist".users.hu.files = [
".config/konsolerc"
".config/kwinoutputconfig.json"
".local/state/konsolestaterc"
];
environment.sessionVariables = {
@ -41,6 +57,10 @@
environment.systemPackages = with pkgs; [
nvidia-vaapi-driver
kdePackages.sddm-kcm
(pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" ''
[General]
background=${sddm-background-drv}
'')
];
home-manager.users.hu = {