diff --git a/info.default.nix b/config.default.nix similarity index 100% rename from info.default.nix rename to config.default.nix diff --git a/config.nix b/config.nix new file mode 100644 index 0000000..74685a8 --- /dev/null +++ b/config.nix @@ -0,0 +1,8 @@ +let + default = import ./config.default.nix; + local = + if builtins.pathExists ./config.local.nix + then import ./config.local.nix + else {}; +in + default // local diff --git a/flake.nix b/flake.nix index d224252..d65f096 100644 --- a/flake.nix +++ b/flake.nix @@ -39,7 +39,7 @@ kitty-catppuccin, ... } @ inputs: let - info = import ./info.nix; + config = import ./config.nix; lib = nixpkgs.lib; system = "x86_64-linux"; # pkgs = nixpkgs.legacyPackages.${system}; # alternative, without overlays. Unused. @@ -47,7 +47,7 @@ { inherit inputs system; } - // info; + // config; in { # linux only nixosConfigurations = { diff --git a/info.nix b/info.nix deleted file mode 100644 index c5188ab..0000000 --- a/info.nix +++ /dev/null @@ -1,8 +0,0 @@ -let - default = import ./info.default.nix; - local = - if builtins.pathExists ./info.local.nix - then import ./info.local.nix - else {}; -in - default // local