This commit is contained in:
2026-03-03 01:56:11 +01:00
parent 3414d23e8d
commit d1447ad36d
6 changed files with 11 additions and 7 deletions

View File

@@ -4,8 +4,8 @@
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.url = "github:hercules-ci/flake-parts";
import-tree.url = "github:vic/import-tree"; import-tree.url = "github:vic/import-tree";
disko.url = "github:nix-community/disko"; home-manager.url = "github:nix-community/home-manager/release-25.11";
disko.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; }

View File

@@ -3,8 +3,10 @@
imports = with inputs.self.nixosModules; [ imports = with inputs.self.nixosModules; [
boot boot
firmware firmware
home-manager
locale locale
networking network
nix-settings
security security
shellapps shellapps
version version

View File

@@ -0,0 +1,6 @@
{ ... }: {
flake.nixosModules.nix-settings = {
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ;
};
}

View File

@@ -14,8 +14,4 @@
config.allowUnfree = true; config.allowUnfree = true;
}; };
}; };
flake.nixosModules.nix-settings = {
nix.settings.experimental-features = [ "nix-command" "flakes" ];
};
} }