Nix fmt rfc style (more or less)
This commit is contained in:
parent
e7496c447a
commit
515f098644
146 changed files with 2607 additions and 906 deletions
|
|
@ -1,4 +1,10 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fira-mono, wallpaper ? null }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fira-mono
|
||||
, wallpaper ? null
|
||||
,
|
||||
}:
|
||||
with lib;
|
||||
stdenv.mkDerivation {
|
||||
pname = "sddm-theme-clairvoyance";
|
||||
|
|
@ -13,12 +19,14 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ fira-mono ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/usr/share/sddm/themes/
|
||||
cp -a . $out/usr/share/sddm/themes/clairvoyance
|
||||
'' + optionalString (wallpaper != null) ''
|
||||
cp ${wallpaper} $out/usr/share/sddm/themes/clairvoyance/Assets/Background.jpg
|
||||
'';
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out/usr/share/sddm/themes/
|
||||
cp -a . $out/usr/share/sddm/themes/clairvoyance
|
||||
''
|
||||
+ optionalString (wallpaper != null) ''
|
||||
cp ${wallpaper} $out/usr/share/sddm/themes/clairvoyance/Assets/Background.jpg
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Clairvoyance theme for SDDM";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue