base-user: add to video group, less should use our keybindings

This commit is contained in:
teutat3s 2023-07-02 16:18:40 +02:00
parent 0dc531e78c
commit f7a2696adc
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 13 additions and 2 deletions

View file

@ -21,11 +21,12 @@ in {
isNormalUser = true; isNormalUser = true;
description = psCfg.user.description; description = psCfg.user.description;
extraGroups = [ extraGroups = [
"wheel"
"input" "input"
"networkmanager"
"lp" "lp"
"networkmanager"
"scanner" "scanner"
"video"
"wheel"
]; ];
initialHashedPassword = initialHashedPassword =
if psCfg.user.password != null if psCfg.user.password != null

View file

@ -27,6 +27,16 @@ in {
programs.dircolors.enable = true; programs.dircolors.enable = true;
programs.less = {
enable = true;
keys = ''
k forw-line
i back-line
K forw-scroll
I back-scroll
'';
};
home.file."xinitrc".source = ./.xinitrc; home.file."xinitrc".source = ./.xinitrc;
xdg.enable = true; xdg.enable = true;