Compare commits

..

2 commits

Author SHA1 Message Date
Daniel Bulant
f12e603497
jellyfin, updates 2026-04-11 11:16:36 +02:00
Daniel Bulant
94d7376bfa
update 2026-04-10 20:16:55 +02:00
8 changed files with 118 additions and 155 deletions

View file

@ -83,9 +83,9 @@ exec-once=lorri daemon
#exec-once=wlsunset -S 6:00 -s 21:30
# exec-once=swaybg -m fill -i ~/.config/hypr/wallpapers/sunflowers.jpg
exec-once = swww-daemon
#exec-once = swww-daemon
# "$(cat ~/.local/state/quickshell/user/generated/wallpaper/path.txt)"
exec-once = sleep 0.5; swww img ~/.config/hypr/wallpapers/sunflowers.jpg --transition-step 100 --transition-fps 120 --transition-type grow --transition-angle 30 --transition-duration 1
#exec-once = sleep 0.5; swww img ~/.config/hypr/wallpapers/sunflowers.jpg --transition-step 100 --transition-fps 120 --transition-type grow --transition-angle 30 --transition-duration 1
# exec-once=waybar
# exec-once=quickshell -c ii
exec-once=blueman-applet

View file

@ -4,16 +4,22 @@ background_opacity 0.4
shell nu
#map ctrl+shift+c copy_to_clipboard
#map ctrl+shift+v paste_from_clipboard
include dank-tabs.conf
tab_bar_edge top
tab_bar_style powerline
tab_powerline_style round
tab_activity_symbol *
tab_title_template "{index} {fmt.fg.color13}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}"
active_tab_foreground #ffffff
active_tab_background #09BC8A
inactive_tab_background #067555
inactive_tab_foreground #dddddd
color13 #D81E5B
color11 #F7E733
color2 #09BC8A
color14 #75DDDD
#active_tab_foreground #ffffff
#active_tab_background #09BC8A
#inactive_tab_background #067555
#inactive_tab_foreground #dddddd
#color13 #D81E5B
#color11 #F7E733
#color2 #09BC8A
#color14 #75DDDD
map kitty_mod+t new_tab_with_cwd
include dank-theme.conf

View file

