Added hyprspace

This commit is contained in:
ari committed 2024-09-07 15:56:43 -04:00
1 parent b937743dba
commit 2473e1a1bc
3 files changed
+32 -4

No files matched your search

Generated
+21
View File
@@ -207,6 +207,26 @@
"type": "github"
}
},
"hyprspace": {
"inputs": {
"hyprland": [
"hyprland"
]
},
"locked": {
"lastModified": 1724608787,
"narHash": "sha256-t2BzxfdLhMY8pnzmQe76bLGL8bB5p5bdIXHhkSV+xr8=",
"owner": "KZDKM",
"repo": "Hyprspace",
"rev": "b328501fbad4159e404697e25cdaaab0ad9f81a4",
"type": "github"
},
"original": {
"owner": "KZDKM",
"repo": "Hyprspace",
"type": "github"
}
},
"hyprutils": {
"inputs": {
"nixpkgs": [
@@ -330,6 +350,7 @@
"gBar": "gBar",
"home-manager": "home-manager",
"hyprland": "hyprland",
"hyprspace": "hyprspace",
"nix-darwin": "nix-darwin",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2",
+6
View File
@@ -12,6 +12,10 @@
inputs.nixpkgs.follows = "unstable";
inputs.systems.follows = "systems";
};
hyprspace = {
url = "github:KZDKM/Hyprspace";
inputs.hyprland.follows = "hyprland";
};
# Home manager
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
@@ -40,6 +44,7 @@
, nix-darwin
, gBar
, hyprland
, hyprspace
}:
let
user = {
@@ -94,6 +99,7 @@
inputs = {
inherit
gBar
hyprspace
hyprland;
};
};
+5 -4
View File
@@ -1,11 +1,12 @@
{ config, lib, pkgs, ... }:
with lib;
{ config, lib, pkgs, inputs, ... }:
let
cfg = config.skyg.nixos.desktop.hyprland;
in
{
config = mkIf (cfg.enabled && !cfg.useNWG) {
config = lib.mkIf (cfg.enabled && !cfg.useNWG) {
home-manager.users.${config.skyg.user.name}.wayland.windowManager.hyprland.plugins = [
inputs.hyprspace.packages.${pkgs.system}.Hyprspace
];
programs.hyprlock.enable = true;
environment.systemPackages = with pkgs; [
# general utilities