h
This commit is contained in:
parent
47c44371e6
commit
7e3533b77e
16 changed files with 234 additions and 131 deletions
|
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
|
|
@ -21,13 +22,16 @@
|
|||
timeout = 3;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernel = {
|
||||
sysctl = {
|
||||
"vm.swappiness" = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
services = {
|
||||
dbus.implementation = "broker";
|
||||
};
|
||||
|
||||
hardware = {
|
||||
graphics = {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
|
|
@ -24,16 +25,21 @@
|
|||
enable = true;
|
||||
withUWSM = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
programs.uwsm = {
|
||||
enable = true;
|
||||
waylandCompositors = {
|
||||
hyprland = {
|
||||
prettyName = "Hyprland";
|
||||
comment = "Hyprland compositor managed by UWSM";
|
||||
binPath = "/run/current-system/sw/bin/start-hyprland";
|
||||
};
|
||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
portalPackage =
|
||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||
|
||||
};
|
||||
};
|
||||
# programs.sway.enable = true;
|
||||
# programs.uwsm = {
|
||||
# enable = true;
|
||||
# waylandCompositors = {
|
||||
# hyprland = {
|
||||
# prettyName = "Hyprland";
|
||||
# comment = "Hyprland compositor managed by UWSM";
|
||||
# binPath = "${config.programs.hyprland.package}/share/wayland-sessions/hyprland.desktop";
|
||||
# };
|
||||
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,8 +8,14 @@
|
|||
allowedUDPPorts = [
|
||||
config.services.tailscale.port
|
||||
53317
|
||||
16261
|
||||
16262
|
||||
];
|
||||
allowedTCPPorts = [
|
||||
53317
|
||||
16261
|
||||
16262
|
||||
];
|
||||
allowedTCPPorts = [ 53317 ];
|
||||
trustedInterfaces = [ "tailscale0" ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -6,5 +6,5 @@
|
|||
}:
|
||||
|
||||
{
|
||||
services.nixos-cli.enable = true;
|
||||
programs.nixos-cli.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue