flake lock and fixes to toothpick
This commit is contained in:
@@ -107,6 +107,7 @@
|
||||
./nixos/services/pipewire
|
||||
./nixos/services/polkit
|
||||
./nixos/services/powerd
|
||||
./nixos/services/psd
|
||||
./nixos/services/samba
|
||||
./nixos/services/scx
|
||||
./nixos/services/udisks
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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" ''
|
||||
|
||||
@@ -32,7 +32,7 @@ in {
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
# package = pkgs.hyprland;
|
||||
package = pkgs.hyprland;
|
||||
withUWSM = true;
|
||||
};
|
||||
environment.variables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
@@ -13,6 +13,7 @@ in {
|
||||
config = mkIf cfg.enable {
|
||||
services.dbus = {
|
||||
enable = true;
|
||||
implementation = "broker";
|
||||
packages = with pkgs; [
|
||||
gcr
|
||||
];
|
||||
|
||||
18
modules/nixos/services/psd/default.nix
Normal file
18
modules/nixos/services/psd/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user