Compare commits

...

4 Commits

6 changed files with 60 additions and 5 deletions

39
flake.lock generated
View File

@ -565,11 +565,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1718273282, "lastModified": 1718468441,
"narHash": "sha256-Drdpjgw9ZHbS2SC5V41PmuFqVpxXqKJyi8Wl7gUneYI=", "narHash": "sha256-yLoQC4IaaM3xijxoGMkyPgwKKr3xYLdToA7j3zNRn7A=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "e6d10539af1fdca33b10bc3c1dfac16f1cdfe1c8", "rev": "91fe58f8f278d126852877eadc87c50ca7b9b78d",
"revCount": 4819, "revCount": 4836,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://github.com/hyprwm/Hyprland" "url": "https://github.com/hyprwm/Hyprland"
@ -580,6 +580,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": 1718111105,
"narHash": "sha256-sLGohaz+8pCce4+wehXSlwOu7c7+We4Zc1ToXGCJYfs=",
"owner": "hyprwm",
"repo": "hyprland-plugins",
"rev": "151102b7d7c4f61ff42f275e72008d28318dac96",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-plugins",
"type": "github"
}
},
"hyprland-protocols": { "hyprland-protocols": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -1098,6 +1128,7 @@
"flux": "flux", "flux": "flux",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"hyprland-plugins": "hyprland-plugins",
"impermanence": "impermanence", "impermanence": "impermanence",
"microvm": "microvm", "microvm": "microvm",
"neovim": "neovim", "neovim": "neovim",

View File

@ -27,6 +27,10 @@
sops-nix.inputs.nixpkgs.follows = "nixpkgs"; sops-nix.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
#### Iogamaster inputs #### Iogamaster inputs
nixos-generators.url = "github:nix-community/nixos-generators"; nixos-generators.url = "github:nix-community/nixos-generators";

View File

@ -87,7 +87,6 @@
zotero zotero
xfce.mousepad xfce.mousepad
tor-browser tor-browser
wl-clipboard
## My scripts ## My scripts
pkgs.frajul.deploy-to-pianopi pkgs.frajul.deploy-to-pianopi

View File

@ -87,6 +87,8 @@ in
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
# Whether to enable Hyprland wayland compositor # Whether to enable Hyprland wayland compositor
enable = true; enable = true;
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
# The hyprland package to use (simplifies use of plugins) # The hyprland package to use (simplifies use of plugins)
# package = inputs.hyprland.packages.${pkgs.system}.hyprland; # package = inputs.hyprland.packages.${pkgs.system}.hyprland;
# Whether to enable XWayland # Whether to enable XWayland
@ -95,6 +97,10 @@ in
# Optional # Optional
# Whether to enable hyprland-session.target on hyprland startup # Whether to enable hyprland-session.target on hyprland startup
systemd.enable = true; systemd.enable = true;
# Make PATH available to systemd services
systemd.variables = [ "--all" ];
plugins = [ inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars ];
settings = { settings = {
"$mod" = "SUPER"; "$mod" = "SUPER";
@ -164,6 +170,7 @@ in
"workspace 9, class:org.telegram.desktop" "workspace 9, class:org.telegram.desktop"
"workspace 10, class:thunderbird" "workspace 10, class:thunderbird"
"float, class:qalculate-gtk" "float, class:qalculate-gtk"
"tile, class:MATLAB, title:MATLAB"
]; ];
# Workspace rules # Workspace rules
@ -283,6 +290,17 @@ in
"$mod CTRL, 9, movetoworkspacesilent, 9" "$mod CTRL, 9, movetoworkspacesilent, 9"
"$mod CTRL, 0, movetoworkspacesilent, 10" "$mod CTRL, 0, movetoworkspacesilent, 10"
]; ];
plugin = {
hyprbars = {
bar_text_size = 10;
bar_height = 16;
bar_text_font = "Ubuntu Nerd Font";
bar_precedence_over_border = false;
hyprbars-button = [ "rgb(${palette.base03}), 14, 󰖭, hyprctl dispatch killactive" ];
};
};
}; };
}; };
}; };

View File

@ -25,6 +25,7 @@ in
services.mako = { services.mako = {
enable = true; enable = true;
defaultTimeout = 5; # seconds, can be overwritten by notification sender
backgroundColor = "#${palette.base00}"; backgroundColor = "#${palette.base00}";
textColor = "#${palette.base05}"; textColor = "#${palette.base05}";
borderColor = "#${palette.base0D}"; borderColor = "#${palette.base0D}";

View File

@ -281,6 +281,8 @@
pavucontrol pavucontrol
frajul.pulseaudio-popup frajul.pulseaudio-popup
gparted-xhost # needs to be installed as system package so it can be actually opened gparted-xhost # needs to be installed as system package so it can be actually opened
wl-clipboard
xclip
]; ];
virtualisation.docker.enable = true; virtualisation.docker.enable = true;