From 43da9edb4598eef509c481ae0b305384418c45de Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 5 May 2023 19:41:58 -0700 Subject: 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. --- home/terminal/default.nix | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 home/terminal/default.nix (limited to 'home/terminal/default.nix') 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; }; -} -- cgit v1.2.3