- Enhanced ncli.nix to include generation information during NixOS rebuild and update commands. - Updated niri.nix to include the new stylix module. - Adjusted aliases to ensure correct path referencing. - And some minor changes
86 lines
1.7 KiB
Nix
86 lines
1.7 KiB
Nix
{config, pkgs, username, ...}:
|
|
{
|
|
imports =
|
|
[
|
|
./autostart.nix
|
|
];
|
|
|
|
home-manager.sharedModules = [
|
|
./home.nix
|
|
];
|
|
|
|
systemd.services = {
|
|
"plasma-workspace".serviceConfig.KillMode = "mixed";
|
|
"plasma-workspace".serviceConfig.TimeoutStopSec = "5s";
|
|
"sddm".serviceConfig.KillMode = "mixed";
|
|
};
|
|
|
|
services = {
|
|
xserver = {
|
|
enable = true;
|
|
videoDrivers = [ "amdgpu" ];
|
|
|
|
xkb = {
|
|
layout = "de";
|
|
variant = "";
|
|
};
|
|
|
|
desktopManager = {
|
|
#gnome.enable = true;
|
|
xterm.enable = false;
|
|
};
|
|
|
|
excludePackages = [ pkgs.xterm ];
|
|
## Enable sound with pipewire.
|
|
#services.pulseaudio.enable = false;
|
|
};
|
|
|
|
displayManager = {
|
|
sddm = {
|
|
enable = true;
|
|
theme = "breeze";
|
|
wayland.enable = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
|
|
# 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 /home/cookiez/NixOS/other/colors.sh
|
|
source /home/cookiez/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}"
|
|
# '')
|
|
];
|
|
}
|