Update options to be in line with 24.05

This commit is contained in:
Vili Sinervä 2024-06-01 12:46:00 +03:00
parent a37ecd626b
commit 22aec3c470
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
3 changed files with 11 additions and 7 deletions

View file

@ -95,8 +95,10 @@
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
services.xserver.layout = "us,";
services.xserver.xkbVariant = "de_se_fi,";
services.xserver.xkb = {
layout = "us,";
variant = "de_se_fi,";
};
console = pkgs.lib.mkForce {
font = "Lat2-Terminus16";
useXkbConfig = true; # use xkbOptions in tty.

View file

@ -486,13 +486,15 @@ in
];
services = {
displayManager = {
defaultSession = "none+i3";
autoLogin.enable = true;
autoLogin.user = "vili";
};
xserver = {
enable = true;
displayManager = {
defaultSession = "none+i3";
lightdm.enable = true;
autoLogin.enable = true;
autoLogin.user = "vili";
sessionCommands = ''${pkgs.xorg.xrdb}/bin/xrdb -merge < ${Xresources}'';
};
windowManager.i3 = {
@ -504,7 +506,7 @@ in
printing.enable = true;
avahi = {
enable = true;
nssmdns = true;
nssmdns4 = true;
openFirewall = true;
};
};

View file

@ -75,7 +75,7 @@ in
../development.nix
../misc/libinput.nix
];
disabledModules = [ "services/x11/hardware/libinput.nix" ];
disabledModules = [ "services/hardware/libinput.nix" ];
nixpkgs.overlays =
[