forked from pub-solar/os
base-user: add to video group, less should use our keybindings
This commit is contained in:
parent
c73a49d4d2
commit
ef0d7ca68d
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue