chore: add all
This commit is contained in:
parent
cf0916ca4b
commit
bce8012209
9 changed files with 50 additions and 13 deletions
|
@ -13,7 +13,6 @@
|
|||
[
|
||||
mum
|
||||
btop
|
||||
pulsemixer
|
||||
unstable.qmk
|
||||
unstable.rmapi
|
||||
]
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
}: {
|
||||
imports = [
|
||||
./cava
|
||||
./dunst
|
||||
./mpv
|
||||
./obs
|
||||
./picom
|
||||
./wezterm
|
||||
];
|
||||
|
@ -16,6 +18,9 @@
|
|||
gimp
|
||||
piper
|
||||
zathura
|
||||
|
||||
# KDE Packages
|
||||
kdePackages.kdenlive
|
||||
];
|
||||
|
||||
home.file = {
|
||||
|
|
31
home-manager/sajenim/features/desktop/dunst/default.nix
Normal file
31
home-manager/sajenim/features/desktop/dunst/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
9
home-manager/sajenim/features/desktop/obs/default.nix
Normal file
9
home-manager/sajenim/features/desktop/obs/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-vaapi # AMD hardware acceleration
|
||||
];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
paths = [
|
||||
# Websites
|
||||
"/srv/www/sajenim.dev"
|
||||
# File shares
|
||||
"/srv/shares/sajenim"
|
||||
# Services
|
||||
"/var/lib/crowdsec"
|
||||
"/var/lib/forgejo"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
./mpd
|
||||
./murmur
|
||||
./opengist
|
||||
./projectsend
|
||||
./traefik
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue