From ccf96e0d2061ef9b8ac3bb96c6aed8f1106aa7eb Mon Sep 17 00:00:00 2001 From: 0xWheatyz Date: Tue, 11 Nov 2025 19:34:11 -0500 Subject: [PATCH] feat: hyprland testing --- flake.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..ce2f3d7 --- /dev/null +++ b/flake.nix @@ -0,0 +1,26 @@ +{ + description = "My hyprland configuration"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + home-manager = { + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = { self, nixpkgs, home-manager, ... }: { + nixosConfigurations.yourhostname = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./configuration.nix + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.yourusername = import ./home.nix; + } + ]; + }; + }; +}