[TASK] Improve install with flakes
This commit is contained in:
parent
b38ee2c8d6
commit
70a10c6b73
@ -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
|
||||
```
|
||||
|
||||
@ -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/nixos>
|
||||
];
|
||||
|
||||
# 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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user