mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-25 07:08:38 +01:00
phone: Import remaining modules from nix-config
This seems to work and now includes the containers module.
This commit is contained in:
parent
de2d3550d0
commit
e14045e7d4
@ -1,18 +1,13 @@
|
||||
{ nix-config, pkgs, ... }:
|
||||
{ self, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (builtins) attrValues;
|
||||
in
|
||||
{
|
||||
imports = attrValues {
|
||||
inherit (nix-config.nixosModules) system shell desktop hardware;
|
||||
};
|
||||
|
||||
nixpkgs.overlays = attrValues nix-config.overlays;
|
||||
|
||||
home-manager.sharedModules = attrValues nix-config.homeManagerModules;
|
||||
|
||||
environment.systemPackages = attrValues nix-config.packages.${pkgs.system};
|
||||
imports = attrValues self.nixosModules;
|
||||
nixpkgs.overlays = attrValues self.overlays;
|
||||
home-manager.sharedModules = attrValues self.homeManagerModules;
|
||||
environment.systemPackages = attrValues self.packages.${pkgs.system};
|
||||
|
||||
modules = {
|
||||
system = {
|
||||
|
Loading…
Reference in New Issue
Block a user