flake lock and fixes to toothpick

This commit is contained in:
2025-07-29 21:24:53 +02:00
parent a000bc0da3
commit 7518153d87
11 changed files with 49 additions and 50 deletions

View File

@@ -44,13 +44,10 @@
boot.kernelModules = ["tcp_bbr"];
security = {
# allow wayland lockers to unlock the screen
pam.services.hyprlock.text = "auth include login";
# pam.services.hyprlock.text = "auth include login";
# userland niceness
rtkit.enable = true;
# don't ask for password for wheel group
sudo.wheelNeedsPassword = false;
};
}

View File

@@ -12,7 +12,6 @@
libva
vaapiVdpau
libvdpau-va-gl
libGL
];
commonPackages32 = with pkgs.pkgsi686Linux; [
@@ -32,7 +31,6 @@
vulkan-tools
wayland
wayland-protocols
libGL
];
nvidiaOffloadScript = pkgs.writeShellScriptBin "nvidia-offload" ''

View File

@@ -32,7 +32,7 @@ in {
programs.hyprland = {
enable = true;
# package = pkgs.hyprland;
package = pkgs.hyprland;
withUWSM = true;
};
environment.variables.NIXOS_OZONE_WL = "1";

View File

@@ -13,6 +13,7 @@ in {
config = mkIf cfg.enable {
services.dbus = {
enable = true;
implementation = "broker";
packages = with pkgs; [
gcr
];

View File

@@ -0,0 +1,18 @@
{
config,
lib,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.nixos.services.psd;
in {
options = {
nixos.services.psd.enable = mkEnableOption "Enables Profile Sync Daemon";
};
config = mkIf cfg.enable {
services.psd = {
enable = true;
resyncTimer = "10m";
};
};
}