diff --git a/flake.lock b/flake.lock index a531edd..40e2700 100644 --- a/flake.lock +++ b/flake.lock @@ -3,22 +3,18 @@ "aquamarine": { "inputs": { "hyprutils": [ - "system-flake", "hyprland", "hyprutils" ], "hyprwayland-scanner": [ - "system-flake", "hyprland", "hyprwayland-scanner" ], "nixpkgs": [ - "system-flake", "hyprland", "nixpkgs" ], "systems": [ - "system-flake", "hyprland", "systems" ] @@ -57,31 +53,9 @@ "type": "github" } }, - "home-manager_2": { - "inputs": { - "nixpkgs": [ - "system-flake", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1723986931, - "narHash": "sha256-Fy+KEvDQ+Hc8lJAV3t6leXhZJ2ncU5/esxkgt3b8DEY=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "2598861031b78aadb4da7269df7ca9ddfc3e1671", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "home-manager", - "type": "github" - } - }, "hy3": { "inputs": { "hyprland": [ - "system-flake", "hyprland" ] }, @@ -103,17 +77,14 @@ "hyprcursor": { "inputs": { "hyprlang": [ - "system-flake", "hyprland", "hyprlang" ], "nixpkgs": [ - "system-flake", "hyprland", "nixpkgs" ], "systems": [ - "system-flake", "hyprland", "systems" ] @@ -139,14 +110,13 @@ "hyprlang": "hyprlang", "hyprutils": "hyprutils", "hyprwayland-scanner": "hyprwayland-scanner", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs", "systems": "systems", "xdph": "xdph" }, "locked": { "lastModified": 1723058230, "narHash": "sha256-deu8zvgseDg2gQEnZiCda4TrbA6pleE9iItoZlsoMtE=", - "ref": "refs/heads/main", "rev": "9a09eac79b85c846e3a865a9078a3f8ff65a9259", "revCount": 5069, "submodules": true, @@ -163,13 +133,11 @@ "hyprland-protocols": { "inputs": { "nixpkgs": [ - "system-flake", "hyprland", "xdph", "nixpkgs" ], "systems": [ - "system-flake", "hyprland", "xdph", "systems" @@ -192,17 +160,14 @@ "hyprlang": { "inputs": { "hyprutils": [ - "system-flake", "hyprland", "hyprutils" ], "nixpkgs": [ - "system-flake", "hyprland", "nixpkgs" ], "systems": [ - "system-flake", "hyprland", "systems" ] @@ -224,12 +189,10 @@ "hyprutils": { "inputs": { "nixpkgs": [ - "system-flake", "hyprland", "nixpkgs" ], "systems": [ - "system-flake", "hyprland", "systems" ] @@ -251,12 +214,10 @@ "hyprwayland-scanner": { "inputs": { "nixpkgs": [ - "system-flake", "hyprland", "nixpkgs" ], "systems": [ - "system-flake", "hyprland", "systems" ] @@ -276,22 +237,6 @@ } }, "nixpkgs": { - "locked": { - "lastModified": 1723637854, - "narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_2": { "locked": { "lastModified": 1722185531, "narHash": "sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k=", @@ -307,7 +252,7 @@ "type": "github" } }, - "nixpkgs_3": { + "nixpkgs_2": { "locked": { "lastModified": 1723637854, "narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=", @@ -326,28 +271,9 @@ "root": { "inputs": { "home-manager": "home-manager", - "nixpkgs": "nixpkgs", - "system-flake": "system-flake" - } - }, - "system-flake": { - "inputs": { - "home-manager": "home-manager_2", "hy3": "hy3", "hyprland": "hyprland", - "nixpkgs": "nixpkgs_3" - }, - "locked": { - "dirtyRev": "c11d973b4b80e9093469c2d631413400af2d0122-dirty", - "dirtyShortRev": "c11d973-dirty", - "lastModified": 1724450819, - "narHash": "sha256-m9w2HgDUvtXegSjuIPE3whTYOPnyEZuAdIRZLMtGQBc=", - "type": "git", - "url": "file:///etc/nixos" - }, - "original": { - "type": "git", - "url": "file:///etc/nixos" + "nixpkgs": "nixpkgs_2" } }, "systems": { @@ -369,17 +295,14 @@ "inputs": { "hyprland-protocols": "hyprland-protocols", "hyprlang": [ - "system-flake", "hyprland", "hyprlang" ], "nixpkgs": [ - "system-flake", "hyprland", "nixpkgs" ], "systems": [ - "system-flake", "hyprland", "systems" ] diff --git a/flake.nix b/flake.nix index d18a255..5a9ab61 100644 --- a/flake.nix +++ b/flake.nix @@ -10,13 +10,19 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - system-flake = { + hyprland = { type = "git"; - url = "file:///etc/nixos"; + url = "https://github.com/hyprwm/Hyprland"; + submodules = true; + rev = "9a09eac79b85c846e3a865a9078a3f8ff65a9259"; + }; + hy3 = { + url = "github:outfoxxed/hy3?ref=hl0.42.0"; + inputs.hyprland.follows = "hyprland"; }; }; - outputs = { nixpkgs, home-manager, ... } @inputs : + outputs = { nixpkgs, home-manager, hyprland, hy3, ... }: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; @@ -27,17 +33,14 @@ # Specify your home configuration modules here, for example, # the path to your home.nix. modules = [ - inputs.system-flake.inputs.hyprland.homeManagerModules.default + hyprland.homeManagerModules.default ./home.nix ]; # Optionally use extraSpecialArgs # to pass through arguments to home.nix - extraSpecialArgs = { - hy3 = inputs.system-flake.inputs.hy3; - hyprland = inputs.system-flake.inputs.hyprland; - }; + extraSpecialArgs = { inherit hy3; inherit hyprland; }; }; }; }