feat: move to wivrn, vencord

This commit is contained in:
Kat Inskip 2025-08-22 00:43:54 -07:00
parent 5c7dc38a13
commit 62a07510f9
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
18 changed files with 321 additions and 171 deletions

View file

@ -23,89 +23,97 @@ in {
${pkgs.glib}/bin/gsettings set "$gnome_schema" font-name "$font_name"
'';
systemctl = getExe' pkgs.systemd "systemctl";
in [
{
packageExe' = pkgAttr: getExe' pkgs.${pkgAttr} pkgAttr;
packageExe = pkgAttr: getExe pkgs.${pkgAttr};
packageCommand = attr: {
command = [
"${getExe import-gsettings}"
(packageExe attr)
];
}
{
};
packageCommand' = attr: {
command = [
"${systemctl}"
"--user"
"start"
"waybar.service"
(packageExe' attr)
];
}
{
command = [
"${systemctl}"
"--user"
"restart"
"konawall-py.service"
];
}
{
command = [
"${systemctl}"
"--user"
"start"
"swaync.service"
];
}
#{
# command = [
# "${pkgs.xwayland-satellite}/bin/xwayland-satellite"
# ];
#}
# program autostart
{
command = [
"${getExe' config.programs.niriswitcher.package "niriswitcher"}"
];
}
{
command = [
"${getExe' pkgs.dbus "dbus-update-activation-environment"}"
"--all"
];
}
{
command = [
"${getExe' config.programs.vesktop.package "vesktop"}"
"--enable-features=WaylandLinuxDrmSyncobj,UseOzonePlatform"
"--ozone-platform=wayland"
];
}
{
command = [
"${getExe' config.programs.thunderbird.package "thunderbird"}"
];
}
{
command = [
"${getExe' pkgs.udiskie "udiskie"}"
];
}
{
command = [
"${getExe' pkgs.easyeffects "easyeffects"}"
];
}
{
command = [
"${getExe pkgs.pasystray}"
];
}
{
command = [
"${getExe pkgs.networkmanagerapplet}"
];
}
{
command = [
"firefox"
];
}
];
};
packages' = [
"udiskie"
"easyeffects"
"pasystray"
];
packages = [
"pasystray"
"pavucontrol"
"networkmanagerapplet"
];
packageCommands = let
packageCommands' = map packageCommand' packages';
packageCommands'' = map packageCommand packages;
in
packageCommands' ++ packageCommands'';
in
packageCommands
++ [
{
command = [
"${getExe import-gsettings}"
];
}
{
command = [
"${systemctl}"
"--user"
"restart"
"waybar.service"
];
}
{
command = [
"${systemctl}"
"--user"
"restart"
"konawall-py.service"
];
}
{
command = [
"${systemctl}"
"--user"
"restart"
"swaync.service"
];
}
{
command = [
"${getExe' config.programs.niriswitcher.package "niriswitcher"}"
];
}
{
command = [
"${getExe' pkgs.dbus "dbus-update-activation-environment"}"
"--all"
];
}
{
command = [
"discord"
"--enable-features=WaylandLinuxDrmSyncobj,UseOzonePlatform"
"--ozone-platform=wayland"
];
}
{
command = [
"thunderbird"
];
}
{
command = [
"obsidian"
];
}
{
command = [
"zen-beta"
];
}
];
}

View file

@ -38,16 +38,18 @@ in {
"Mod+D".action = sh ''${getExe config.programs.fuzzel.package} -D no -T "${getExe config.programs.alacritty.package} --command"'';
"Mod+Escape".action = sh ''${getExe config.programs.wlogout.package} -p layer-shell'';
"Mod+Shift+Escape".action = sh ''${getExe config.programs.swaylock.package} -f'';
"Mod+Alt+Tab" = {
"Mod+Tab" = {
#repeat = false;
cooldown-ms = 150;
action.spawn = ["${getExe' pkgs.glib "gdbus"}" "call" "--session" "--dest" "io.github.isaksamsten.Niriswitcher" "--object-path" "/io/github/isaksamsten/Niriswitcher" "--method" "io.github.isaksamsten.Niriswitcher.application"];
};
"Mod+Alt+Shift+Tab" = {
"Mod+Shift+Tab" = {
cooldown-ms = 150;
#repeat = false;
action.spawn = ["${getExe' pkgs.glib "gdbus"}" "call" "--session" "--dest" "io.github.isaksamsten.Niriswitcher" "--object-path" "/io/github/isaksamsten/Niriswitcher" "--method" "io.github.isaksamsten.Niriswitcher.application"];
};
"Mod+Shift+Ctrl+Page_Down".action.move-workspace-to-monitor-previous = {};
"Mod+Shift+Ctrl+Page_Up".action.move-workspace-to-monitor-next = {};
};
# ▄ █
# ▄▄▄ ▄▄█▄▄ ▄▄▄ ▄▄▄ █ ▄

View file

@ -70,16 +70,36 @@ in {
};
};
debug = {
wait-for-frame-completion-in-pipewire = {};
deactivate-unfocused-windows = {};
};
workspaces = {
browser = {};
mail = {};
chat = {};
vidya = {};
media = {};
audio = {};
"01-notes" = {
name = "notes";
};
"02-chat" = {
name = "chat";
};
"03-browser" = {
name = "browser";
};
"04-code" = {
name = "code";
};
"05-term" = {
name = "term";
};
"06-mail" = {
name = "mail";
};
"07-game" = {
name = "game";
};
"08-video" = {
name = "video";
};
"09-audio" = {
name = "audio";
};
};
environment = {
MOZ_ENABLE_WAYLAND = "1";

View file

@ -1,5 +1,13 @@
_: {
stylix.targets.swaync.enable = true;
systemd.user.services.swaync = {
Service = {
Environment = [
"GSK_RENDERER=gl"
"GTK_DISABLE_VULKAN=1"
];
};
};
services.swaync = {
enable = true;
settings = {

View file

@ -19,7 +19,7 @@
opacity = {
desktop = 1.0;
applications = 1.0;
terminal = 0.9;
terminal = 1.0;
popups = 0.8;
};
fonts = {

View file

@ -1,7 +1,12 @@
_: {
{pkgs, ...}: {
stylix.targets.vesktop.enable = false;
home.packages = [
(pkgs.discord.override {
withVencord = true;
})
];
programs.vesktop = {
enable = true;
enable = false;
settings = {
autoUpdate = false;
autoUpdateNotification = false;

View file

@ -25,7 +25,6 @@
cryptsetup # Encrypted block devices
yubikey-manager # Yubikey
v4l-utils # Webcam
obsidian
remmina
alsa-utils
pwvucontrol

View file

@ -1,34 +1,25 @@
{pkgs, ...}: {
home.packages = with pkgs; [
# task managers
watchexec
htop
btop
# disk usage
duc
# nix formatting
gdu
nixpkgs-fmt
# show type of files
file
# command monitoring
pv
# sed replacement
sd
# sops
sops
# find replacement
fd
# ripgrep / grep replacement
ripgrep
# rename with sed
rename
# remote tmux
tmate
# remote utilities
socat
rsync
wget
whois
# nix-search
jc
hyperfine
poop
nix-search-cli
];
}