From 70a10c6b73704475780dccc317e40738ef94b5fd Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Wed, 11 Feb 2026 20:38:35 +0100 Subject: [PATCH] [TASK] Improve install with flakes --- README.md | 2 +- config/configuration.nix | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f837b41..daea395 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,7 @@ nix-channel --add https://github.com/nix-community/home-manager/archive/release- nix-channel --update # Konfiguration anwenden -nixos-rebuild switch +nixos-rebuild switch --option experimental-features "nix-command flakes" reboot ``` diff --git a/config/configuration.nix b/config/configuration.nix index 9d82e4a..a13996c 100644 --- a/config/configuration.nix +++ b/config/configuration.nix @@ -1,7 +1,8 @@ { config, pkgs, ... }: { - imports = [ # Include the results of the hardware scan. + imports = [ + # Include the results of the hardware scan. ./hardware-configuration.nix ./common.nix ./mounts.nix @@ -11,12 +12,12 @@ ]; - # Home Manager Konfiguration + # Home Manager configuration home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.backupFileExtension = "backup"; - # NixOS Version (nicht ändern nach Erstinstallation) + # NixOS Version (don't change after first installation) system.stateVersion = "25.11"; nixpkgs.config.allowUnfree = true;