Update options to be in line with 24.05
This commit is contained in:
parent
a37ecd626b
commit
22aec3c470
3 changed files with 11 additions and 7 deletions
6
base.nix
6
base.nix
|
@ -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.
|
||||
|
|
10
desktop.nix
10
desktop.nix
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -75,7 +75,7 @@ in
|
|||
../development.nix
|
||||
../misc/libinput.nix
|
||||
];
|
||||
disabledModules = [ "services/x11/hardware/libinput.nix" ];
|
||||
disabledModules = [ "services/hardware/libinput.nix" ];
|
||||
|
||||
nixpkgs.overlays =
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue