chore: add all

This commit is contained in:
♥ Minnie ♥ 2025-09-01 01:48:47 +08:00
parent cf0916ca4b
commit bce8012209
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
9 changed files with 50 additions and 13 deletions

View file

@ -13,7 +13,6 @@
[
mum
btop
pulsemixer
unstable.qmk
unstable.rmapi
]

View file

@ -5,7 +5,9 @@
}: {
imports = [
./cava
./dunst
./mpv
./obs
./picom
./wezterm
];
@ -16,6 +18,9 @@
gimp
piper
zathura
# KDE Packages
kdePackages.kdenlive
];
home.file = {

View file

@ -0,0 +1,31 @@
{...}: {
services.dunst = {
enable = true;
settings = {
global = {
width = 300;
height = 300;
origin = "top-right";
offset = "20x20";
frame_width = 5;
frame_color = "#32302f";
corner_radius = 10;
};
urgency_low = {
background = "#282828";
foreground = "#d4be98";
};
urgency_normal = {
background = "#282828";
foreground = "#d4be98";
};
urgency_critical = {
background = "#282828";
foreground = "#d4be98";
};
};
};
}

View file

@ -0,0 +1,9 @@
{pkgs, ...}: {
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
obs-vaapi # AMD hardware acceleration
];
};
}

View file

@ -20,7 +20,7 @@
};
# Linux kernel used by NixOS.
kernelPackages = pkgs.unstable.linuxPackages;
kernelPackages = pkgs.linuxPackages_latest;
# Parameters added to the kernel command line.
kernelParams = [
# Enable amdgpu driver sysfs API that allows fine grain control of GPU

View file

@ -20,7 +20,10 @@
networking = {
hostName = "viridian";
networkmanager.enable = true;
firewall = {
};
# Firewall configuration
networking.firewall = {
enable = true;
allowPing = true;
allowedTCPPorts = [
@ -29,7 +32,6 @@
6600 # mpd
6667 # inspircd
];
};
};
# Configure programs

View file

@ -63,12 +63,6 @@
options = ["subvol=containers" "compress=zstd"];
};
fileSystems."/srv/shares" = {
device = "/dev/disk/by-label/data";
fsType = "btrfs";
options = ["subvol=shares" "compress=zstd"];
};
swapDevices = [
{
device = "/swap/swapfile";

View file

@ -7,8 +7,6 @@
paths = [
# Websites
"/srv/www/sajenim.dev"
# File shares
"/srv/shares/sajenim"
# Services
"/var/lib/crowdsec"
"/var/lib/forgejo"

View file

@ -10,7 +10,6 @@
./mpd
./murmur
./opengist
./projectsend
./traefik
];
}