refactor(flake.nix): refactor special args to be less wordy
This commit is contained in:
parent
1a3ef0605b
commit
024852c8bf
1 changed files with 16 additions and 20 deletions
|
@ -7,9 +7,8 @@
|
||||||
let
|
let
|
||||||
mkSystem = type: hostname: bootDisk: {
|
mkSystem = type: hostname: bootDisk: {
|
||||||
name = "${hostname}";
|
name = "${hostname}";
|
||||||
value =
|
value = inputs.nixpkgs.lib.nixosSystem {
|
||||||
let
|
specialArgs = {
|
||||||
args = {
|
|
||||||
inherit
|
inherit
|
||||||
self
|
self
|
||||||
inputs
|
inputs
|
||||||
|
@ -18,9 +17,6 @@
|
||||||
bootDisk
|
bootDisk
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
in
|
|
||||||
inputs.nixpkgs.lib.nixosSystem {
|
|
||||||
specialArgs = args;
|
|
||||||
modules = [
|
modules = [
|
||||||
./modules/nixos
|
./modules/nixos
|
||||||
./modules/hm
|
./modules/hm
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue