Update configuration.nix

This commit is contained in:
ska
2025-12-22 11:13:35 +00:00
parent 560924a7a2
commit dbee863605

View File

@@ -2,7 +2,7 @@
{
############################################################
# BOOTLOADER GRUB (HYBRID BIOS + UEFI, REMOVABLE)
# BOOTLOADER GRUB
############################################################ testtest
boot.loader.grub = {
@@ -41,7 +41,7 @@
};
############################################################
# FIRMWARE MAXIMUM HARDWARE SUPPORT
# FIRMWARE WIDE HARDWARE SUPPORT
############################################################
hardware.enableAllFirmware = true;
@@ -51,7 +51,7 @@
hardware.cpu.amd.updateMicrocode = true;
############################################################
# FILESYSTEMS LABELBASED
# FILESYSTEMS BASED ON LABELS
############################################################
fileSystems."/" = {
@@ -65,7 +65,7 @@
};
############################################################
# NETWORKING / LOCALE
# NETWORKING
############################################################
networking.networkmanager.enable = true;
@@ -85,12 +85,12 @@
# DESKTOP GNOME
############################################################
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.enable = true;
services.displayManager.gdm.enable = true;
services.desktopManager.gnome.enable = true;
services.xserver.xkb.layout = "de";
services.xserver.libinput.enable = true;
services.xkb.layout = "de";
services.libinput.enable = true;
############################################################
# AUDIO PIPEWIRE
@@ -136,6 +136,7 @@
curl
wget
openssh
obsidian
libreoffice
keepassxc
@@ -149,10 +150,9 @@
programs.firefox.enable = true;
############################################################
# GIT AUTOUPDATE SCRIPT (RUNTIMEEXECUTED)
# GIT AUTOUPDATE SCRIPT
############################################################
# === Auto-update script with full PATH and NIX_PATH ===
environment.etc."update-nixos-config.sh".text = ''
#!/run/current-system/sw/bin/bash
set -e
@@ -187,7 +187,6 @@
'';
environment.etc."update-nixos-config.sh".mode = "0700";
# === Systemd service (simple, no extra path needed) ===
systemd.services.nixos-git-update = {
description = "Update NixOS from public Git config";
script = "/etc/update-nixos-config.sh";
@@ -208,13 +207,13 @@
};
############################################################
# STABILITY
# USB OPTIMIZATIONS
############################################################
zramSwap.enable = true;
############################################################
# REQUIRED
# NIXOS VERSION
############################################################
system.stateVersion = "25.11";