added hyprland feature
This commit is contained in:
24
flake.lock
generated
24
flake.lock
generated
@@ -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",
|
||||||
|
|||||||
@@ -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";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
modules = with self.nixosModules; [
|
modules = with self.nixosModules; [
|
||||||
core
|
core
|
||||||
networking
|
networking
|
||||||
|
hyprland
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
imports = modules;
|
imports = modules;
|
||||||
|
|||||||
11
modules/features/hyprland/default.nix
Normal file
11
modules/features/hyprland/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user