Switch ankaa terminal to kitty
This commit is contained in:
@@ -3,12 +3,21 @@ keys:
|
||||
- &admin_alpheratz age1gdtjn3jgvvvspa86q3lnklflnvyf3s75y2rw23l7nk7hwcsfpg7qkq7msr
|
||||
- &diphda age1rxqyz6watg05r3rzlme7grpgfgezhlt535gdl7psqys2ec8eegmqchfk4d
|
||||
- &alpheratz age1cla0k3yffcelphkrmgz5upc0chgtdef25ne833jeqtapceux59rqkmhxf7
|
||||
- &ankaa age15z4s7nts7ls5h3tu5zesghvnm3kj2qk3dsr004g8rwy578mq4q4qew7wl7
|
||||
creation_rules:
|
||||
- path_regex: secrets/[^/]+\.yaml$
|
||||
key_groups:
|
||||
- age:
|
||||
- *admin_ankaa
|
||||
- *admin_alpheratz
|
||||
- path_regex: secrets/shared/[^/]+\.(yaml|otf)$
|
||||
key_groups:
|
||||
- age:
|
||||
- *admin_ankaa
|
||||
- *admin_alpheratz
|
||||
- *alpheratz
|
||||
- *ankaa
|
||||
- *diphda
|
||||
- path_regex: secrets/ankaa/[^/]+\.yaml$
|
||||
key_groups:
|
||||
- age:
|
||||
|
||||
@@ -77,6 +77,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
term = {
|
||||
terminal = "kitty";
|
||||
font = "codelia";
|
||||
};
|
||||
|
||||
gui = {
|
||||
enable = true;
|
||||
protonmail = true;
|
||||
|
||||
@@ -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; [
|
||||
localPackages.x86_64-linux.jhelioviewer
|
||||
localPackages.x86_64-linux.llama-cpp
|
||||
|
||||
@@ -15,8 +15,10 @@ in
|
||||
settings = {
|
||||
confirm_os_window_close = 0;
|
||||
};
|
||||
font.name = mkIf (cfg.font == "codelia") "Codelia";
|
||||
};
|
||||
|
||||
|
||||
programs.alacritty = mkIf (cfg.terminal == "alacritty") {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
@@ -21,6 +21,12 @@ in
|
||||
type = types.enum [ "alacritty" "kitty" ];
|
||||
default = "alacritty";
|
||||
};
|
||||
|
||||
font = mkOption {
|
||||
description = "Which font to use in terminal";
|
||||
type = types.enum [ "default" "codelia" ];
|
||||
default = "codelia";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
31
secrets/shared/Codelia-Bold
Normal file
31
secrets/shared/Codelia-Bold
Normal file
File diff suppressed because one or more lines are too long
31
secrets/shared/Codelia-BoldItalic
Normal file
31
secrets/shared/Codelia-BoldItalic
Normal file
File diff suppressed because one or more lines are too long
31
secrets/shared/Codelia-Italic
Normal file
31
secrets/shared/Codelia-Italic
Normal file
File diff suppressed because one or more lines are too long
31
secrets/shared/Codelia-Regular
Normal file
31
secrets/shared/Codelia-Regular
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user