mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
users/alice: init home-manager config
This commit is contained in:
parent
74295899be
commit
27b21464b4
9
users/home-manager/alice/README.adoc
Normal file
9
users/home-manager/alice/README.adoc
Normal 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.
|
29
users/home-manager/alice/default.nix
Normal file
29
users/home-manager/alice/default.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user