From c76ee77cc3757742b4e5f502b1e514aced479544 Mon Sep 17 00:00:00 2001 From: Wittano Bonarotti Date: Mon, 10 Jun 2024 21:39:09 +0200 Subject: [PATCH] refactor(nix): removed unnecessary nested nixos directory --- nixos/default.nix => default.nix | 0 flake.lock | 6 +++--- flake.nix | 6 +++--- nixos/module.nix => nixos.nix | 0 nixos/shell.nix => shell.nix | 0 5 files changed, 6 insertions(+), 6 deletions(-) rename nixos/default.nix => default.nix (100%) rename nixos/module.nix => nixos.nix (100%) rename nixos/shell.nix => shell.nix (100%) diff --git a/nixos/default.nix b/default.nix similarity index 100% rename from nixos/default.nix rename to default.nix diff --git a/flake.lock b/flake.lock index 4534a99..1d505c0 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1715623576, - "narHash": "sha256-ofUOGRGQk6GpQ+HKGXRb0DSzy9BqveubutyJFWQRAJI=", + "lastModified": 1717893485, + "narHash": "sha256-WMU6ZRZrBgEUDIF0siu2aIyVAXcxfElSwzZtS/mSpN4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "1daef0114a6074be56586f2cf81898ed142e1e44", + "rev": "3bcedce9f4de37570242faf16e1e143583407eab", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 1bf5585..0201335 100644 --- a/flake.nix +++ b/flake.nix @@ -13,9 +13,9 @@ pkgs = import nixpkgs { inherit system; }; in { - packages.default = pkgs.callPackage ./nixos/default.nix { }; - devShells.default = pkgs.callPackage ./nixos/shell.nix { }; + packages.default = pkgs.callPackage ./default.nix { }; + devShells.default = pkgs.callPackage ./shell.nix { }; } - ) // { nixosModules.default = ./nixos/module.nix; }; + ) // { nixosModules.default = ./nixos.nix; }; } diff --git a/nixos/module.nix b/nixos.nix similarity index 100% rename from nixos/module.nix rename to nixos.nix diff --git a/nixos/shell.nix b/shell.nix similarity index 100% rename from nixos/shell.nix rename to shell.nix