diff --git a/README.md b/README.md index adc3267..db61d9b 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,7 @@ nixos-rebuild switch --flake flake_path_directory#hostname ``` -https://github.com/ryan4yin/nix-config/tree/v0.0.2 +# Sources + +- https://github.com/ryan4yin/nix-config/tree/v0.0.2 +- https://github.com/LudovicoPiero/dotfiles diff --git a/flake.nix b/flake.nix index 9b3ef10..aeccc4b 100644 --- a/flake.nix +++ b/flake.nix @@ -7,8 +7,16 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - home-manager.url = "github:nix-community/home-manager"; - home-manager.inputs.nixpkgs.follows = "nixpkgs"; + + home-manager = { + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + hyprland = { + url = "github:hyprwm/hyprland"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = inputs@{ diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix new file mode 100644 index 0000000..6436647 --- /dev/null +++ b/home/hyprland/default.nix @@ -0,0 +1,13 @@ +{ + pkgs, + inputs, + ... +} @ args: { + home.packages = []; + + wayland.windowManager.hyprland = { + enable = true; + package = inputs.hyprland.packages.${pkgs.system}.default; + # settings = import ./settings.nix args; + }; +} \ No newline at end of file