From 376e5900310063125497e2fd0400e83ba037a3b4 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 8 Feb 2022 09:43:22 -0800 Subject: home: initial configuration for home manager --- users/fcuny/default.nix | 4 ++++ users/fcuny/home-manager.nix | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 users/fcuny/home-manager.nix (limited to 'users') 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"; + }; + }; +} -- cgit 1.4.1