mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:18:30 +09:00
feat
This commit is contained in:
+12
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user