diff options
| author | Mike Vink <mike@pionative.com> | 2024-05-25 10:20:12 +0200 |
|---|---|---|
| committer | Mike Vink <mike@pionative.com> | 2024-05-25 10:20:33 +0200 |
| commit | eb8e0fa7ccdc2b8b28b344b18ef2f081553f91e9 (patch) | |
| tree | ac221430329c9ccfddb420770bc4afee6072b0a7 /profiles/core | |
| parent | d91e0da1605e150190b3e452b53cdf10087dba77 (diff) | |
add vps again
Diffstat (limited to 'profiles/core')
| -rw-r--r-- | profiles/core/home.nix | 16 | ||||
| -rw-r--r-- | profiles/core/syncthing.nix | 2 |
2 files changed, 8 insertions, 10 deletions
diff --git a/profiles/core/home.nix b/profiles/core/home.nix index 3788da7..9434fc5 100644 --- a/profiles/core/home.nix +++ b/profiles/core/home.nix @@ -5,8 +5,9 @@ pkgs, ... }: with lib; { - programs.tmux = let - cfg = '' + programs.tmux = { + enable = true; + extraConfig = '' set-option -g default-shell ${config.ivi.shell}/bin/zsh set -g status off set -s set-clipboard on @@ -38,13 +39,7 @@ bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection clipboard' bind-key -T copy-mode-vi : command-prompt ''; - in { - enable = true; - } // (if machine.isDarwin then { - tmuxConfig = cfg; - } else { - extraConfig = cfg; - }); + }; hm = { fonts.fontconfig.enable = true; @@ -119,6 +114,8 @@ ''; }; + programs.alacritty.enable = true; + programs = { zsh = { enable = true; @@ -306,6 +303,7 @@ enableSshSupport = false; defaultCacheTtl = 34550000; maxCacheTtl = 34550000; + pinentryPackage = pkgs.pinentry-gtk2; # pinentryFlavor = "gtk2"; }; }; diff --git a/profiles/core/syncthing.nix b/profiles/core/syncthing.nix index e076d8d..b736379 100644 --- a/profiles/core/syncthing.nix +++ b/profiles/core/syncthing.nix @@ -6,7 +6,7 @@ in { ]; services.syncthing = { - enable = true; + enable = mkDefault true; user = ivi.username; inherit group; dataDir = config.ivi.home; |
