aboutsummaryrefslogtreecommitdiff
path: root/home/terminal
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-05 19:41:58 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-05 19:41:58 -0700
commit43da9edb4598eef509c481ae0b305384418c45de (patch)
treea0ad614c90102757143e026e4fe1806431a3dbf4 /home/terminal
parentprofiles/default: users are immutable (diff)
downloadinfra-43da9edb4598eef509c481ae0b305384418c45de.tar.gz
home/profiles: move (almost) all modules to profiles
This is a major refactor, similar to what was done for the hosts, but in a single commit.
Diffstat (limited to 'home/terminal')
-rw-r--r--home/terminal/alacritty/default.nix53
-rw-r--r--home/terminal/default.nix18
2 files changed, 0 insertions, 71 deletions
diff --git a/home/terminal/alacritty/default.nix b/home/terminal/alacritty/default.nix
deleted file mode 100644
index 1e74914..0000000
--- a/home/terminal/alacritty/default.nix
+++ /dev/null
@@ -1,53 +0,0 @@
-{ config, lib, pkgs, ... }:
-let cfg = config.my.home.terminal;
-in
-{
- config = lib.mkIf (cfg.program == "alacritty") {
- programs.alacritty = {
- enable = true;
-
- settings = {
- env = { TERM = "xterm-256color"; };
- live_config_reload = true;
- draw_bold_text_with_bright_colors = true;
- selection = { save_to_clipboard = true; };
- colors = {
- primary = {
- background = "#000000";
- foreground = "#D3D7CF";
- };
-
- normal = {
- black = "#2E3436";
- red = "#CC0000";
- green = "#4E9A06";
- yellow = "#C4A000";
- blue = "#3465A4";
- magenta = "#EF33C0";
- cyan = "#04B5B8";
- white = "#D3D7CF";
- };
-
- bright = {
- black = "#555753";
- red = "#EF2929";
- green = "#8AE234";
- yellow = "#FCE94F";
- blue = "#729FCF";
- magenta = "#EE38DA";
- cyan = "#34E2E2";
- white = "#EEEEEC";
- };
- };
- font = {
- size = 13;
- normal.family = "Source Code Pro";
- };
- cursor = {
- style.blinking = "Never";
- unfocused_hollow = true;
- };
- };
- };
- };
-}
diff --git a/home/terminal/default.nix b/home/terminal/default.nix
deleted file mode 100644
index 68dcf4b..0000000
--- a/home/terminal/default.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{ config, lib, ... }:
-let cfg = config.my.home.terminal;
-in
-{
- imports = [ ./alacritty ];
- options.my.home = with lib; {
- terminal = {
- program = mkOption {
- type = with types; nullOr (enum [ "alacritty" ]);
- default = null;
- example = "alacritty";
- description = "Which terminal to use for home session";
- };
- };
- };
- config.home.sessionVariables =
- lib.mkIf (cfg.program != null) { TERMINAL = cfg.program; };
-}