add hyprland module ready for configuration
This commit is contained in:
parent
55f7db0e89
commit
c35e614993
1 changed files with 10 additions and 0 deletions
10
flake.nix
10
flake.nix
|
@ -5,10 +5,15 @@
|
||||||
# NixOS official package source, using the nixos-24.05 branch as stable and nixos-unstable as default
|
# NixOS official package source, using the nixos-24.05 branch as stable and nixos-unstable as default
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
stablepkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
stablepkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||||
|
|
||||||
|
# Home manager using nixos-unstable
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Hyprland wm
|
||||||
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, ... } @ inputs:
|
outputs = { self, nixpkgs, ... } @ inputs:
|
||||||
|
@ -26,6 +31,11 @@
|
||||||
./modules/nh.nix
|
./modules/nh.nix
|
||||||
./modules/environment.nix
|
./modules/environment.nix
|
||||||
./modules/waydroid.nix
|
./modules/waydroid.nix
|
||||||
|
|
||||||
|
# Import hyprland module
|
||||||
|
hyprland.homeManagerModules.default {
|
||||||
|
wayland.windowManager.hyprland.enable = true;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue