Compare commits

...

2 Commits

Author SHA1 Message Date
Ethan Simmons
746f6b6402 Add new applications for school 2025-04-06 15:09:42 -05:00
Ethan Simmons
cd2f9db375 Switch ankaa terminal to kitty 2025-04-06 13:44:08 -05:00
12 changed files with 222 additions and 1 deletions

View File

@@ -3,12 +3,21 @@ keys:
- &admin_alpheratz age1gdtjn3jgvvvspa86q3lnklflnvyf3s75y2rw23l7nk7hwcsfpg7qkq7msr - &admin_alpheratz age1gdtjn3jgvvvspa86q3lnklflnvyf3s75y2rw23l7nk7hwcsfpg7qkq7msr
- &diphda age1rxqyz6watg05r3rzlme7grpgfgezhlt535gdl7psqys2ec8eegmqchfk4d - &diphda age1rxqyz6watg05r3rzlme7grpgfgezhlt535gdl7psqys2ec8eegmqchfk4d
- &alpheratz age1cla0k3yffcelphkrmgz5upc0chgtdef25ne833jeqtapceux59rqkmhxf7 - &alpheratz age1cla0k3yffcelphkrmgz5upc0chgtdef25ne833jeqtapceux59rqkmhxf7
- &ankaa age15z4s7nts7ls5h3tu5zesghvnm3kj2qk3dsr004g8rwy578mq4q4qew7wl7
creation_rules: creation_rules:
- path_regex: secrets/[^/]+\.yaml$ - path_regex: secrets/[^/]+\.yaml$
key_groups: key_groups:
- age: - age:
- *admin_ankaa - *admin_ankaa
- *admin_alpheratz - *admin_alpheratz
- path_regex: secrets/shared/[^/]+\.(yaml|otf)$
key_groups:
- age:
- *admin_ankaa
- *admin_alpheratz
- *alpheratz
- *ankaa
- *diphda
- path_regex: secrets/ankaa/[^/]+\.yaml$ - path_regex: secrets/ankaa/[^/]+\.yaml$
key_groups: key_groups:
- age: - age:

View File

@@ -77,6 +77,11 @@
}; };
}; };
term = {
terminal = "kitty";
font = "codelia";
};
gui = { gui = {
enable = true; enable = true;
protonmail = true; protonmail = true;

View File

@@ -32,6 +32,34 @@
secrets."borgbase/nix-alpheratz" = { secrets."borgbase/nix-alpheratz" = {
owner = "eesim"; 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; [ environment.systemPackages = with pkgs; [

View File

@@ -16,6 +16,39 @@
}; };
}; };
sops = {
defaultSopsFile = ../../secrets/ankaa/secrets.yaml;
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
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; [ environment.systemPackages = with pkgs; [
localPackages.x86_64-linux.jhelioviewer localPackages.x86_64-linux.jhelioviewer
localPackages.x86_64-linux.llama-cpp localPackages.x86_64-linux.llama-cpp

View File

@@ -15,8 +15,10 @@ in
settings = { settings = {
confirm_os_window_close = 0; confirm_os_window_close = 0;
}; };
font.name = mkIf (cfg.font == "codelia") "Codelia";
}; };
programs.alacritty = mkIf (cfg.terminal == "alacritty") { programs.alacritty = mkIf (cfg.terminal == "alacritty") {
enable = true; enable = true;
}; };

View File

@@ -15,6 +15,9 @@ in
xournalpp xournalpp
libreoffice libreoffice
anki anki
] ++ optional cfg.citrix citrix; ]
++ optional cfg.citrix citrix
++ optional cfg.kicad kicad
++ optional cfg.logisim logisim-evolution;
}; };
} }

View File

@@ -1,5 +1,6 @@
{ lib { lib
, pkgs , pkgs
, config
, ... , ...
}: }:
@@ -19,5 +20,15 @@ in
type = types.bool; type = types.bool;
default = false; 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;
};
}; };
} }

View File

@@ -21,6 +21,12 @@ in
type = types.enum [ "alacritty" "kitty" ]; type = types.enum [ "alacritty" "kitty" ];
default = "alacritty"; default = "alacritty";
}; };
font = mkOption {
description = "Which font to use in terminal";
type = types.enum [ "default" "codelia" ];
default = "codelia";
};
}; };
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long