chore: add all

This commit is contained in:
jasmine 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 mum
btop btop
pulsemixer
unstable.qmk unstable.qmk
unstable.rmapi unstable.rmapi
] ]

View file

@ -5,7 +5,9 @@
}: { }: {
imports = [ imports = [
./cava ./cava
./dunst
./mpv ./mpv
./obs
./picom ./picom
./wezterm ./wezterm
]; ];
@ -16,6 +18,9 @@
gimp gimp
piper piper
zathura zathura
# KDE Packages
kdePackages.kdenlive
]; ];
home.file = { 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. # Linux kernel used by NixOS.
kernelPackages = pkgs.unstable.linuxPackages; kernelPackages = pkgs.linuxPackages_latest;
# Parameters added to the kernel command line. # Parameters added to the kernel command line.
kernelParams = [ kernelParams = [
# Enable amdgpu driver sysfs API that allows fine grain control of GPU # Enable amdgpu driver sysfs API that allows fine grain control of GPU

View file

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

View file

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

View file

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

View file

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