62 lines
1.4 KiB
Nix
Executable File
62 lines
1.4 KiB
Nix
Executable File
{config, pkgs, ...}:
|
|
|
|
let
|
|
# Define the custom background package with the correct relative path
|
|
background-package = pkgs.stdenvNoCC.mkDerivation {
|
|
name = "background-image";
|
|
src = ./other/wallpaper.png; # Place wallpaper.jpg in the same directory as this config file
|
|
dontUnpack = true;
|
|
installPhase = ''
|
|
cp $src $out
|
|
'';
|
|
};
|
|
in
|
|
|
|
{
|
|
imports =
|
|
[
|
|
#Example:
|
|
#./hardware-configuration.nix
|
|
./autostart.nix
|
|
#Moved Back to flake until plasma theme configuration is done!
|
|
#./zsh.nix
|
|
];
|
|
|
|
# Enable the X11 windowing system.
|
|
# You can disable this if you're only using the Wayland session.
|
|
#services.xserver.enable = true;
|
|
|
|
# Configure keymap in X11
|
|
#services.xserver.xkb = {
|
|
# layout = "de";
|
|
# variant = "";
|
|
#};
|
|
|
|
system.activationScripts.script.text = ''
|
|
source /etc/nixos/other/colors.sh
|
|
source /etc/nixos/other/pfp.sh
|
|
|
|
'';
|
|
|
|
#services.displayManager.sddm = {
|
|
# enable = true;
|
|
# theme = "breeze";
|
|
# wayland.enable = true;
|
|
#};
|
|
|
|
# Enable the KDE Plasma Desktop Environment.
|
|
services.desktopManager.plasma6.enable = true;
|
|
|
|
environment.plasma6.excludePackages = with pkgs; [
|
|
# kdePackages.konsole #Using Kitty instead
|
|
kdePackages.elisa
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
# (pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" ''
|
|
# [General]
|
|
# background = "${background-package}"
|
|
# '')
|
|
];
|
|
}
|