diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..813f9bf --- /dev/null +++ b/flake.nix @@ -0,0 +1,17 @@ +{ + description = "NixOS configuration for hypr-nix"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + }; + + outputs = { self, nixpkgs, ... }@inputs: { + nixosConfigurations.hypr-nix = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./hosts/hypr-nix/configuration.nix + ]; + }; + }; +} + diff --git a/configuration.nix b/hosts/hypr-nix/configuration.nix similarity index 100% rename from configuration.nix rename to hosts/hypr-nix/configuration.nix diff --git a/docker.nix b/hosts/hypr-nix/docker.nix similarity index 100% rename from docker.nix rename to hosts/hypr-nix/docker.nix diff --git a/gpu.nix b/hosts/hypr-nix/gpu.nix similarity index 100% rename from gpu.nix rename to hosts/hypr-nix/gpu.nix diff --git a/hardware-configuration.nix b/hosts/hypr-nix/hardware-configuration.nix similarity index 100% rename from hardware-configuration.nix rename to hosts/hypr-nix/hardware-configuration.nix diff --git a/hyprland.nix b/hosts/hypr-nix/hyprland.nix similarity index 100% rename from hyprland.nix rename to hosts/hypr-nix/hyprland.nix diff --git a/i3.nix b/hosts/hypr-nix/i3.nix similarity index 100% rename from i3.nix rename to hosts/hypr-nix/i3.nix diff --git a/mnt.nix b/hosts/hypr-nix/mnt.nix similarity index 100% rename from mnt.nix rename to hosts/hypr-nix/mnt.nix diff --git a/networking.nix b/hosts/hypr-nix/networking.nix similarity index 100% rename from networking.nix rename to hosts/hypr-nix/networking.nix diff --git a/packages.nix b/hosts/hypr-nix/packages.nix similarity index 100% rename from packages.nix rename to hosts/hypr-nix/packages.nix diff --git a/sunshine.nix b/hosts/hypr-nix/sunshine.nix similarity index 100% rename from sunshine.nix rename to hosts/hypr-nix/sunshine.nix diff --git a/result b/result deleted file mode 120000 index 5ecaf3e..0000000 --- a/result +++ /dev/null @@ -1 +0,0 @@ -/nix/store/2hqaqfwyqgx9fpfcpwzf1ajj723z7hk6-nixos-system-hypr-nix-24.05.7376.b134951a4c9f \ No newline at end of file