From 153611e27b11c9bac61b21c8017429eacae1dfcf Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Thu, 28 Jul 2022 11:41:56 +0200 Subject: [PATCH] updated echidna things --- echidna.nix | 17 +++++++++++++++++ flake.nix | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/echidna.nix b/echidna.nix index bdef646..8215a5b 100644 --- a/echidna.nix +++ b/echidna.nix @@ -17,6 +17,7 @@ in { # pkgs.khal pkgs.alacritty pkgs.ansible + pkgs.bat pkgs.black pkgs.cheat pkgs.cmatrix @@ -31,6 +32,7 @@ in { pkgs.fzf pkgs.getopt pkgs.gnupg + pkgs.go pkgs.google-cloud-sdk pkgs.gping pkgs.hlint @@ -140,5 +142,20 @@ in { ]; }; + users.users.rilla = { + name = "rilla"; + home = "/Users/rilla"; + }; + + home-manager = { + users.rilla = { + programs.direnv = { + enable = true; + nix-direnv.enable = true; + }; + home.stateVersion = "22.11"; + }; + }; + system.stateVersion = 4; } diff --git a/flake.nix b/flake.nix index 22718a8..1e6f3f0 100644 --- a/flake.nix +++ b/flake.nix @@ -52,7 +52,7 @@ darwinConfigurations.echidna = darwin.lib.darwinSystem { system = "x86_64-darwin"; - modules = [ ./echidna.nix ]; + modules = [ ./echidna.nix home-manager.darwinModule ]; }; }; }