fixed zshell config editing aliases, rewrote the 'if (host == 'oganesson')' statements to be more readable
This commit is contained in:
@@ -3,12 +3,13 @@
|
||||
host,
|
||||
...
|
||||
}:
|
||||
let
|
||||
let
|
||||
desktop = (host == "oganesson");
|
||||
extraFigletFonts = pkgs.fetchFromGitHub {
|
||||
owner = "xero";
|
||||
repo = "figlet-fonts";
|
||||
rev = "master";
|
||||
sha256 = "sha256-dAs7N66D2Fpy4/UB5Za1r2qb1iSAJR6TMmau1asxgtY=";
|
||||
rev = "master";
|
||||
sha256 = "sha256-dAs7N66D2Fpy4/UB5Za1r2qb1iSAJR6TMmau1asxgtY=";
|
||||
};
|
||||
toilet-extrafonts = pkgs.toilet.overrideAttrs (oldAttrs: {
|
||||
buildInputs = oldAttrs.buildInputs or [] ++ [extraFigletFonts];
|
||||
@@ -19,9 +20,9 @@
|
||||
cp -r ${extraFigletFonts}/* $out/share/figlet
|
||||
'';
|
||||
});
|
||||
|
||||
|
||||
desktop_pkgs =
|
||||
if (host == "oganesson")
|
||||
if desktop
|
||||
then
|
||||
with pkgs; [
|
||||
uhk-agent
|
||||
|
||||
Reference in New Issue
Block a user