Refactor
This commit is contained in:
parent
2cd52fca44
commit
a2ff148dc2
16
desktop.nix
16
desktop.nix
@ -4,12 +4,16 @@ let
|
|||||||
nonfree = import <nixos> { config.allowUnfree = true; };
|
nonfree = import <nixos> { config.allowUnfree = true; };
|
||||||
secrets = import ./secrets.nix;
|
secrets = import ./secrets.nix;
|
||||||
in {
|
in {
|
||||||
services.xserver.enable = true;
|
services.xserver = {
|
||||||
services.xserver.layout = "us,ru"; # see also home-manager.nix
|
enable = true;
|
||||||
services.xserver.xkbOptions = "ctrl:nocaps,grp:rctrl_toggle"; # see also home-manager.nix
|
layout = "us,ru"; # see also home-manager.nix
|
||||||
services.xserver.windowManager.xmonad.enable = true;
|
xkbOptions = "ctrl:nocaps,grp:rctrl_toggle"; # see also home-manager.nix
|
||||||
services.xserver.windowManager.xmonad.enableContribAndExtras = true;
|
windowManager.xmonad = {
|
||||||
services.xserver.dpi = 282; # 15.6 inch, 3840x2160
|
enable = true;
|
||||||
|
enableContribAndExtras = true;
|
||||||
|
};
|
||||||
|
dpi = 282; # 15.6 inch, 3840x2160
|
||||||
|
};
|
||||||
|
|
||||||
services.xserver.xautolock = {
|
services.xserver.xautolock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user