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 = {
|
services = {
|
||||||
pcscd.enable = true;
|
pcscd.enable = true;
|
||||||
|
flatpak.enable = true;
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
|
@ -27,7 +28,7 @@
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
lowLatency = {
|
lowLatency = {
|
||||||
enable = true;
|
enable = false; # disabled due to upstream issue
|
||||||
quantum = 64;
|
quantum = 64;
|
||||||
rate = 48000;
|
rate = 48000;
|
||||||
};
|
};
|
||||||
|
@ -45,10 +46,8 @@
|
||||||
security = {
|
security = {
|
||||||
rtkit.enable = true;
|
rtkit.enable = true;
|
||||||
polkit.enable = true;
|
polkit.enable = true;
|
||||||
pam.services.swaylock = {
|
pam = {
|
||||||
text = ''
|
services.hyprlock = {};
|
||||||
auth include login
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./services/swayidle.nix
|
|
||||||
../../home
|
../../home
|
||||||
../../home/firefox
|
../../home/firefox
|
||||||
../../home/ags
|
../../home/ags
|
||||||
|
@ -17,6 +16,8 @@
|
||||||
../../home/zellij
|
../../home/zellij
|
||||||
../../home/spotify-player
|
../../home/spotify-player
|
||||||
../../home/wayland/hyprland
|
../../home/wayland/hyprland
|
||||||
|
../../home/wayland/services/hypridle.nix
|
||||||
|
../../home/wayland/programs/hyprlock.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.user.startServices = "sd-switch";
|
systemd.user.startServices = "sd-switch";
|
||||||
|
@ -32,15 +33,15 @@
|
||||||
thunderbird
|
thunderbird
|
||||||
obs-studio
|
obs-studio
|
||||||
pavucontrol
|
pavucontrol
|
||||||
rustdesk
|
|
||||||
anki
|
anki
|
||||||
tomato-c
|
tomato-c
|
||||||
distrobox
|
distrobox
|
||||||
|
gpg-tui
|
||||||
vscode-fhs
|
vscode-fhs
|
||||||
obsidian-wayland
|
obsidian-wayland
|
||||||
jellyfin-mpv-shim
|
# jellyfin-mpv-shim
|
||||||
virt-manager
|
virt-manager
|
||||||
imv
|
# imv
|
||||||
mpv
|
mpv
|
||||||
ffmpeg
|
ffmpeg
|
||||||
rustypaste-cli
|
rustypaste-cli
|
||||||
|
@ -51,7 +52,6 @@
|
||||||
lutris
|
lutris
|
||||||
mangohud
|
mangohud
|
||||||
bottles
|
bottles
|
||||||
runelite
|
|
||||||
prismlauncher
|
prismlauncher
|
||||||
yuzu
|
yuzu
|
||||||
inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
|
inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
|
||||||
|
@ -108,6 +108,10 @@
|
||||||
Hostname 100.92.145.147
|
Hostname 100.92.145.147
|
||||||
User notoh
|
User notoh
|
||||||
IdentityFile ~/.ssh/rpi4
|
IdentityFile ~/.ssh/rpi4
|
||||||
|
Host rennypaste
|
||||||
|
Hostname 5.78.112.206
|
||||||
|
User notohh
|
||||||
|
IdentityFile ~/.ssh/renny-key
|
||||||
Host pve
|
Host pve
|
||||||
Hostname 100.115.234.69
|
Hostname 100.115.234.69
|
||||||
User root
|
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