fix(sddm): Move pkg derv to it's own file
Some checks failed
Release / Publish to Flake registries (push) Has been cancelled
CI / Format Nix files (push) Has been cancelled
CI / Test Modules (push) Has been cancelled
CI / Validate sources (push) Has been cancelled
Release / Make release (push) Has been cancelled
Build & deploy website / Build site (push) Has been cancelled
Build & deploy website / Deploy website (push) Has been cancelled
Some checks failed
Release / Publish to Flake registries (push) Has been cancelled
CI / Format Nix files (push) Has been cancelled
CI / Test Modules (push) Has been cancelled
CI / Validate sources (push) Has been cancelled
Release / Make release (push) Has been cancelled
Build & deploy website / Build site (push) Has been cancelled
Build & deploy website / Deploy website (push) Has been cancelled
Nix was complaining that it wasn't a valid package so moved to it's own file and called with callPackage()
This commit is contained in:
parent
fa9adc6173
commit
558c12035e
2 changed files with 23 additions and 22 deletions
21
modules/nixos/sddm-rose-pine-pkg.nix
Normal file
21
modules/nixos/sddm-rose-pine-pkg.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
stdenvNoCC,
|
||||||
|
libsForQt5,
|
||||||
|
sources,
|
||||||
|
}:
|
||||||
|
stdenvNoCC.mkDerivation {
|
||||||
|
pname = "sddm-rose-pine-theme";
|
||||||
|
version = "1.2";
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
propagatedUserEnvPkgs = [
|
||||||
|
libsForQt5.qt5.qtgraphicaleffects
|
||||||
|
];
|
||||||
|
|
||||||
|
src = sources.sddm-rose-pine;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/sddm/themes
|
||||||
|
cp -aR $src $out/share/sddm/themes/rose-pine
|
||||||
|
'';
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.rose-pine) sources;
|
inherit (config.rose-pine) sources;
|
||||||
|
@ -13,28 +14,7 @@ in {
|
||||||
services.displayManager.sddm.theme = "rose-pine";
|
services.displayManager.sddm.theme = "rose-pine";
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
(
|
(pkgs.callPackage ./sddm-rose-pine-pkg.nix {inherit sources;})
|
||||||
{
|
|
||||||
stdenvNoCC,
|
|
||||||
libsForQt5,
|
|
||||||
}:
|
|
||||||
stdenvNoCC.mkDerivation {
|
|
||||||
pname = "sddm-rose-pine-theme";
|
|
||||||
version = "1.2";
|
|
||||||
dontBuild = true;
|
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [
|
|
||||||
libsForQt5.qt5.qtgraphicaleffects
|
|
||||||
];
|
|
||||||
|
|
||||||
src = sources.sddm;
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/share/sddm/themes
|
|
||||||
cp -aR $src $out/share/sddm/themes/rose-pine
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
)
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue