Compare commits

..

No commits in common. "f12e603497aa39bfa1f8e781eed1bcf8e8696706" and "2bb04c947a9e11dd5a134821c776f40ab46512c8" have entirely different histories.

8 changed files with 155 additions and 118 deletions

View file

@ -83,9 +83,9 @@ exec-once=lorri daemon
#exec-once=wlsunset -S 6:00 -s 21:30 #exec-once=wlsunset -S 6:00 -s 21:30
# exec-once=swaybg -m fill -i ~/.config/hypr/wallpapers/sunflowers.jpg # 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)" # "$(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=waybar
# exec-once=quickshell -c ii # exec-once=quickshell -c ii
exec-once=blueman-applet exec-once=blueman-applet

View file

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

View file

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

View file

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

View file

@ -32,17 +32,10 @@
nvidia-vaapi-driver nvidia-vaapi-driver
]; ];
}; };
environment.systemPackages = with pkgs; [
nvitop
];
hardware.nvidia = { hardware.nvidia = {
open = true; open = false;
modesetting.enable = true; modesetting.enable = true;
# powerManagement.enable = true; powerManagement.enable = true;
nvidiaSettings = 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,14 +17,26 @@ let
in in
{ {
imports = [ 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 dms.nixosModules.greeter
# /etc/nixos/cachix.nix
]; ];
# nyx.low-power.enable = true;
hardware.nvidia.dynamicBoost.enable = lib.mkForce false; hardware.nvidia.dynamicBoost.enable = lib.mkForce false;
services.sunshine = { services.sunshine = {
enable = true; enable = true;
autoStart = true; autoStart = true;
capSysAdmin = true; capSysAdmin = true;
openFirewall = true; openFirewall = true;
}; };
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [
@ -49,16 +61,38 @@ in
nix.daemonCPUSchedPolicy = "idle"; nix.daemonCPUSchedPolicy = "idle";
nix.daemonIOSchedClass = "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"]; # networking.nameservers = ["1.1.1.1"];
services.dnsmasq = { services.dnsmasq.settings.server = [
enable = true; "100.100.100.100"
settings = {
server = [
"/ts.net/100.100.100.100"
"127.0.0.1#5053" "127.0.0.1#5053"
]; ];
};
};
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
networking.networkmanager.plugins = with pkgs; [ networkmanager-openconnect ]; networking.networkmanager.plugins = with pkgs; [ networkmanager-openconnect ];
@ -79,7 +113,7 @@ in
listen_addresses = [ "127.0.0.1:5053" ]; listen_addresses = [ "127.0.0.1:5053" ];
ipv6_servers = false; ipv6_servers = false;
block_ipv6 = !false; block_ipv6 = !(false);
require_dnssec = true; require_dnssec = true;
require_nolog = false; require_nolog = false;
@ -104,6 +138,7 @@ in
LC_TELEPHONE = "cs_CZ.UTF-8"; LC_TELEPHONE = "cs_CZ.UTF-8";
LC_TIME = "en_GB.UTF-8"; LC_TIME = "en_GB.UTF-8";
}; };
services.dnsmasq.enable = true;
services.displayManager.sddm.enable = true; services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true; services.displayManager.sddm.wayland.enable = true;
services.desktopManager.plasma6 = { services.desktopManager.plasma6 = {
@ -207,6 +242,7 @@ in
]; ];
}; };
# Comment out below for the first time to avoid cache miss, if using flake
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
# package = hyprland.packages.${pkgs.system}.hyprland; # package = hyprland.packages.${pkgs.system}.hyprland;
@ -217,6 +253,8 @@ in
# package = unstable-pkgs.hyprland; # package = unstable-pkgs.hyprland;
}; };
# End comment out
#
programs.dank-material-shell.greeter = { programs.dank-material-shell.greeter = {
enable = true; enable = true;
compositor.name = "hyprland"; # "niri" or "hyprland" or "sway" compositor.name = "hyprland"; # "niri" or "hyprland" or "sway"
@ -306,6 +344,10 @@ in
"udev.log_priority=3" "udev.log_priority=3"
]; ];
# Removing support for unneeded stuff
# zfs.enabled = false;
swraid.enable = false;
initrd.systemd.enable = true; initrd.systemd.enable = true;
# OBS Studio virtual camera # OBS Studio virtual camera
@ -398,11 +440,15 @@ in
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nixpkgs.config.cudaSupport = true; nixpkgs.config.cudaSupport = true;
# The nvidia fun part
hardware.graphics = { hardware.graphics = {
enable = true; enable = true;
# package = unstable-pkgs.mesa.drivers;
# Steam support # Steam support
enable32Bit = true; enable32Bit = true;
# package32 = unstable-pkgs.pkgsi686Linux.mesa.drivers;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
# Required for modern Intel GPUs (Xe iGPU and ARC) # Required for modern Intel GPUs (Xe iGPU and ARC)
intel-media-driver # VA-API (iHD) userspace intel-media-driver # VA-API (iHD) userspace
vpl-gpu-rt # oneVPL (QSV) runtime vpl-gpu-rt # oneVPL (QSV) runtime
@ -418,6 +464,18 @@ in
}; };
hardware.enableRedistributableFirmware = true; 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; hardware.enableAllFirmware = true;
services.cpupower-gui.enable = true; services.cpupower-gui.enable = true;
services.upower.enable = true; services.upower.enable = true;

View file

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