diff --git a/hosts/alpheratz/system.nix b/hosts/alpheratz/system.nix index 739913f..ce2c9be 100644 --- a/hosts/alpheratz/system.nix +++ b/hosts/alpheratz/system.nix @@ -32,6 +32,34 @@ secrets."borgbase/nix-alpheratz" = { owner = "eesim"; }; + + secrets."Codelia-Regular.otf" = { + format = "binary"; + sopsFile = ../../secrets/shared/Codelia-Regular; + owner = "eesim"; + path = "/home/eesim/.local/share/fonts/Codelia Regular.otf"; + }; + + secrets."Codelia-Bold.otf" = { + format = "binary"; + sopsFile = ../../secrets/shared/Codelia-Bold; + owner = "eesim"; + path = "/home/eesim/.local/share/fonts/Codelia Bold.otf"; + }; + + secrets."Codelia-Italic.otf" = { + format = "binary"; + sopsFile = ../../secrets/shared/Codelia-Italic; + owner = "eesim"; + path = "/home/eesim/.local/share/fonts/Codelia Italic.otf"; + }; + + secrets."Codelia-BoldItalic.otf" = { + format = "binary"; + sopsFile = ../../secrets/shared/Codelia-BoldItalic; + owner = "eesim"; + path = "/home/eesim/.local/share/fonts/Codelia BoldItalic.ttf"; + }; }; environment.systemPackages = with pkgs; [ diff --git a/modules/nix/school/default.nix b/modules/nix/school/default.nix index 479ba68..96d4015 100644 --- a/modules/nix/school/default.nix +++ b/modules/nix/school/default.nix @@ -15,6 +15,9 @@ in xournalpp libreoffice anki - ] ++ optional cfg.citrix citrix; + ] + ++ optional cfg.citrix citrix + ++ optional cfg.kicad kicad + ++ optional cfg.logisim logisim-evolution; }; } diff --git a/modules/options/school.nix b/modules/options/school.nix index b4ff2f2..534466d 100644 --- a/modules/options/school.nix +++ b/modules/options/school.nix @@ -1,5 +1,6 @@ { lib , pkgs +, config , ... }: @@ -19,5 +20,15 @@ in type = types.bool; default = false; }; + kicad = mkOption { + description = "Whether to install kicad"; + type = types.bool; + default = cfg.enable; + }; + logisim = mkOption { + description = "Whether to install logisim"; + type = types.bool; + default = cfg.enable; + }; }; }