flake: use nixosModules
This commit is contained in:
parent
74baa7b6bd
commit
99bdd0927e
2 changed files with 2 additions and 2 deletions
|
@ -157,6 +157,7 @@
|
|||
in {
|
||||
formatter = eachSystem (system: inputs.nixpkgs.legacyPackages.${system}.alejandra);
|
||||
packages = eachSystem (system: import ./pkgs inputs.nixpkgs.legacyPackages.${system});
|
||||
nixosModules.default = ./nixos/modules;
|
||||
|
||||
### NixOS
|
||||
nixosConfigurations = {
|
||||
|
|
|
@ -5,13 +5,12 @@
|
|||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../modules
|
||||
|
||||
./nix
|
||||
./packages
|
||||
./sysctl.nix
|
||||
|
||||
# Flake modules
|
||||
inputs.self.nixosModules.default
|
||||
inputs.disko.nixosModules.disko
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.impermanence.nixosModules.impermanence
|
||||
|
|
Loading…
Reference in a new issue