about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-08 09:43:22 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-08 09:43:22 -0800
commit376e5900310063125497e2fd0400e83ba037a3b4 (patch)
treee39bd9d5e18c96db0aeb5a98d79d1202a2f87400 /users
parentxserver: drop deprecated variable (diff)
downloadworld-376e5900310063125497e2fd0400e83ba037a3b4.tar.gz
home: initial configuration for home manager
Diffstat (limited to 'users')
-rw-r--r--users/fcuny/default.nix4
-rw-r--r--users/fcuny/home-manager.nix28
2 files changed, 32 insertions, 0 deletions
diff --git a/users/fcuny/default.nix b/users/fcuny/default.nix
index 12d7468..43b4f80 100644
--- a/users/fcuny/default.nix
+++ b/users/fcuny/default.nix
@@ -16,4 +16,8 @@ in
     hashedPassword = "$6$i.z1brxtb44JAEco$fDD2Izl.zRR9vBCB2VBKPScChGw38EEl7QEiBTJ/EwgP3oSL0X3ZHq0PJ.RtqzBsWTPUjl4F3MKOBMhnaAPr6.";
     openssh.authorizedKeys.keys = keys;
   };
+
+  imports = [
+    ./home-manager.nix
+  ];
 }
diff --git a/users/fcuny/home-manager.nix b/users/fcuny/home-manager.nix
new file mode 100644
index 0000000..9f85459
--- /dev/null
+++ b/users/fcuny/home-manager.nix
@@ -0,0 +1,28 @@
+{ config, lib, pkgs, ... }:
+
+{
+  home.packages = [
+    pkgs.jq
+    pkgs.ripgrep
+  ]
+
+  home.sessionVariables = {
+    LANG = "en_US.UTF-8";
+    LC_CTYPE = "en_US.UTF-8";
+    LC_ALL = "en_US.UTF-8";
+    EDITOR = "vim";
+  };
+
+  programs.go = {
+    enable = true;
+    goPath = "workspace/go";
+  };
+
+  programs.alacritty = {
+    enable = true;
+
+    settings = {
+      env.TERM = "xterm-256color";
+    };
+  };
+}