users/alice: init home-manager config

This commit is contained in:
Gabriel Arazas 2024-01-04 20:06:35 +08:00
parent 74295899be
commit 27b21464b4
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 38 additions and 0 deletions

View File

@ -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.

View File

@ -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"
];
};
}