Changed how additonal home manager modules are imported. Started work on desktop environment specific specialisations. Started actually configuring hyprland
This commit is contained in:
62
plasma/plasma.nix
Executable file
62
plasma/plasma.nix
Executable file
@ -0,0 +1,62 @@
|
||||
{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; [
|
||||
kdePackages.plymouth-kcm
|
||||
# (pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" ''
|
||||
# [General]
|
||||
# background = "${background-package}"
|
||||
# '')
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user