From 4eeef86ac9a222ea402e8f8cdc23b98103857f81 Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Fri, 18 Oct 2024 15:17:16 +0200 Subject: [PATCH] Set greeter wallpaper and add Blender --- tongfang/nixos/packages.nix | 7 +++++++ tongfang/nixos/services.nix | 8 +++++--- tongfang/nixos/users.nix | 1 + 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/tongfang/nixos/packages.nix b/tongfang/nixos/packages.nix index 7088eac..f414352 100644 --- a/tongfang/nixos/packages.nix +++ b/tongfang/nixos/packages.nix @@ -1,5 +1,8 @@ { pkgs, inputs, config, ... }: +let + customWallpaper = "/nix/store/fvplr8bbp5b9n2x6s21bp4nai80adk8j-wallhaven-zyerpj.jpg"; +in { environment.systemPackages = with pkgs; with inputs; [ inputs.zen-browser.packages."${system}".default @@ -11,5 +14,9 @@ fzf jq ripgrep + (pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" '' + [General] + background=${customWallpaper} + '') ]; } diff --git a/tongfang/nixos/services.nix b/tongfang/nixos/services.nix index f03cc0b..94ef325 100644 --- a/tongfang/nixos/services.nix +++ b/tongfang/nixos/services.nix @@ -1,11 +1,13 @@ { pkgs, ... }: { - # X11 is disabled, but we're using SDDM with Wayland + # Desktop, display and greeter configuration services.xserver.enable = false; - services.displayManager.sddm.enable = true; - services.displayManager.sddm.wayland.enable = true; services.desktopManager.plasma6.enable = true; + services.displayManager.sddm = { + enable = true; + wayland.enable = true; + }; # Audio system with PipeWire # Enable PipeWire and ALSA support diff --git a/tongfang/nixos/users.nix b/tongfang/nixos/users.nix index 51fff46..4a09731 100644 --- a/tongfang/nixos/users.nix +++ b/tongfang/nixos/users.nix @@ -23,6 +23,7 @@ corepack_22 azure-cli sops + blender ]; };