This commit is contained in:
2026-05-28 18:37:32 +09:00
parent 284ccb22ee
commit f5ecef894d
9 changed files with 150 additions and 5 deletions
+12 -1
View File
@@ -1,5 +1,6 @@
{
inputs,
pkgs,
config,
lib,
...
@@ -9,6 +10,13 @@ let
userName = "moons";
unstable = import inputs.nixpkgs-unstable {
inherit (pkgs) system;
config = {
allowUnfree = true;
};
};
mkSystem =
{
host,
@@ -21,11 +29,14 @@ let
nixosSystem {
inherit system;
modules = [
{
nixpkgs.config.allowUnfree = true;
}
../profiles/${profile}.nix
./${host}/default.nix
]
++ extraModules;
specialArgs = { inherit inputs userName; };
specialArgs = { inherit inputs userName unstable; };
};
in
{