Skip to content

Commit

Permalink
fix(build): adapt to xserver.displaymanager path change
Browse files Browse the repository at this point in the history
Drops redundant options since GNS now defaults to Wayland.
  • Loading branch information
dr460nf1r3 committed Apr 12, 2024
1 parent 8be9a82 commit 407869f
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 85 deletions.
130 changes: 65 additions & 65 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nixos/images/iso.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
garuda.home-manager.modules = [../../home-manager/desktops.nix];

# CD's may use autologin for convenience
services.xserver.displayManager.sddm.settings = {
services.displayManager.sddm.settings = {
Autologin = {
User = "nixos";
Session = "plasma";
Expand Down
7 changes: 0 additions & 7 deletions nixos/modules/locales.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
}:
with lib; let
cfg = config.dr460nixed.locales;
cfgDesktops = config.dr460nixed.desktops;
de = "de_DE.UTF-8";
defaultLocale = "en_GB.UTF-8";
terminus-variant = "120n";
Expand Down Expand Up @@ -64,11 +63,5 @@ in {
font = "${pkgs.terminus_font}/share/consolefonts/ter-${terminus-variant}.psf.gz";
keyMap = "de";
};

# X11 keyboard layout
services.xserver.xkb = mkIf cfgDesktops.enable {
layout = "de";
variant = "";
};
};
}
4 changes: 4 additions & 0 deletions nixos/nixos-wsl/nixos-wsl.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
# Required by nixos-wsl
networking.nftables.enable = lib.mkForce false;

# Suppress warning about this one having no effect
# we ship adblocking capabilities here usually
networking.extraHosts = lib.mkForce [];

# Use the newer Docker 24
virtualisation = {
docker = {
Expand Down
8 changes: 3 additions & 5 deletions nixos/tv-nixos/tv-nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@
nixpkgs.config.permittedInsecurePackages = ["electron-24.8.6"];

# Yes, autologin on this one
services.xserver.displayManager.sddm.settings = {
Autologin = {
User = "nico";
Session = "plasma";
};
services.displayManager.sddm.settings.Autologin = {
User = "nico";
Session = "plasma";
};

# Provide a reverse proxy for our services
Expand Down
7 changes: 0 additions & 7 deletions template/nixos/modules/locales.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
}:
with lib; let
cfg = config.dr460nixed.locales;
cfgDesktops = config.dr460nixed.desktops;
de = "de_DE.UTF-8";
defaultLocale = "en_GB.UTF-8";
terminus-variant = "120n";
Expand Down Expand Up @@ -64,11 +63,5 @@ in {
font = "${pkgs.terminus_font}/share/consolefonts/ter-${terminus-variant}.psf.gz";
keyMap = "de";
};

# X11 keyboard layout
services.xserver.xkb = mkIf cfgDesktops.enable {
layout = "de";
variant = "";
};
};
}

0 comments on commit 407869f

Please sign in to comment.