feat: loose changes...?

This commit is contained in:
Kat Inskip 2025-08-07 14:24:53 -06:00
parent 32588d7074
commit 61143478c8
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
11 changed files with 232 additions and 10 deletions

View file

@ -72,11 +72,21 @@ in {
"--ozone-platform=wayland"
];
}
{
command = [
"${getExe' config.programs.thunderbird.package "thunderbird"}"
];
}
{
command = [
"${getExe' pkgs.udiskie "udiskie"}"
];
}
{
command = [
"${getExe' pkgs.easyeffects "easyeffects"}"
];
}
{
command = [
"${getExe pkgs.pasystray}"

View file

@ -38,12 +38,14 @@ in {
"Mod+D".action = sh ''${getExe config.programs.fuzzel.package} -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'';
"Alt+Tab" = {
repeat = false;
"Mod+Alt+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"];
};
"Alt+Shift+Tab" = {
repeat = false;
"Mod+Alt+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"];
};
};

View file

@ -79,6 +79,7 @@ in {
chat = {};
vidya = {};
media = {};
audio = {};
};
environment = {
MOZ_ENABLE_WAYLAND = "1";

View file

@ -8,6 +8,21 @@ _: {
layer-shell = true;
layer = "overlay";
control-center-layer = "top";
widgets = [ "mpris" "dnd" "title" "notifications" "inhibitors" "backlight" "volume" ];
widget-config = {
title = {
text = "Notifications";
clear-all-button = true;
button-text = "";
};
dnd = {
text = " DND";
};
mpris = {
image-size = 60;
image-radius = 12;
};
};
};
};
}

View file

@ -14,7 +14,11 @@ _: {
}
{
matches = [{app-id = "^firefox$";}];
matches = [
{app-id = "^firefox$";}
{app-id = "^zen-beta$";}
{app-id = "^zen$";}
];
open-on-workspace = "browser";
}
{
@ -22,18 +26,40 @@ _: {
{app-id = "^vesktop$";}
{app-id = "^discord$";}
{app-id = "^org.telegram.desktop$";}
{app-id = "^Signal$";}
];
open-on-workspace = "chat";
}
{
matches = [{app-id = "^steam_app_default$";}];
matches = [
{app-id = "^steam_app_default$";}
{app-id = "^net.lutris.Lutris$";}
];
open-on-workspace = "vidya";
open-floating = true;
}
{
matches = [{app-id = "^spotify$";}];
matches = [
{app-id = "^spotify$";}
{title = "^ncspot$";}
];
open-on-workspace = "media";
}
{
matches = [
{app-id = "^thunderbird$";}
];
open-on-workspace = "mail";
}
{
matches = [
{app-id="^com.github.wwmm.easyeffects$";}
{app-id="^.blueman-manager-wrapped$";}
{app-id="^org.pulseaudio.pavucontrol$";}
{app-id="^com.saivert.pwvucontrol$";}
];
open-on-workspace = "audio";
}
{
matches = [
{

View file

@ -16,6 +16,12 @@
dark = "MoreWaita";
package = pkgs.morewaita-icon-theme;
};
opacity = {
desktop = 1.0;
applications = 1.0;
terminal = 0.8;
popups = 0.8;
};
fonts = {
sansSerif = {
name = "Jost";
@ -32,6 +38,6 @@
};
autoEnable = true;
polarity = "light";
base16Scheme = "${pkgs.base16-schemes}/share/themes/sakura.yaml";
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-dawn.yaml";
};
}

View file

@ -3,5 +3,8 @@
programs.alacritty = {
enable = true;
package = pkgs.alacritty-graphics;
settings = {
};
};
}

View file

@ -39,6 +39,6 @@
};
};
autoEnable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/sakura.yaml";
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-dawn.yaml";
};
}

View file

@ -34,6 +34,8 @@
];
})
wine
wine64
vkbasalt
mangohud
umu-launcher

View file

@ -1,6 +1,6 @@
{pkgs, ...}: {
services.solaar = {
enable = true;
enable = truem
window = "hide";
package = pkgs.solaar;
batteryIcons = "regular";

157
systems/katvm.nix Normal file
View file

@ -0,0 +1,157 @@
_: let
hostConfig = {
tree,
pkgs,
lib,
config,
...
}: let
inherit (lib.attrsets) nameValuePair listToAttrs;
datasets = [
"root"
"nix"
"games"
"home"
"var"
];
datasetEntry = dataset:
nameValuePair (
if dataset == "root"
then "/"
else "/${dataset}"
) {
device = "zpool/${dataset}";
fsType = "zfs";
options = ["zfsutil"];
};
datasetEntries = listToAttrs (map datasetEntry datasets);
drives = {
boot = rec {
raw = "/dev/disk/by-uuid/BEDB-489E";
result = {
device = raw;
fsType = "vfat";
};
};
swap = rec {
raw = "/dev/disk/by-partuuid/cba02f4a-a90d-44e3-81a8-46bb4500112e";
result = {
device = raw;
randomEncryption = true;
};
};
};
in {
imports =
(with tree.nixos.hardware; [
])
++ (with tree.nixos.profiles; [
graphical
])
++ (with tree.nixos.environments; [
niri
]);
config = {
home-manager.users.kat = {
programs = {
konawall-py.settings = {
source = "konachan";
tags = [
"rating:s"
];
};
};
imports =
(with tree.home.profiles; [
graphical
])
++ (with tree.home.environments; [
niri
]);
};
fileSystems =
datasetEntries
// {
"/boot" = drives.boot.result;
};
swapDevices = [
drives.swap.result
];
boot = {
loader = {
grub.useOSProber = true;
systemd-boot.enable = lib.mkForce false;
};
extraModprobeConfig = "options snd_hda_intel power_save=0";
extraModulePackages = [config.boot.kernelPackages.v4l2loopback.out];
};
services.scx = {
enable = true;
package = pkgs.scx_git.full;
scheduler = "scx_lavd";
};
zramSwap.enable = true;
programs.ssh.extraConfig = ''
Host daiyousei-build
HostName 140.238.156.121
User root
IdentityAgent /run/user/1000/gnupg/S.gpg-agent.ssh
'';
nix = {
buildMachines = [
{
hostName = "daiyousei-build";
system = "aarch64-linux";
protocol = "ssh-ng";
maxJobs = 100;
speedFactor = 1;
supportedFeatures = ["benchmark" "big-parallel" "kvm"];
mandatoryFeatures = [];
}
];
distributedBuilds = true;
extraOptions = ''
builders-use-substitutes = true
'';
};
# optional, useful when the builder has a faster internet connection than yours
services = {
printing.enable = true;
syncthing = {
enable = true;
openDefaultPorts = true;
user = "kat";
dataDir = "/home/kat";
};
hardware.bolt.enable = true;
};
boot = {
supportedFilesystems = ["ntfs" "xfs"];
};
networking = {
hostId = "9ef75c48";
useDHCP = false;
};
system.stateVersion = "24.05";
};
};
in {
arch = "x86_64";
ci.enable = false; # Closure too large
type = "NixOS";
modules = [
hostConfig
];
}