mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
Remove defaultModules
This commit is contained in:
22
flake.nix
22
flake.nix
@@ -32,17 +32,23 @@
|
||||
} @ inputs: {
|
||||
nixosConfigurations =
|
||||
let
|
||||
modulesDir = ./modules;
|
||||
unstable = import nixpkgs-unstable {
|
||||
system = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
config.permittedInsecurePackages = [ ];
|
||||
};
|
||||
defaultModules = [
|
||||
home-manager.nixosModules.home-manager
|
||||
in
|
||||
{
|
||||
hephaestus = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit unstable; };
|
||||
modules =
|
||||
[
|
||||
./fonts.nix
|
||||
./machines/hephaestus/configuration.nix
|
||||
./packages.nix
|
||||
./services/netdata/default.nix
|
||||
./upgrade-diff.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
|
||||
({ config
|
||||
, lib
|
||||
@@ -85,16 +91,6 @@
|
||||
};
|
||||
})
|
||||
];
|
||||
in
|
||||
{
|
||||
hephaestus = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit unstable; };
|
||||
modules =
|
||||
[
|
||||
./machines/hephaestus/configuration.nix
|
||||
./services/netdata/default.nix
|
||||
]
|
||||
++ defaultModules;
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user