changed my overlay packages to use 'with lib.maintainers [ pagedMov ]' since my name is on the maintainers list now :D also added a -a flag to rebuild to rebuild both home and system configurations
This commit is contained in:
@@ -4,11 +4,12 @@ pkgs.writeShellApplication {
|
|||||||
text = ''
|
text = ''
|
||||||
hooray() { scheck && runbg aplay ${self}/assets/sound/update.wav; }
|
hooray() { scheck && runbg aplay ${self}/assets/sound/update.wav; }
|
||||||
damn() { scheck && runbg aplay ${self}/assets/sound/error.wav; }
|
damn() { scheck && runbg aplay ${self}/assets/sound/error.wav; }
|
||||||
[ $# -eq 0 ] && echo -e "\033[1;4;38;2;243;139;168mUsage\033[0m: rebuild -h for home config, rebuild -s for sys config" && damn && exit 1
|
[ $# -eq 0 ] && echo -e "\033[1;4;38;2;243;139;168mUsage\033[0m: rebuild -h for home config, rebuild -s for sys config, rebuild -a for both" && damn && exit 1
|
||||||
scheck && runbg aplay ${self}/assets/sound/nixswitch-start.wav
|
scheck && runbg aplay ${self}/assets/sound/nixswitch-start.wav
|
||||||
case $1 in
|
case $1 in
|
||||||
"-h" ) if nh home switch -c ${host}Home "$FLAKEPATH"; then hooray; else damn; fi;;
|
"-h" ) if nh home switch -c ${host}Home "$FLAKEPATH"; then hooray; else damn; fi;;
|
||||||
"-s" ) if nh os switch -H ${host} "$FLAKEPATH"; then hooray; else damn; fi;;
|
"-s" ) if nh os switch -H ${host} "$FLAKEPATH"; then hooray; else damn; fi;;
|
||||||
|
"-a" ) if sudo sleep 0.1 && nh os switch -H ${host} "$FLAKEPATH" && nh home switch -c ${host}Home "$FLAKEPATH"; then hooray; else damn; fi;;
|
||||||
* ) echo -e "\033[1;4;38;2;243;139;168mUsage\033[0m: rebuild -h for home config, rebuild -s for sys config";;
|
* ) echo -e "\033[1;4;38;2;243;139;168mUsage\033[0m: rebuild -h for home config, rebuild -s for sys config";;
|
||||||
esac
|
esac
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -6,15 +6,6 @@
|
|||||||
lib
|
lib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
pagedMov = {
|
|
||||||
email = "kylerclay@proton.me";
|
|
||||||
github = "pagedMov";
|
|
||||||
githubId = 19557376;
|
|
||||||
name = "Kyler Clay";
|
|
||||||
keys = [ { fingerprint = "784B 3623 94E7 8F11 0B9D AE0F 56FD CFA6 2A93 B51E"; } ];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "breezex-cursor";
|
pname = "breezex-cursor";
|
||||||
version = "2.0.1";
|
version = "2.0.1";
|
||||||
@@ -51,9 +42,9 @@ stdenvNoCC.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Extended KDE cursor, inspired by KDE Breeze";
|
description = "Extended KDE cursor theme, inspired by KDE Breeze";
|
||||||
homepage = "https://github.com/ful1e5/BreezeX_Cursor";
|
homepage = "https://github.com/ful1e5/BreezeX_Cursor";
|
||||||
license = lib.licenses.gpl3;
|
license = lib.licenses.gpl3;
|
||||||
maintainers = [ pagedMov ];
|
maintainers = with lib.maintainers; [ pagedMov ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,15 +4,6 @@
|
|||||||
lib,
|
lib,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
pagedMov = {
|
|
||||||
email = "kylerclay@proton.me";
|
|
||||||
github = "pagedMov";
|
|
||||||
githubId = 19557376;
|
|
||||||
name = "Kyler Clay";
|
|
||||||
keys = [ { fingerprint = "784B 3623 94E7 8F11 0B9D AE0F 56FD CFA6 2A93 B51E"; } ];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "tinyfetch";
|
pname = "tinyfetch";
|
||||||
version = "0.2";
|
version = "0.2";
|
||||||
@@ -41,7 +32,7 @@ stdenv.mkDerivation {
|
|||||||
homepage = "https://github.com/abrik1/tinyfetch";
|
homepage = "https://github.com/abrik1/tinyfetch";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
mainProgram = "tinyfetch";
|
mainProgram = "tinyfetch";
|
||||||
maintainers = [ pagedMov ];
|
maintainers = with lib.maintainers; [ pagedMov ];
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user