From a0c73c3901fc01ffe31a1fac9eb358e5962337e4 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 28 Feb 2024 21:17:27 +0800 Subject: [PATCH] users/nixos: init --- configs/home-manager/nixos/default.nix | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 configs/home-manager/nixos/default.nix diff --git a/configs/home-manager/nixos/default.nix b/configs/home-manager/nixos/default.nix new file mode 100644 index 00000000..88ae6d9d --- /dev/null +++ b/configs/home-manager/nixos/default.nix @@ -0,0 +1,33 @@ +# This is mostly just the same as the Alice user except it used for installers. +# It should be niiiiiiiiiice enough for the usual cases, you feel me. +{ config, lib, pkgs, ... }: + +{ + suites = { + dev = { + enable = true; + shell.enable = true; + }; + editors.neovim.enable = true; + }; + + home.sessionVariables = { + MANPAGER = "nvim +Man!"; + EDITOR = "nvim"; + }; + + # My user shell of choice because I'm not a hipster. + programs.bash = { + enable = true; + historyControl = [ "erasedups" "ignoredups" "ignorespace" ]; + historyIgnore = [ + "cd" + "exit" + "lf" + "ls" + "nvim" + ]; + }; + + home.stateVersion = "23.11"; +}