diff --git a/users/home-manager/alice/README.adoc b/users/home-manager/alice/README.adoc new file mode 100644 index 00000000..0987aacc --- /dev/null +++ b/users/home-manager/alice/README.adoc @@ -0,0 +1,9 @@ += Alice, test user +:toc: + +This is a user primarily included in test systems. +Despite this being only a test user, it follows a certain design: + +* This user should include a nice-looking terminal prompt configuration for screenshotting test systems. +* A nifty editor configuration as a closer representative of the usual systems I manage here. +* This user should be portable enough for deployment in actual systems. diff --git a/users/home-manager/alice/default.nix b/users/home-manager/alice/default.nix new file mode 100644 index 00000000..b828a344 --- /dev/null +++ b/users/home-manager/alice/default.nix @@ -0,0 +1,29 @@ +{ config, lib, pkgs, ... }: + +{ + profiles = { + 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" + ]; + }; +}