Compare commits

..

2 Commits

Author SHA1 Message Date
FliegendeWurst
6ccd0bc0f7 ci: update to NixOS 24.05 2024-06-05 14:08:59 +02:00
FliegendeWurst
07261b8e03 sddm-theme-utah: update to Plasma 6 2024-06-05 14:04:39 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ jobs:
nixPath: nixPath:
# - nixpkgs=channel:nixos-unstable # - nixpkgs=channel:nixos-unstable
# - nixpkgs=channel:nixpkgs-unstable # - nixpkgs=channel:nixpkgs-unstable
- nixpkgs=channel:nixos-23.05 - nixpkgs=channel:nixos-24.05
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, plasma-workspace }: { lib, stdenv, fetchurl, kdePackages }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "sddm-theme-utah"; pname = "sddm-theme-utah";
version = "1.0"; version = "1.0";
@ -7,7 +7,7 @@ stdenv.mkDerivation {
dontUnpack = true; dontUnpack = true;
installPhase = '' installPhase = ''
mkdir -p $out/share/sddm/themes/ mkdir -p $out/share/sddm/themes/
cp -aR ${plasma-workspace}/share/sddm/themes/breeze $out/share/sddm/themes/sddm-theme-custom cp -aR ${kdePackages.plasma-workspace}/share/sddm/themes/breeze $out/share/sddm/themes/sddm-theme-custom
chmod +w $out/share/sddm/themes/sddm-theme-custom $out/share/sddm/themes/sddm-theme-custom/theme.conf chmod +w $out/share/sddm/themes/sddm-theme-custom $out/share/sddm/themes/sddm-theme-custom/theme.conf
cp -aR $src $out/share/sddm/themes/sddm-theme-custom/background.png cp -aR $src $out/share/sddm/themes/sddm-theme-custom/background.png
sed -i 's/background=.*/background=background.png/g' $out/share/sddm/themes/sddm-theme-custom/theme.conf sed -i 's/background=.*/background=background.png/g' $out/share/sddm/themes/sddm-theme-custom/theme.conf