Compare commits

...

5 commits

8 changed files with 22 additions and 13 deletions

View file

@ -907,11 +907,11 @@
"nixvim": "nixvim" "nixvim": "nixvim"
}, },
"locked": { "locked": {
"lastModified": 1724569831, "lastModified": 1724834346,
"narHash": "sha256-GwBiSvqGOlkWqRfsgv9A+e+v6dPDd8J3YEwtez3jnkI=", "narHash": "sha256-IzX0QV6telnbiaj9Z1yckAGnAu6Ny1Fq1lGFUceuLGg=",
"owner": "youwen5", "owner": "youwen5",
"repo": "neovim-flake", "repo": "neovim-flake",
"rev": "e78144554b191f08a05c7e3d0cb7966c363fcdbb", "rev": "11b7a7943f94daf8a35820bb8b2fa174bd0df011",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -10,6 +10,7 @@
../../modules/linux/fonts ../../modules/linux/fonts
../../modules/linux/greeter ../../modules/linux/greeter
../../modules/linux/core ../../modules/linux/core
../../modules/linux/desktop-portal
../../overlays ../../overlays
apple-silicon.nixosModules.apple-silicon-support apple-silicon.nixosModules.apple-silicon-support

View file

@ -12,6 +12,7 @@
../../modules/linux/greeter ../../modules/linux/greeter
../../modules/linux/core ../../modules/linux/core
../../modules/linux/hamachi ../../modules/linux/hamachi
../../modules/linux/desktop-portal
../../overlays ../../overlays
catppuccin.nixosModules.catppuccin catppuccin.nixosModules.catppuccin

View file

@ -0,0 +1,6 @@
{pkgs, ...}: {
xdg.portal = {
enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-hyprland xdg-desktop-portal-gtk];
};
}

View file

@ -1,5 +1,10 @@
let let
universalAllowedPorts = [27016 42805]; universalAllowedPorts = [
27016 # grim dawn
42805 # grim dawn
5173 # vite test server
4173 # vite test server
];
universalAllowedRanges = [ universalAllowedRanges = [
{ {
from = 42852; from = 42852;

View file

@ -109,7 +109,7 @@
''$mod, P, exec, grim -g "$(slurp)" - | swappy -f -'' # Screenshot ''$mod, P, exec, grim -g "$(slurp)" - | swappy -f -'' # Screenshot
"$mod, Backspace, exec, wlogout" # show logout menu "$mod, Backspace, exec, pkill -x wlogout || wlogout" # show logout menu
"$mod, I, exec, hyprlock" "$mod, I, exec, hyprlock"
@ -118,7 +118,7 @@
] ]
++ ( ++ (
if pkgs.system != "aarch64-linux" if pkgs.system != "aarch64-linux"
then ["$mod, F, exec, zen-bin"] then ["$mod, F, exec, zen"]
else ["$mod, F, exec, librewolf"] else ["$mod, F, exec, librewolf"]
); );
bindm = [ bindm = [
@ -351,10 +351,4 @@
after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display. after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
}; };
}; };
xdg.portal = {
enable = true;
configPackages = [pkgs.xdg-desktop-portal-hyprland];
extraPortals = [pkgs.xdg-desktop-portal-hyprland];
};
} }

View file

@ -35,4 +35,6 @@ with pkgs; [
manga-tui manga-tui
gcc gcc
ryujinx
] ]

View file

@ -31,6 +31,6 @@ in {
}; };
home.sessionVariables = { home.sessionVariables = {
DEFAULT_BROWSER = "${zen-browser}/bin/zen-bin"; DEFAULT_BROWSER = "${zen-browser}/bin/zen";
}; };
} }