mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
config: update arguments for importing nixpkgs
Most of the things should be configured in their respective environments already.
This commit is contained in:
parent
3d4b8fa578
commit
90a54db08b
@ -390,7 +390,7 @@
|
||||
(filename: metadata:
|
||||
let
|
||||
name = metadata.username or filename;
|
||||
pkgs = import inputs.${metadata.nixpkgs-channel or "nixpkgs"} { inherit overlays; };
|
||||
pkgs = import inputs.${metadata.nixpkgs-channel or "nixpkgs"} {};
|
||||
path = ./users/home-manager/${name};
|
||||
extraModules = [
|
||||
({ lib, pkgs, config, ... }: {
|
||||
@ -445,7 +445,7 @@
|
||||
let
|
||||
name = metadata._name;
|
||||
nixpkgs-channel = metadata.nixpkgs-channel or "nixpkgs";
|
||||
pkgs = import inputs.${nixpkgs-channel} { inherit system overlays; };
|
||||
pkgs = import inputs.${nixpkgs-channel} {};
|
||||
format = metadata.format or "iso";
|
||||
in
|
||||
lib'.nameValuePair name (mkImage {
|
||||
|
Loading…
Reference in New Issue
Block a user