added hyprland feature
This commit is contained in:
24
flake.lock
generated
24
flake.lock
generated
@@ -18,6 +18,29 @@
|
||||
"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": {
|
||||
"locked": {
|
||||
"lastModified": 1788467110,
|
||||
@@ -150,6 +173,7 @@
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
"hyprland": "hyprland",
|
||||
"import-tree": "import-tree",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
|
||||
@@ -15,6 +15,15 @@
|
||||
# My Nvim config
|
||||
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
|
||||
wrappers.url = "github:nix-community/nix-wrapper-modules";
|
||||
};
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
modules = with self.nixosModules; [
|
||||
core
|
||||
networking
|
||||
hyprland
|
||||
];
|
||||
in {
|
||||
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