mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-21 16:31:22 +02:00
refactor: via statix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
args:
|
||||
with args;
|
||||
with allSystemAttrs; let
|
||||
lib = nixpkgs.lib;
|
||||
inherit (nixpkgs) lib;
|
||||
colmenaSystem = import ../lib/colmenaSystem.nix;
|
||||
# x86_64 related
|
||||
x64_base_args = {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
args:
|
||||
with args;
|
||||
with allSystemAttrs; let
|
||||
lib = nixpkgs.lib;
|
||||
inherit (nixpkgs) lib;
|
||||
macosSystem = import ../lib/macosSystem.nix;
|
||||
base_args = {
|
||||
inherit nix-darwin home-manager;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
inputs,
|
||||
constants,
|
||||
}: let
|
||||
lib = inputs.nixpkgs.lib;
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
vars = import ./vars.nix;
|
||||
|
||||
specialArgsForSystem = system:
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
allSystemSpecialArgs =
|
||||
lib.attrsets.mapAttrs
|
||||
(name: value: specialArgsForSystem value)
|
||||
(name: specialArgsForSystem)
|
||||
constants.allSystemAttrs;
|
||||
|
||||
args = lib.attrsets.mergeAttrsList [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
args:
|
||||
with args;
|
||||
with allSystemAttrs; let
|
||||
lib = nixpkgs.lib;
|
||||
inherit (nixpkgs) lib;
|
||||
nixosSystem = import ../lib/nixosSystem.nix;
|
||||
|
||||
base_args = {
|
||||
|
||||
Reference in New Issue
Block a user