@ -13,11 +13,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1773962509,
"narHash": "sha256-DAHcc8ghdDEX+xHPjuKf7qXSL/5G9NqP3mrq5jAKFi0=",
"lastModified": 1775783274,
"narHash": "sha256-Ebvn8gN4Vw4FJBQZxKm3sV9Cw+/99IwT7U83zIsboN8=",
"owner": "mrshmllow",
"repo": "affinity-nix",
"rev": "494090443b8086f14ce851ecba8463800176c1c1",
"rev": "1aa96ece7d3c39aee027b126005cf401cfb591f2",
"type": "github"
},
"original": {
@ -91,11 +91,11 @@
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1775334496,
"narHash": "sha256-dUopEMj5KhH1vnv43o29kMsayp0Ki+9EfIn4UAE9sAU=",
"lastModified": 1775776853,
"narHash": "sha256-qEYbkG9vhwCSDydV8o/RrSM5TjDafJdlcCwRqFlRnMk=",
"owner": "9001",
"repo": "copyparty",
"rev": "ede692925edfc6fca7a52f483414d543e9303237",
"rev": "ed516ddc20493e670c141c4a3811f93632be046e",
"type": "github"
},
"original": {
@ -338,11 +338,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1769996383,
"narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
"lastModified": 1775087534,
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
"type": "github"
},
"original": {
@ -445,11 +445,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1769939035,
"narHash": "sha256-Fok2AmefgVA0+eprw2NDwqKkPGEI5wvR+twiZagBvrg=",
"lastModified": 1775585728,
"narHash": "sha256-8Psjt+TWvE4thRKktJsXfR6PA/fWWsZ04DVaY6PUhr4=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "a8ca480175326551d6c4121498316261cbb5b260",
"rev": "580633fa3fe5fc0379905986543fd7495481913d",
"type": "github"
},
"original": {
@ -582,11 +582,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1775270414,
"narHash": "sha256-hsPjh2dC4j5fJCf0caGUa5/xvI+TttnASrwpynQpYks=",
"lastModified": 1775727767,
"narHash": "sha256-vef6j024ZaMFT2CJXPEmyPLxwho4+tDc1FzKWV8XUhE=",
"owner": "schembriaiden",
"repo": "helium-browser-nix-flake",
"rev": "55e5833c8c5f664b9d830e3ccd3ca56f7d7e2701",
"rev": "a22cee25640671f6e21b693b7e8cd0ca1349eb55",
"type": "github"
},
"original": {
@ -602,11 +602,11 @@
]
},
"locked": {
"lastModified": 1775587248,
"narHash": "sha256-lMdrBTTTUprYOeoxRLmwtQAvyaxkWZtx+EEkeJHGxrY=",
"lastModified": 1775781825,
"narHash": "sha256-L5yKTpR+alrZU2XYYvIxCeCP4LBHU5jhwSj7H1VAavg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "9cc761169a1bbf1d9787cdbe9abf07f4bae213a1",
"rev": "e35c39fca04fee829cecdf839a50eb9b54d8a701",
"type": "github"
},
"original": {
@ -1025,11 +1025,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1775566751,
"narHash": "sha256-5Xkx4NQvl2azAQe3lCZCMUx4FiwGOlEb+I4kyycQYw8=",
"lastModified": 1775802594,
"narHash": "sha256-miydzsK4cMzBXoHw+/5Am4PwB/P/ifWOlfHHqFe7FKU=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "6aa49a9c5b82911459e230db5bd64289082d4354",
"rev": "63213c63766e5bb28e0e0b078c4628b01b24c92f",
"type": "github"
},
"original": {
@ -1099,11 +1099,11 @@
"nixpkgs": "nixpkgs_10"
},
"locked": {
"lastModified": 1775530395,
"narHash": "sha256-9Eohxb0Ffb7nUh1eO4lRKcGjSPH5thaykcoz0/gG4x4=",
"lastModified": 1775791406,
"narHash": "sha256-uou25Y8kHz477am/W4b9mIrxYY+qxO5CEcjW/LJPs6w=",
"owner": "fufexan",
"repo": "nix-gaming",
"rev": "2e713958fe5fee54b3c648abfa76a9a10be0b355",
"rev": "feff81fb337e4fc23c730b51e9367e42a282e53e",
"type": "github"
},
"original": {
@ -1185,11 +1185,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1764947035,
"narHash": "sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx+J2FfutM7T9w=",
"lastModified": 1770073757,
"narHash": "sha256-Vy+G+F+3E/Tl+GMNgiHl9Pah2DgShmIUBJXmbiQPHbI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a672be65651c80d3f592a89b3945466584a22069",
"rev": "47472570b1e607482890801aeaf29bfb749884f6",
"type": "github"
},
"original": {
@ -1217,11 +1217,11 @@
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1769909678,
"narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=",
"lastModified": 1774748309,
"narHash": "sha256-+U7gF3qxzwD5TZuANzZPeJTZRHS29OFQgkQ2kiTJBIQ=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "72716169fe93074c333e8d0173151350670b824c",
"rev": "333c4e0545a6da976206c74db8773a1645b5870a",
"type": "github"
},
"original": {
@ -1263,11 +1263,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1775305101,
"narHash": "sha256-/74n1oQPtKG52Yw41cbToxspxHbYz6O3vi+XEw16Qe8=",
"lastModified": 1775595990,
"narHash": "sha256-OEf7YqhF9IjJFYZJyuhAypgU+VsRB5lD4DuiMws5Ltc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "36a601196c4ebf49e035270e10b2d103fe39076b",
"rev": "4e92bbcdb030f3b4782be4751dc08e6b6cb6ccf2",
"type": "github"
},
"original": {
@ -1279,11 +1279,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1775423009,
"narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=",
"lastModified": 1775710090,
"narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9",
"rev": "4c1018dae018162ec878d42fec712642d214fdfa",
"type": "github"
},
"original": {
@ -1327,11 +1327,11 @@
},
"nixpkgs_11": {
"locked": {
"lastModified": 1775423009,
"narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=",
"lastModified": 1775710090,
"narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9",
"rev": "4c1018dae018162ec878d42fec712642d214fdfa",
"type": "github"
},
"original": {
@ -1391,11 +1391,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1767364772,
"narHash": "sha256-fFUnEYMla8b7UKjijLnMe+oVFOz6HjijGGNS1l7dYaQ=",
"lastModified": 1770107345,
"narHash": "sha256-tbS0Ebx2PiA1FRW8mt8oejR0qMXmziJmPaU1d4kYY9g=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "16c7794d0a28b5a37904d55bcca36003b9109aaa",
"rev": "4533d9293756b63904b7238acb84ac8fe4c8c2c4",
"type": "github"
},
"original": {
@ -1498,11 +1498,11 @@
"on-linux": {
"flake": false,
"locked": {
"lastModified": 1769366983,
"narHash": "sha256-uBLHcm0WP8n4ms7eV05wt4mc9uvUo9OVMM/41lW+u8Q=",
"lastModified": 1772699425,
"narHash": "sha256-xhqkN2I5r+Ty2k8HEsLg5e8Eaazb0Qyioqjs87BQOnY=",
"owner": "seapear",
"repo": "AffinityOnLinux",
"rev": "c3909c9e265f8091b9b0b26d8f51815a0a19e547",
"rev": "a0c4421946709c24c3f371fcbf15a45b814f188c",
"type": "github"
},
"original": {
@ -1514,13 +1514,13 @@
"plugin-loader": {
"flake": false,
"locked": {
"narHash": "sha256-mixBa/xIfSIrSS3+bGqznXxSE6h8s7e2xoJM2g4eXhg=",
"narHash": "sha256-kNkJdzyH7hWjFNuXohGNYazYaqNgJQSpWFT3fRIdcsg=",
"type": "file",
"url": "https://github.com/noahc3/AffinityPluginLoader/releases/download/v0.2.0/affinitypluginloader-plus-winefix.tar.xz"
"url": "https://github.com/noahc3/AffinityPluginLoader/releases/download/v0.3.0/affinitypluginloader-plus-winefix.tar.xz"
},
"original": {
"type": "file",
"url": "https://github.com/noahc3/AffinityPluginLoader/releases/download/v0.2.0/affinitypluginloader-plus-winefix.tar.xz"
"url": "https://github.com/noahc3/AffinityPluginLoader/releases/download/v0.3.0/affinitypluginloader-plus-winefix.tar.xz"
}
},
"pre-commit-hooks": {
@ -1599,11 +1599,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1774894721,
"narHash": "sha256-cRWVv64tIV0ADqHHKKVOWsVbzrDJT5PiieWMhf67dLE=",
"lastModified": 1775833726,
"narHash": "sha256-WOoaKroRdoiSCGOxNKbFvP0Q+qp30l2dPHBDmCh3fO4=",
"owner": "temidaradev",
"repo": "rusic",
"rev": "4c527c8f1cffe5982e598663deddd454a9d53df6",
"rev": "74e395f818b6bd8d25ef8315039be7416f173aa0",
"type": "github"
},
"original": {
@ -1699,11 +1699,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1769691507,
"narHash": "sha256-8aAYwyVzSSwIhP2glDhw/G0i5+wOrren3v6WmxkVonM=",
"lastModified": 1775636079,
"narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "28b19c5844cc6e2257801d43f2772a4b4c050a1b",
"rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba",
"type": "github"
},
"original": {
@ -1816,11 +1816,11 @@
"nixpkgs": "nixpkgs_13"
},
"locked": {
"lastModified": 1775453133,
"narHash": "sha256-VIlMG985ONqVqF+OnPuS5Shbz5k6tqbOWnDL7EH+IT4=",
"lastModified": 1775744672,
"narHash": "sha256-Qg3Wnn3WYiiii35CE9kE+XX4ooSFzupAnGC1/NjI5C8=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "8d0508ffceba8ad785ae442591dd115080a55142",
"rev": "14a238beb0621977e9bf04cba68919d5650deea9",
"type": "github"
},
"original": {

View file

@ -98,6 +98,8 @@
}
./servers/fern/configuration.nix
./servers/ui-mode/configuration.nix
nix-index-database.nixosModules.nix-index
{ programs.nix-index-database.comma.enable = true; }
];
};

View file

@ -1,10 +1,10 @@
{
config,
# config,
nix-index-database,
pkgs,
lib,
name ? "eisen",
copyparty,
# copyparty,
...
}:
let
@ -13,13 +13,14 @@ let
ports = {
"status" = 3001;
"glance" = 5678;
"jellyfin" = 8096;
# "copyparty" = 3210;
# "syncthing" = 8384;
# "gitea" = 3000;
# "immich" = 2283;
# "grafana" = 3002;
"ntfy" = 3003;
"suwayomi" = 3004;
# "suwayomi" = 3004;
};
in
{
@ -71,6 +72,10 @@ in
avahi.enable = true;
lldpd.enable = true;
jellyfin = {
enable = true;
};
# syncthing = {
# enable = true;
# openDefaultPorts = true;
@ -128,17 +133,17 @@ in
# };
# prometheus.enable = true;
suwayomi-server = {
enable = true;
settings.server = {
port = ports.suwayomi;
extensionRepos = [
"https://raw.githubusercontent.com/keiyoushi/extensions/repo/index.min.json"
];
};
};
# suwayomi-server = {
# enable = true;
# settings.server = {
# port = ports.suwayomi;
# extensionRepos = [
# "https://raw.githubusercontent.com/keiyoushi/extensions/repo/index.min.json"
# ];
# };
# };
flaresolverr.enable = true;
# flaresolverr.enable = true;
# immich = {
# enable = true;
@ -260,9 +265,6 @@ in
"adbusers"
];
shell = pkgs.nushell;
packages = with pkgs; [
];
};
nix.settings.trusted-users = [
"root"
@ -271,6 +273,8 @@ in
];
environment.systemPackages = with pkgs; [
lsof
rsync
git
nvtopPackages.full
btop

View file

@ -32,10 +32,17 @@
nvidia-vaapi-driver
];
};
environment.systemPackages = with pkgs; [
nvitop
];
hardware.nvidia = {
open = false;
open = true;
modesetting.enable = true;
powerManagement.enable = true;
# powerManagement.enable = true;
nvidiaSettings = true;
};
services.xserver.videoDrivers = [ "nvidia" ];
# powerManagement.enable = true;
hardware.nvidia-container-toolkit.enable = true;
virtualisation.docker.daemon.settings.features.cdi = true;
}

