parent
22267e6c2e
commit
a793ff8a13
6 changed files with 71 additions and 46 deletions
70
flake.lock
generated
70
flake.lock
generated
|
@ -190,17 +190,17 @@
|
||||||
"firefox-gx-src": {
|
"firefox-gx-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717510595,
|
"lastModified": 1718121058,
|
||||||
"narHash": "sha256-QWae4pNWUsoNUvz6MntUtBG242aer3n+JrSk2cw/NOA=",
|
"narHash": "sha256-opmS7Qa4IUXs9hXVK9/xo1ZlHOwj+5gGxAc81l3ttWM=",
|
||||||
"owner": "Godiesc",
|
"owner": "Godiesc",
|
||||||
"repo": "firefox-gx",
|
"repo": "firefox-gx",
|
||||||
"rev": "dde9941d4bf78b94d76bf06cccb2d1dce5372c56",
|
"rev": "c300409a4e45b53c5dc3203847476f60e7b906e1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "Godiesc",
|
"owner": "Godiesc",
|
||||||
|
"ref": "v.9.2",
|
||||||
"repo": "firefox-gx",
|
"repo": "firefox-gx",
|
||||||
"rev": "dde9941d4bf78b94d76bf06cccb2d1dce5372c56",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -817,36 +817,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hypr-official-plugins": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprland": [
|
|
||||||
"hyprland"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hypr-official-plugins",
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hypr-official-plugins",
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1719173945,
|
|
||||||
"narHash": "sha256-VPXoV9osFbbjCmOnwN+8/7P1508SCp7CO7Y06AayQqs=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-plugins",
|
|
||||||
"rev": "135de7b88649dbe5fea8c997447bdc9d6f15ad86",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-plugins",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprcursor": {
|
"hyprcursor": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprlang": [
|
"hyprlang": [
|
||||||
|
@ -924,6 +894,36 @@
|
||||||
"url": "https://github.com/hyprwm/Hyprland"
|
"url": "https://github.com/hyprwm/Hyprland"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"hyprland-plugins": {
|
||||||
|
"inputs": {
|
||||||
|
"hyprland": [
|
||||||
|
"hyprland"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"hyprland-plugins",
|
||||||
|
"hyprland",
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"systems": [
|
||||||
|
"hyprland-plugins",
|
||||||
|
"hyprland",
|
||||||
|
"systems"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1719173945,
|
||||||
|
"narHash": "sha256-VPXoV9osFbbjCmOnwN+8/7P1508SCp7CO7Y06AayQqs=",
|
||||||
|
"owner": "hyprwm",
|
||||||
|
"repo": "hyprland-plugins",
|
||||||
|
"rev": "135de7b88649dbe5fea8c997447bdc9d6f15ad86",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hyprwm",
|
||||||
|
"repo": "hyprland-plugins",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"hyprland-protocols": {
|
"hyprland-protocols": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -1924,9 +1924,9 @@
|
||||||
"gtk-theme-src": "gtk-theme-src",
|
"gtk-theme-src": "gtk-theme-src",
|
||||||
"headscale": "headscale",
|
"headscale": "headscale",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hypr-official-plugins": "hypr-official-plugins",
|
|
||||||
"hyprgrass": "hyprgrass",
|
"hyprgrass": "hyprgrass",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
|
"hyprland-plugins": "hyprland-plugins",
|
||||||
"jellyfin-flake": "jellyfin-flake",
|
"jellyfin-flake": "jellyfin-flake",
|
||||||
"jellyfin-ultrachromic-src": "jellyfin-ultrachromic-src",
|
"jellyfin-ultrachromic-src": "jellyfin-ultrachromic-src",
|
||||||
"libratbag-src": "libratbag-src",
|
"libratbag-src": "libratbag-src",
|
||||||
|
|
14
flake.nix
14
flake.nix
|
@ -64,8 +64,8 @@
|
||||||
firefox-gx-src = {
|
firefox-gx-src = {
|
||||||
flake = false;
|
flake = false;
|
||||||
owner = "Godiesc";
|
owner = "Godiesc";
|
||||||
|
ref = "v.9.2";
|
||||||
repo = "firefox-gx";
|
repo = "firefox-gx";
|
||||||
rev = "dde9941d4bf78b94d76bf06cccb2d1dce5372c56";
|
|
||||||
type = "github";
|
type = "github";
|
||||||
};
|
};
|
||||||
flakegen.url = "github:jorsn/flakegen";
|
flakegen.url = "github:jorsn/flakegen";
|
||||||
|
@ -110,12 +110,6 @@
|
||||||
repo = "home-manager";
|
repo = "home-manager";
|
||||||
type = "github";
|
type = "github";
|
||||||
};
|
};
|
||||||
hypr-official-plugins = {
|
|
||||||
inputs.hyprland.follows = "hyprland";
|
|
||||||
owner = "hyprwm";
|
|
||||||
repo = "hyprland-plugins";
|
|
||||||
type = "github";
|
|
||||||
};
|
|
||||||
hyprgrass = {
|
hyprgrass = {
|
||||||
inputs.hyprland.follows = "hyprland";
|
inputs.hyprland.follows = "hyprland";
|
||||||
owner = "horriblename";
|
owner = "horriblename";
|
||||||
|
@ -128,6 +122,12 @@
|
||||||
type = "git";
|
type = "git";
|
||||||
url = "https://github.com/hyprwm/Hyprland";
|
url = "https://github.com/hyprwm/Hyprland";
|
||||||
};
|
};
|
||||||
|
hyprland-plugins = {
|
||||||
|
inputs.hyprland.follows = "hyprland";
|
||||||
|
owner = "hyprwm";
|
||||||
|
repo = "hyprland-plugins";
|
||||||
|
type = "github";
|
||||||
|
};
|
||||||
jellyfin-flake = {
|
jellyfin-flake = {
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
owner = "matt1432";
|
owner = "matt1432";
|
||||||
|
|
|
@ -133,9 +133,12 @@ let
|
||||||
submodules = true;
|
submodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
hypr-official-plugins = mkHyprDep {
|
hyprland-plugins = mkHyprDep {
|
||||||
owner = "hyprwm";
|
owner = "hyprwm";
|
||||||
repo = "hyprland-plugins";
|
repo = "hyprland-plugins";
|
||||||
|
|
||||||
|
# type = "path";
|
||||||
|
# path = "/home/matt/git/hyprland-plugins";
|
||||||
};
|
};
|
||||||
|
|
||||||
Hyprspace = mkHyprDep {
|
Hyprspace = mkHyprDep {
|
||||||
|
@ -264,7 +267,7 @@ let
|
||||||
{
|
{
|
||||||
owner = "Godiesc";
|
owner = "Godiesc";
|
||||||
repo = "firefox-gx";
|
repo = "firefox-gx";
|
||||||
rev = "dde9941d4bf78b94d76bf06cccb2d1dce5372c56";
|
ref = "v.9.2";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "git-theme-src";
|
name = "git-theme-src";
|
||||||
|
|
|
@ -65,9 +65,13 @@ in {
|
||||||
# HOME-MANAGER CONFIG
|
# HOME-MANAGER CONFIG
|
||||||
home-manager.users.${mainUser} = {
|
home-manager.users.${mainUser} = {
|
||||||
imports = [
|
imports = [
|
||||||
|
./dev.nix
|
||||||
|
|
||||||
|
# Plugins
|
||||||
./hyprgrass.nix
|
./hyprgrass.nix
|
||||||
./hyprexpo.nix
|
./hyprexpo.nix
|
||||||
# ./Hyprspace.nix
|
# ./Hyprspace.nix
|
||||||
|
|
||||||
./inputs.nix
|
./inputs.nix
|
||||||
./style.nix
|
./style.nix
|
||||||
];
|
];
|
||||||
|
|
18
modules/hyprland/dev.nix
Normal file
18
modules/hyprland/dev.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
programs.bash.shellAliases = {
|
||||||
|
# https://wiki.hyprland.org/Contributing-and-Debugging/#lsp-and-formatting
|
||||||
|
"mkCMakeFiles" = "cmake -S . -B build/ -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON";
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = [
|
||||||
|
(pkgs.writeShellScriptBin "testChanges" ''
|
||||||
|
rm -r /home/matt/git/$1/$2/{.cache,build}
|
||||||
|
nix flake update "$1"
|
||||||
|
nh os switch
|
||||||
|
(
|
||||||
|
cd "/home/matt/git/$1/$2"
|
||||||
|
nix develop /home/matt/git/$1 -c cmake -S . -B build/ -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||||
|
)
|
||||||
|
'')
|
||||||
|
];
|
||||||
|
}
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
hypr-official-plugins,
|
hyprland-plugins,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
plugins = [hypr-official-plugins.packages.${pkgs.system}.hyprexpo];
|
plugins = [hyprland-plugins.packages.${pkgs.system}.hyprexpo];
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
plugin = {
|
plugin = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue