added hyprland feature

This commit is contained in:
2026-11-08 14:13:22 +00:00
parent a36df6e6a9
commit 0dfc94e3d7
4 changed files with 45 additions and 0 deletions

24
flake.lock generated
View File

@@ -18,6 +18,29 @@
"type": "github" "type": "github"
} }
}, },
"hyprland": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"wrappers": [
"wrappers"
]
},
"locked": {
"lastModified": 1794146614,
"narHash": "sha256-LlCMCyNTP2GSK7FHqDkUzlOY+lWZ/55foC+5YlZHCbk=",
"ref": "refs/heads/main",
"rev": "2d5965ebad2f31ef101a1ad7501638feaeddc1e0",
"revCount": 2,
"type": "git",
"url": "https://git.voidarc.co.uk/adumh00man/hyprland-dendritic"
},
"original": {
"type": "git",
"url": "https://git.voidarc.co.uk/adumh00man/hyprland-dendritic"
}
},
"import-tree": { "import-tree": {
"locked": { "locked": {
"lastModified": 1788467110, "lastModified": 1788467110,
@@ -150,6 +173,7 @@
"root": { "root": {
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"hyprland": "hyprland",
"import-tree": "import-tree", "import-tree": "import-tree",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",

View File

@@ -15,6 +15,15 @@
# My Nvim config # My Nvim config
nvim.url = "git+https://git.voidarc.co.uk/voidarc/nvim"; nvim.url = "git+https://git.voidarc.co.uk/voidarc/nvim";
# Hyprland Configuration
hyprland = {
url = "git+https://git.voidarc.co.uk/adumh00man/hyprland-dendritic";
inputs = {
nixpkgs.follows = "nixpkgs";
wrappers.follows = "wrappers";
};
};
# Nix Wrapper Modules # Nix Wrapper Modules
wrappers.url = "github:nix-community/nix-wrapper-modules"; wrappers.url = "github:nix-community/nix-wrapper-modules";
}; };

View File

@@ -7,6 +7,7 @@
modules = with self.nixosModules; [ modules = with self.nixosModules; [
core core
networking networking
hyprland
]; ];
in { in {
imports = modules; imports = modules;

View File

@@ -0,0 +1,11 @@
{moduleWithSystem, ...}: {
flake.nixosModules.hyprland = moduleWithSystem ({self', ...}: {
programs.hyprland = {
enable = true;
package = self'.packages.hyprland;
};
});
perSystem = {inputs', ...}: {
packages.hyprland = inputs'.hyprland.packages.default;
};
}