Meta-installer
This commit is contained in:
parent
1876ddeb71
commit
a3436268c8
10 changed files with 100 additions and 40 deletions
|
@ -330,6 +330,7 @@ in
|
|||
extraConfig = builtins.readFile ./tmux.conf + "source-file ${themepack}/share/tmux-plugins/tmux-themepack/powerline/default/green.tmuxtheme\n";
|
||||
};
|
||||
translate-shell.enable = true; # TODO Cool config?
|
||||
password-store.enable = true;
|
||||
};
|
||||
services = {
|
||||
gpg-agent = {
|
||||
|
@ -338,6 +339,16 @@ in
|
|||
enableZshIntegration = true;
|
||||
pinentryFlavor = "gtk2"; # Falls back to curses when needed
|
||||
};
|
||||
# TODO Doesn't activate units by default. For now, we'll consider this as a safety feature.
|
||||
git-sync = {
|
||||
enable = true;
|
||||
repositories = {
|
||||
dotfiles = {
|
||||
path = "${config.xdg.configHome}/dotfiles";
|
||||
uri = lib.mkDefault "https://git.frogeye.fr/geoffrey/dotfiles.git";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
xdg = {
|
||||
configFile = {
|
||||
|
@ -428,8 +439,16 @@ in
|
|||
imagemagick
|
||||
|
||||
# password
|
||||
pass
|
||||
pwgen
|
||||
(pkgs.writeShellApplication {
|
||||
name = "git-sync-init";
|
||||
# runtimeInputs = with pkgs; [ coreutils libnotify ];
|
||||
text = (lib.strings.concatLines
|
||||
(map (r: ''[ -d "${r.path}" ] || ${pkgs.git}/bin/git clone "${r.uri}" "${r.path}"'')
|
||||
(lib.attrsets.attrValues config.services.git-sync.repositories)
|
||||
)
|
||||
);
|
||||
})
|
||||
|
||||
# Mail
|
||||
isync
|
||||
|
|
|
@ -111,7 +111,7 @@ in
|
|||
"${mod}+z" = "kill";
|
||||
button2 = "kill";
|
||||
# Rofi
|
||||
"${mod}+c" = "exec --no-startup-id ${pkgs.rofi-pass}/bin/rofi-pass --last-used";
|
||||
"${mod}+c" = "exec --no-startup-id ${config.programs.rofi.pass.package}/bin/rofi-pass --last-used";
|
||||
# TODO Try autopass.cr
|
||||
# 23.11 config.programs.rofi.pass.package
|
||||
"${mod}+i" = "exec --no-startup-id ${pkgs.rofimoji}/bin/rofimoji";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue