- Formatted everything using Alejandra

- Added 'ncli format' as a quick command to format everything
This commit is contained in:
2026-03-11 16:03:16 +01:00
parent 25ecab4a70
commit c6862c78db
36 changed files with 987 additions and 839 deletions

View File

@ -1,26 +1,29 @@
{config, pkgs, username, project, ...}:
let
{
config,
pkgs,
username,
project,
...
}: let
# Define the custom background package with the correct relative path
background-package = pkgs.stdenvNoCC.mkDerivation {
name = "background-image";
src = ../other/wallpaper4.png; # Place wallpaper.jpg in the same directory as this config file
src = ../other/wallpaper4.png; # Place wallpaper.jpg in the same directory as this config file
dontUnpack = true;
installPhase = ''
cp $src $out
'';
};
plasmaTheme = "desktop"; #Possible values are "laptop" or "desktop"
powerProfile = "laptop"; #Possible values are "laptop" or "desktop"
in
{
imports =
[
plasmaTheme = "desktop"; #Possible values are "laptop" or "desktop"
powerProfile = "laptop"; #Possible values are "laptop" or "desktop"
in {
imports = [
./autostart.nix
../modules/stylix
];
# Pass the variable to home-manager
# Pass the variable to home-manager
home-manager.extraSpecialArgs = {
inherit plasmaTheme powerProfile;
};
@ -40,7 +43,7 @@ in
services = {
xserver = {
enable = true;
videoDrivers = [ "amdgpu" ];
videoDrivers = ["amdgpu"];
xkb = {
layout = "de";
@ -52,7 +55,7 @@ in
xterm.enable = false;
};
excludePackages = [ pkgs.xterm ];
excludePackages = [pkgs.xterm];
## Enable sound with pipewire.
#services.pulseaudio.enable = false;
};
@ -61,7 +64,7 @@ in
sddm = {
enable = true;
theme = "breeze";
wayland.enable = true;
wayland.enable = true;
};
};
@ -72,10 +75,9 @@ in
system.activationScripts.script.text = ''
source /home/${username}/${project}/other/colors.sh
source /home/${username}/${project}/other/pfp.sh
'';
'';
environment = {
plasma6.excludePackages = with pkgs; [
kdePackages.elisa
];
@ -84,15 +86,15 @@ in
(pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" ''
[General]
background = "${background-package}"
'') #Custom SDDM theme with background image
'') #Custom SDDM theme with background image
kdePackages.plymouth-kcm
xdg-desktop-portal
kdePackages.xdg-desktop-portal-kde
kdePackages.plasma-workspace
kdePackages.kdialog
kdePackages.yakuake #Drop down Terminal
kdePackages.bluez-qt #Bluetooth management for KDE Plasma
kdePackages.kconfig #To Get infos about the current config, such as themes
kdePackages.yakuake #Drop down Terminal
kdePackages.bluez-qt #Bluetooth management for KDE Plasma
kdePackages.kconfig #To Get infos about the current config, such as themes
];
};
}