about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-03-04 19:17:15 +0900
committersefidel <contact@sefidel.net>2023-03-04 19:17:15 +0900
commit73e80160be0869d79bd8dda17899543732caf996 (patch)
tree0c3f53f83d5f317f8d20d37902d838fa81c8abf6
parentbd97bc842b4bcdb18e4b48b9762d64d413400785 (diff)
downloadnixrc-73e80160be0869d79bd8dda17899543732caf996.tar.gz
nixrc-73e80160be0869d79bd8dda17899543732caf996.zip
feat(nixos/modules): rename flake -> flakes
-rw-r--r--lib/mk_system.nix2
-rw-r--r--nixos/modules/default.nix2
-rw-r--r--nixos/modules/flakes.nix (renamed from nixos/modules/flake.nix)0
3 files changed, 2 insertions, 2 deletions
diff --git a/lib/mk_system.nix b/lib/mk_system.nix
index c813169..1753522 100644
--- a/lib/mk_system.nix
+++ b/lib/mk_system.nix
@@ -21,7 +21,7 @@ nixpkgs.lib.nixosSystem (
       }
       entryPoint
       hardware
-      ../nixos/modules/flake.nix
+      ../nixos/modules/flakes.nix
       ../nixos/modules/nix.nix
     ] ++ nixpkgs.lib.optional (overlays != null) { nixpkgs.overlays = overlays; }
     ++ nixpkgs.lib.optionals (extraModules != null) extraModules;
diff --git a/nixos/modules/default.nix b/nixos/modules/default.nix
index 4469650..df11f91 100644
--- a/nixos/modules/default.nix
+++ b/nixos/modules/default.nix
@@ -1,6 +1,6 @@
 {
   cachix = import ./cachix;
-  flake = import ./flake.nix;
+  flakes = import ./flakes.nix;
   nix = import ./nix.nix;
   security = import ./security.nix;
 }
diff --git a/nixos/modules/flake.nix b/nixos/modules/flakes.nix
index 76f89f3..76f89f3 100644
--- a/nixos/modules/flake.nix
+++ b/nixos/modules/flakes.nix