refactor: added flake parts
This commit is contained in:
parent
db7ac35613
commit
88041e86bd
66 changed files with 3538 additions and 2163 deletions
22
modules/hosts/nixos/defiant/default.nix
Normal file
22
modules/hosts/nixos/defiant/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# server nas
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
flake.nixosConfigurations.defiant = inputs.nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
config.flake.nixosModules.nixosModules
|
||||
config.flake.nixosModules.defiantConfiguration
|
||||
config.flake.nixosModules.defiantHardwareConfiguration
|
||||
config.flake.nixosModules.defiantPackages
|
||||
config.flake.nixosModules.defiantLegacyStorage
|
||||
config.flake.nixosModules.defiantLegacyImpermanence
|
||||
];
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
syncthingConfiguration = inputs.self.syncthingConfiguration;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue