tsuki: remove swaylock
also update pathing, enable flatpak for the jagex launcher, and disable low latency for pipewire
This commit is contained in:
parent
c6148a2a58
commit
2ccc10c381
3 changed files with 13 additions and 23 deletions
|
@ -20,6 +20,7 @@
|
|||
|
||||
services = {
|
||||
pcscd.enable = true;
|
||||
flatpak.enable = true;
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
|
@ -27,7 +28,7 @@
|
|||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
lowLatency = {
|
||||
enable = true;
|
||||
enable = false; # disabled due to upstream issue
|
||||
quantum = 64;
|
||||
rate = 48000;
|
||||
};
|
||||
|
@ -45,10 +46,8 @@
|
|||
security = {
|
||||
rtkit.enable = true;
|
||||
polkit.enable = true;
|
||||
pam.services.swaylock = {
|
||||
text = ''
|
||||
auth include login
|
||||
'';
|
||||
pam = {
|
||||
services.hyprlock = {};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
...
|
||||
}: {
|
||||
imports = [
|
||||
./services/swayidle.nix
|
||||
../../home
|
||||
../../home/firefox
|
||||
../../home/ags
|
||||
|
@ -17,6 +16,8 @@
|
|||
../../home/zellij
|
||||
../../home/spotify-player
|
||||
../../home/wayland/hyprland
|
||||
../../home/wayland/services/hypridle.nix
|
||||
../../home/wayland/programs/hyprlock.nix
|
||||
];
|
||||
|
||||
systemd.user.startServices = "sd-switch";
|
||||
|
@ -32,15 +33,15 @@
|
|||
thunderbird
|
||||
obs-studio
|
||||
pavucontrol
|
||||
rustdesk
|
||||
anki
|
||||
tomato-c
|
||||
distrobox
|
||||
gpg-tui
|
||||
vscode-fhs
|
||||
obsidian-wayland
|
||||
jellyfin-mpv-shim
|
||||
# jellyfin-mpv-shim
|
||||
virt-manager
|
||||
imv
|
||||
# imv
|
||||
mpv
|
||||
ffmpeg
|
||||
rustypaste-cli
|
||||
|
@ -51,7 +52,6 @@
|
|||
lutris
|
||||
mangohud
|
||||
bottles
|
||||
runelite
|
||||
prismlauncher
|
||||
yuzu
|
||||
inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
|
||||
|
@ -108,6 +108,10 @@
|
|||
Hostname 100.92.145.147
|
||||
User notoh
|
||||
IdentityFile ~/.ssh/rpi4
|
||||
Host rennypaste
|
||||
Hostname 5.78.112.206
|
||||
User notohh
|
||||
IdentityFile ~/.ssh/renny-key
|
||||
Host pve
|
||||
Hostname 100.115.234.69
|
||||
User root
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
_: {
|
||||
home.file.".local/bin/lock" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
swayidle -w \
|
||||
timeout 500 'swaylock -f --image ~/Pictures/wallpapers/mumei.png --clock --grace 5 --ring-color f5c2e7 --inside-color 1e1e2e --line-color 11111b' \
|
||||
timeout 600 'hyprctl dispatch dpms off' \
|
||||
resume 'hyprctl dispatch dpms on' \
|
||||
before-sleep 'swaylock -f --image ~/Picture/wallpapers/mumei.png --clock --ring-color f5c2e7 --inside-color 1e1e2e --line-color 11111b' \
|
||||
after-resume 'ironbar reload'
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue