Commit 8864f73da680
Changed files (3)
machines
modules
profiles
machines/naruhodo.nix
@@ -22,6 +22,7 @@
enable = true;
texlive = false;
daemonService = true;
+ capture = true;
};
# FIXME(vdemeester) move this to the bootstrap shell
# xdg.configFile."user-dirs.dirs".source = ../modules/profiles/assets/xorg/user-dirs.dirs;
modules/profiles/desktop.nix
@@ -43,6 +43,7 @@ in
};
config = mkIf cfg.enable {
profiles.gpg.enable = true;
+ profiles.emacs.capture = true;
xsession = mkIf cfg.xsession.enable {
enable = true;
initExtra = ''
modules/profiles/emacs.nix
@@ -17,6 +17,11 @@ in
description = "Enable emacs profile";
type = types.bool;
};
+ capture = mkOption {
+ default = false;
+ description = "Enable capture script(s)";
+ type = types.bool;
+ };
daemonService = mkOption {
default = true;
description = "Enable emacs daemon service";
@@ -206,7 +211,7 @@ in
]);
};
}
- (mkIf config.profiles.desktop.enable {
+ (mkIf config.profiles.emacs.capture {
home.packages = with pkgs; [ wmctrl capture ];
})
(mkIf config.services.gpg-agent.enable {