View file

@ -17,26 +17,14 @@ let
in
{
imports = [
# nixos-hardware.nixosModules.lenovo-legion-16ach6h-hybrid # this is borked in latest update for some reason, edid doesn't build
# nixos-hardware.nixosModules.common-cpu-amd
# nixos-hardware.nixosModules.common-cpu-amd-pstate
# nixos-hardware.nixosModules.common-cpu-amd-zenpower
# nixos-hardware.nixosModules.common-gpu-amd
# nixos-hardware.nixosModules.common-gpu-nvidia
# nixos-hardware.nixosModules.common-pc-laptop
# nixos-hardware.nixosModules.common-pc-laptop-ssd
# ./hardware-configuration.nix
dms.nixosModules.greeter
# /etc/nixos/cachix.nix
];
# nyx.low-power.enable = true;
hardware.nvidia.dynamicBoost.enable = lib.mkForce false;
services.sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true;
openFirewall = true;
};
nixpkgs.config.permittedInsecurePackages = [
@ -61,38 +49,16 @@ in
nix.daemonCPUSchedPolicy = "idle";
nix.daemonIOSchedClass = "idle";
#fileSystems."/media/New BTRFS" = {
# device = "/dev/disk/by-uuid/26b1fa88-e270-45c7-a6c0-d46c9d4c6c90";
# fsType = "btrfs";
#};
#fileSystems."/media/secondary" = {
# device = "/dev/disk/by-uuid/050574C34881C3B9";
# fsType = "ntfs";
#};
#fileSystems."/media/windows" = {
# device = "/dev/disk/by-uuid/846A9EF06A9EDE6C";
# fsType = "ntfs";
#};
# services.beesd.filesystems = {
# root = {
# spec = "UUID=26b1fa88-e270-45c7-a6c0-d46c9d4c6c90";
# hashTableSizeMB = 1024;
# extraOptions = [
# "-c" "4"
# "-g" "10"
# ];
# };
# };
#networking.hostName = "aura";
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# networking.nameservers = ["1.1.1.1"];
services.dnsmasq.settings.server = [
"100.100.100.100"
"127.0.0.1#5053"
];
services.dnsmasq = {
enable = true;
settings = {
server = [
"/ts.net/100.100.100.100"
"127.0.0.1#5053"
];
};
};
networking.networkmanager.enable = true;
networking.networkmanager.plugins = with pkgs; [ networkmanager-openconnect ];
@ -113,7 +79,7 @@ in
listen_addresses = [ "127.0.0.1:5053" ];
ipv6_servers = false;
block_ipv6 = !(false);
block_ipv6 = !false;
require_dnssec = true;
require_nolog = false;
@ -138,7 +104,6 @@ in
LC_TELEPHONE = "cs_CZ.UTF-8";
LC_TIME = "en_GB.UTF-8";
};
services.dnsmasq.enable = true;
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
services.desktopManager.plasma6 = {
@ -242,7 +207,6 @@ in
];
};
# Comment out below for the first time to avoid cache miss, if using flake
programs.hyprland = {
enable = true;
# package = hyprland.packages.${pkgs.system}.hyprland;
@ -253,8 +217,6 @@ in
# package = unstable-pkgs.hyprland;
};
# End comment out
#
programs.dank-material-shell.greeter = {
enable = true;
compositor.name = "hyprland"; # "niri" or "hyprland" or "sway"
@ -344,10 +306,6 @@ in
"udev.log_priority=3"
];
# Removing support for unneeded stuff
# zfs.enabled = false;
swraid.enable = false;
initrd.systemd.enable = true;
# OBS Studio virtual camera
@ -440,15 +398,11 @@ in
nixpkgs.config.allowUnfree = true;
nixpkgs.config.cudaSupport = true;
# The nvidia fun part
hardware.graphics = {
enable = true;
# package = unstable-pkgs.mesa.drivers;
# Steam support
enable32Bit = true;
# package32 = unstable-pkgs.pkgsi686Linux.mesa.drivers;
extraPackages = with pkgs; [
# Required for modern Intel GPUs (Xe iGPU and ARC)
intel-media-driver # VA-API (iHD) userspace
vpl-gpu-rt # oneVPL (QSV) runtime
@ -464,18 +418,6 @@ in
};
hardware.enableRedistributableFirmware = true;
#boot.kernelModules = ["amdgpu" "nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm" "lenovo-legion-module"];
#hardware.nvidia = {
# open = false;
# modesetting.enable = true;
# powerManagement.enable = true;
# nvidiaSettings = true;
# prime = {
# hardware specific, beware!
# amdgpuBusId = lib.mkForce "PCI:06:00:0";
# nvidiaBusId = lib.mkForce "PCI:01:00:0";
# };
#};
hardware.enableAllFirmware = true;
services.cpupower-gui.enable = true;
services.upower.enable = true;

View file

@ -38,6 +38,8 @@ in
stateVersion = "25.11";
packages = with pkgs; [
unstable.gearlever
linux-wallpaperengine
lmstudio
spacetimedb
nixd
@ -52,7 +54,7 @@ in
itch
filezilla
nicotine-plus
protonvpn-gui
proton-vpn
dgop
mysql-workbench
i2c-tools
@ -114,7 +116,7 @@ in
cava
cliphist
matugen
swww
#awww
kdePackages.fcitx5-with-addons
easyeffects
mpvpaper