aboutsummaryrefslogtreecommitdiff
path: root/home/darwin.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-12-14 06:19:50 -0800
committerFranck Cuny <franck@fcuny.net>2023-12-14 06:19:59 -0800
commit94142ef5780de4a049436de08b8d7e0cd3d04245 (patch)
tree7e55f6a70bba904934a088d43f464bccbb78bdb3 /home/darwin.nix
parentbuild(deps): bump cachix/install-nix-action from 23 to 24 (diff)
downloadinfra-94142ef5780de4a049436de08b8d7e0cd3d04245.tar.gz
simplify the layout
Diffstat (limited to 'home/darwin.nix')
-rw-r--r--home/darwin.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/home/darwin.nix b/home/darwin.nix
new file mode 100644
index 0000000..ef2787d
--- /dev/null
+++ b/home/darwin.nix
@@ -0,0 +1,36 @@
+{ config, pkgs, ... }:
+{
+ home.stateVersion = "23.05";
+
+ imports = [
+ ./git.nix
+ ./zsh.nix
+ ./dev.nix
+ ./tmux.nix
+ ./ssh.nix
+ ];
+
+ home.packages = with pkgs; [
+ direnv
+ jq
+ nixd
+ nix-direnv
+ nixfmt
+ nixpkgs-fmt
+ ripgrep
+ rnix-lsp
+ tree
+ ];
+
+ programs = {
+ direnv = {
+ enable = true;
+ nix-direnv.enable = true;
+ enableZshIntegration = true;
+ config = {
+ global.disable_stdin = true;
+ global.strict_env = true;
+ };
+ };
+ };
+}