mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +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:
|
(filename: metadata:
|
||||||
let
|
let
|
||||||
name = metadata.username or filename;
|
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};
|
path = ./users/home-manager/${name};
|
||||||
extraModules = [
|
extraModules = [
|
||||||
({ lib, pkgs, config, ... }: {
|
({ lib, pkgs, config, ... }: {
|
||||||
@ -445,7 +445,7 @@
|
|||||||
let
|
let
|
||||||
name = metadata._name;
|
name = metadata._name;
|
||||||
nixpkgs-channel = metadata.nixpkgs-channel or "nixpkgs";
|
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";
|
format = metadata.format or "iso";
|
||||||
in
|
in
|
||||||
lib'.nameValuePair name (mkImage {
|
lib'.nameValuePair name (mkImage {
|
||||||
|
Loading…
Reference in New Issue
Block a user