Renamed specialisations. Started configuring hyprpaper and hyprlock

This commit is contained in:
2025-11-21 09:23:30 +01:00
parent ee522bd869
commit 27d3b1cae1
11 changed files with 140 additions and 90 deletions

View File

@ -10,7 +10,7 @@
#Nix flake file limit: ulimit -n 500000
{ config, pkgs, lib, username, ... }:
{ config, pkgs, lib, username, version, ... }:
{
# stylix.enable = true;
# stylix.image = /etc/nixos/other/wallpaper.png;
@ -27,17 +27,25 @@
];
specialisation = {
gaming = {
"plasma" = {
configuration = {
imports = [
./plasma/kde-plasma.nix
./plasma/plasma.nix
];
programs.gamemode.enable = true;
};
};
minimal = {
"hyprland" = {
configuration = {
imports = [
./hyprland/hyprland.nix
];
};
};
"minimal" = {
inheritParentConfig = false;
configuration = {
imports = [
@ -140,33 +148,6 @@
#Enable CUPS to print documents.
printing.enable = true;
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 = false;
theme = "breeze";
wayland.enable = true;
};
};
# Enable the OpenSSH daemon.
openssh.enable = true;
};
@ -294,5 +275,5 @@
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "25.05"; # Did you read the comment?
system.stateVersion = version; # Did you read the comment?
}