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 {
|
in {
|
||||||
formatter = eachSystem (system: inputs.nixpkgs.legacyPackages.${system}.alejandra);
|
formatter = eachSystem (system: inputs.nixpkgs.legacyPackages.${system}.alejandra);
|
||||||
packages = eachSystem (system: import ./pkgs inputs.nixpkgs.legacyPackages.${system});
|
packages = eachSystem (system: import ./pkgs inputs.nixpkgs.legacyPackages.${system});
|
||||||
|
nixosModules.default = ./nixos/modules;
|
||||||
|
|
||||||
### NixOS
|
### NixOS
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
|
@ -5,13 +5,12 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
../../modules
|
|
||||||
|
|
||||||
./nix
|
./nix
|
||||||
./packages
|
./packages
|
||||||
./sysctl.nix
|
./sysctl.nix
|
||||||
|
|
||||||
# Flake modules
|
# Flake modules
|
||||||
|
inputs.self.nixosModules.default
|
||||||
inputs.disko.nixosModules.disko
|
inputs.disko.nixosModules.disko
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
inputs.impermanence.nixosModules.impermanence
|
inputs.impermanence.nixosModules.impermanence
|
||||||
|
|
Loading…
Reference in a new issue