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
|
mum
|
||||||
btop
|
btop
|
||||||
pulsemixer
|
|
||||||
unstable.qmk
|
unstable.qmk
|
||||||
unstable.rmapi
|
unstable.rmapi
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
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.
|
# 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
|
||||||
|
|
|
||||||
|
|
@ -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 = [
|
||||||
|
|
@ -29,7 +32,6 @@
|
||||||
6600 # mpd
|
6600 # mpd
|
||||||
6667 # inspircd
|
6667 # inspircd
|
||||||
];
|
];
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Configure programs
|
# Configure programs
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
./mpd
|
./mpd
|
||||||
./murmur
|
./murmur
|
||||||
./opengist
|
./opengist
|
||||||
./projectsend
|
|
||||||
./traefik
|
./traefik
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue