summaryrefslogtreecommitdiff
path: root/modules/common.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-08-14 20:21:56 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-08-14 20:21:56 -0400
commit7857ec66d7665a3e1dae21eac70500d9e97e39ed (patch)
treeea354661885ae0a9b092789258f7cbccb3fa8eb9 /modules/common.nix
parent0cdf163f4f1ea10dbbf9d6c7c3f03ead6c19d2e3 (diff)
update config
Diffstat (limited to 'modules/common.nix')
-rw-r--r--modules/common.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/common.nix b/modules/common.nix
index f75366a..aafc1b0 100644
--- a/modules/common.nix
+++ b/modules/common.nix
@@ -2,7 +2,6 @@
programs.zsh.enable = true;
programs.zsh.interactiveShellInit = "bindkey -e";
programs.tmux.enable = true;
- programs.direnv.enable = true;
orbekk.secrets.enable = true;
@@ -24,7 +23,17 @@
];
environment.variables.EDITOR = "${pkgs.neovim}/bin/nvim";
+ # nix.settings = {
+ # keep-outputs = true;
+ # keep-derivations = true;
+ # };
+ environment.pathsToLink = [
+ "/share/nix-direnv"
+ ];
+
environment.systemPackages = with pkgs; [
+ # Can be replaced with `programs.direnv.enable` after next nixos version.
+ direnv nix-direnv
starship
cifs-utils
inetutils # telnet