mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
Compare commits
5 commits
ff2ac40926
...
927e098ab7
Author | SHA1 | Date | |
---|---|---|---|
927e098ab7 | |||
9d3206bd90 | |||
2b4f94bf85 | |||
4d05a9ba19 | |||
f1207ea466 |
8 changed files with 22 additions and 13 deletions
|
@ -907,11 +907,11 @@
|
|||
"nixvim": "nixvim"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1724569831,
|
||||
"narHash": "sha256-GwBiSvqGOlkWqRfsgv9A+e+v6dPDd8J3YEwtez3jnkI=",
|
||||
"lastModified": 1724834346,
|
||||
"narHash": "sha256-IzX0QV6telnbiaj9Z1yckAGnAu6Ny1Fq1lGFUceuLGg=",
|
||||
"owner": "youwen5",
|
||||
"repo": "neovim-flake",
|
||||
"rev": "e78144554b191f08a05c7e3d0cb7966c363fcdbb",
|
||||
"rev": "11b7a7943f94daf8a35820bb8b2fa174bd0df011",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
../../modules/linux/fonts
|
||||
../../modules/linux/greeter
|
||||
../../modules/linux/core
|
||||
../../modules/linux/desktop-portal
|
||||
../../overlays
|
||||
|
||||
apple-silicon.nixosModules.apple-silicon-support
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
../../modules/linux/greeter
|
||||
../../modules/linux/core
|
||||
../../modules/linux/hamachi
|
||||
../../modules/linux/desktop-portal
|
||||
../../overlays
|
||||
|
||||
catppuccin.nixosModules.catppuccin
|
||||
|
|
6
modules/linux/desktop-portal/default.nix
Normal file
6
modules/linux/desktop-portal/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [xdg-desktop-portal-hyprland xdg-desktop-portal-gtk];
|
||||
};
|
||||
}
|
|
@ -1,5 +1,10 @@
|
|||
let
|
||||
universalAllowedPorts = [27016 42805];
|
||||
universalAllowedPorts = [
|
||||
27016 # grim dawn
|
||||
42805 # grim dawn
|
||||
5173 # vite test server
|
||||
4173 # vite test server
|
||||
];
|
||||
universalAllowedRanges = [
|
||||
{
|
||||
from = 42852;
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
|
||||
''$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"
|
||||
|
||||
|
@ -118,7 +118,7 @@
|
|||
]
|
||||
++ (
|
||||
if pkgs.system != "aarch64-linux"
|
||||
then ["$mod, F, exec, zen-bin"]
|
||||
then ["$mod, F, exec, zen"]
|
||||
else ["$mod, F, exec, librewolf"]
|
||||
);
|
||||
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.
|
||||
};
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
configPackages = [pkgs.xdg-desktop-portal-hyprland];
|
||||
extraPortals = [pkgs.xdg-desktop-portal-hyprland];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -35,4 +35,6 @@ with pkgs; [
|
|||
manga-tui
|
||||
|
||||
gcc
|
||||
|
||||
ryujinx
|
||||
]
|
||||
|
|
|
@ -31,6 +31,6 @@ in {
|
|||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
DEFAULT_BROWSER = "${zen-browser}/bin/zen-bin";
|
||||
DEFAULT_BROWSER = "${zen-browser}/bin/zen";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue