Update configuration.nix
This commit is contained in:
@@ -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 – LABEL‑BASED
|
||||
# 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 AUTO‑UPDATE SCRIPT (RUNTIME‑EXECUTED)
|
||||
# GIT AUTO‑UPDATE 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";
|
||||
|
||||
Reference in New Issue
Block a user