My NixOS config Part 3: Flake-Parts Crusaders nix.ladas552.me
hjem nix nixos impermanence flake-parts nvfetcher niri noctalia
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

tlp profiles

ladas552.me 0c1363ce b7de3b1b

verified
+79 -136
+23 -23
_sources/generated.json
··· 41 41 }, 42 42 "copyparty": { 43 43 "cargoLock": null, 44 - "date": "2026-04-09", 44 + "date": "2026-04-11", 45 45 "extract": null, 46 46 "name": "copyparty", 47 47 "passthru": null, ··· 51 51 "fetchSubmodules": false, 52 52 "leaveDotGit": false, 53 53 "name": null, 54 - "rev": "ed516ddc20493e670c141c4a3811f93632be046e", 55 - "sha256": "sha256-qEYbkG9vhwCSDydV8o/RrSM5TjDafJdlcCwRqFlRnMk=", 54 + "rev": "a5d859d2b18f53ccf236bc6229856f79139d531c", 55 + "sha256": "sha256-NfzRZ5DZo8Mwb31ocimy3IMhr3kmYGQ3/ImfnEQkQLw=", 56 56 "sparseCheckout": [], 57 57 "type": "git", 58 58 "url": "https://github.com/9001/copyparty" 59 59 }, 60 - "version": "ed516ddc20493e670c141c4a3811f93632be046e" 60 + "version": "a5d859d2b18f53ccf236bc6229856f79139d531c" 61 61 }, 62 62 "cyrillic": { 63 63 "cargoLock": null, ··· 110 110 "pinned": false, 111 111 "src": { 112 112 "name": null, 113 - "sha256": "sha256-ob1iSE+4IrsHthEpEypgSkZs2LT4H2YXknjD1FKn3sc=", 113 + "sha256": "sha256-1y6ndVGeqa61KpmRv9dukffpCxdrOy97jMeQcymB0bc=", 114 114 "type": "url", 115 - "url": "https://github.com/imputnet/helium-linux/releases/download/0.10.9.1/helium-0.10.9.1-x86_64_linux.tar.xz" 115 + "url": "https://github.com/imputnet/helium-linux/releases/download/0.11.1.1/helium-0.11.1.1-x86_64_linux.tar.xz" 116 116 }, 117 - "version": "0.10.9.1" 117 + "version": "0.11.1.1" 118 118 }, 119 119 "impermanence": { 120 120 "cargoLock": null, ··· 222 222 }, 223 223 "nix-minecraft": { 224 224 "cargoLock": null, 225 - "date": "2026-04-10", 225 + "date": "2026-04-13", 226 226 "extract": null, 227 227 "name": "nix-minecraft", 228 228 "passthru": null, ··· 232 232 "fetchSubmodules": false, 233 233 "leaveDotGit": false, 234 234 "name": null, 235 - "rev": "c4c6a33affcc15cde3df06083e96cda87f9a7627", 236 - "sha256": "sha256-3BS1Hw+3A3uf4G/8zwts3ZgxSnYq0y+QntbwO+b6KEw=", 235 + "rev": "c5eb01b60873e331265779028a839cd2b5237874", 236 + "sha256": "sha256-zqDhVyUtctq7HlpMC9cdR277ner0L/f7SkC3oKbZwy0=", 237 237 "sparseCheckout": [], 238 238 "type": "git", 239 239 "url": "https://github.com/Infinidoge/nix-minecraft" 240 240 }, 241 - "version": "c4c6a33affcc15cde3df06083e96cda87f9a7627" 241 + "version": "c5eb01b60873e331265779028a839cd2b5237874" 242 242 }, 243 243 "nixos-hardware": { 244 244 "cargoLock": null, ··· 282 282 }, 283 283 "noctalia-dev": { 284 284 "cargoLock": null, 285 - "date": "2026-04-09", 285 + "date": "2026-04-13", 286 286 "extract": null, 287 287 "name": "noctalia-dev", 288 288 "passthru": null, ··· 292 292 "fetchSubmodules": false, 293 293 "leaveDotGit": false, 294 294 "name": null, 295 - "rev": "e85ce902cb5336ca2ab68bbb919d9a9f6670aec4", 296 - "sha256": "sha256-nV0BDaByz4qhvgQ8KuTvVXIKwphiQWA4gvK2kc+xp8k=", 295 + "rev": "e56a9db57ed61ea248f109edd60965faf56d3da2", 296 + "sha256": "sha256-ie3vFwg0eZTTHBDCRm+ee/PecbtdPn/pyL6hlotAfeQ=", 297 297 "sparseCheckout": [], 298 298 "type": "git", 299 299 "url": "https://github.com/noctalia-dev/noctalia-shell" 300 300 }, 301 - "version": "e85ce902cb5336ca2ab68bbb919d9a9f6670aec4" 301 + "version": "e56a9db57ed61ea248f109edd60965faf56d3da2" 302 302 }, 303 303 "noctalia-qs": { 304 304 "cargoLock": null, 305 - "date": "2026-04-06", 305 + "date": "2026-04-12", 306 306 "extract": null, 307 307 "name": "noctalia-qs", 308 308 "passthru": null, ··· 312 312 "fetchSubmodules": false, 313 313 "leaveDotGit": false, 314 314 "name": null, 315 - "rev": "9e2736531ef7a1a336abf7ec72255d0b192273b6", 316 - "sha256": "sha256-elzmRpudiwtYQNCKk9TAEhlYQV0+yUM81poo01Z7FfQ=", 315 + "rev": "68e82fe34c68ee839a9c37e3466820e266af0c86", 316 + "sha256": "sha256-d4CVRtAty2GzDYXx4xYQmR+nlOjjKovyprQfZhgLckU=", 317 317 "sparseCheckout": [], 318 318 "type": "git", 319 319 "url": "https://github.com/noctalia-dev/noctalia-qs" 320 320 }, 321 - "version": "9e2736531ef7a1a336abf7ec72255d0b192273b6" 321 + "version": "68e82fe34c68ee839a9c37e3466820e266af0c86" 322 322 }, 323 323 "sops-nix": { 324 324 "cargoLock": null, 325 - "date": "2026-04-08", 325 + "date": "2026-04-12", 326 326 "extract": null, 327 327 "name": "sops-nix", 328 328 "passthru": null, ··· 332 332 "fetchSubmodules": false, 333 333 "leaveDotGit": false, 334 334 "name": null, 335 - "rev": "d2e8438d5886e92bc5e7c40c035ab6cae0c41f76", 336 - "sha256": "sha256-0E9PohY/VuESLq0LR4doaH7hTag513sDDW5n5qmHd1Q=", 335 + "rev": "31ac5fe5d015f76b54058c69fcaebb66a55871a4", 336 + "sha256": "sha256-VKp9bhVSm0bT6JWctFy06ocqxGGnWHi1NfoE90IgIcY=", 337 337 "sparseCheckout": [], 338 338 "type": "git", 339 339 "url": "https://github.com/Mic92/sops-nix" 340 340 }, 341 - "version": "d2e8438d5886e92bc5e7c40c035ab6cae0c41f76" 341 + "version": "31ac5fe5d015f76b54058c69fcaebb66a55871a4" 342 342 } 343 343 }
+23 -23
_sources/generated.nix
··· 36 36 }; 37 37 copyparty = { 38 38 pname = "copyparty"; 39 - version = "ed516ddc20493e670c141c4a3811f93632be046e"; 39 + version = "a5d859d2b18f53ccf236bc6229856f79139d531c"; 40 40 src = fetchgit { 41 41 url = "https://github.com/9001/copyparty"; 42 - rev = "ed516ddc20493e670c141c4a3811f93632be046e"; 42 + rev = "a5d859d2b18f53ccf236bc6229856f79139d531c"; 43 43 fetchSubmodules = false; 44 44 deepClone = false; 45 45 leaveDotGit = false; 46 46 sparseCheckout = [ ]; 47 - sha256 = "sha256-qEYbkG9vhwCSDydV8o/RrSM5TjDafJdlcCwRqFlRnMk="; 47 + sha256 = "sha256-NfzRZ5DZo8Mwb31ocimy3IMhr3kmYGQ3/ImfnEQkQLw="; 48 48 }; 49 - date = "2026-04-09"; 49 + date = "2026-04-11"; 50 50 }; 51 51 cyrillic = { 52 52 pname = "cyrillic"; ··· 74 74 }; 75 75 helium = { 76 76 pname = "helium"; 77 - version = "0.10.9.1"; 77 + version = "0.11.1.1"; 78 78 src = fetchurl { 79 - url = "https://github.com/imputnet/helium-linux/releases/download/0.10.9.1/helium-0.10.9.1-x86_64_linux.tar.xz"; 80 - sha256 = "sha256-ob1iSE+4IrsHthEpEypgSkZs2LT4H2YXknjD1FKn3sc="; 79 + url = "https://github.com/imputnet/helium-linux/releases/download/0.11.1.1/helium-0.11.1.1-x86_64_linux.tar.xz"; 80 + sha256 = "sha256-1y6ndVGeqa61KpmRv9dukffpCxdrOy97jMeQcymB0bc="; 81 81 }; 82 82 }; 83 83 impermanence = { ··· 144 144 }; 145 145 nix-minecraft = { 146 146 pname = "nix-minecraft"; 147 - version = "c4c6a33affcc15cde3df06083e96cda87f9a7627"; 147 + version = "c5eb01b60873e331265779028a839cd2b5237874"; 148 148 src = fetchgit { 149 149 url = "https://github.com/Infinidoge/nix-minecraft"; 150 - rev = "c4c6a33affcc15cde3df06083e96cda87f9a7627"; 150 + rev = "c5eb01b60873e331265779028a839cd2b5237874"; 151 151 fetchSubmodules = false; 152 152 deepClone = false; 153 153 leaveDotGit = false; 154 154 sparseCheckout = [ ]; 155 - sha256 = "sha256-3BS1Hw+3A3uf4G/8zwts3ZgxSnYq0y+QntbwO+b6KEw="; 155 + sha256 = "sha256-zqDhVyUtctq7HlpMC9cdR277ner0L/f7SkC3oKbZwy0="; 156 156 }; 157 - date = "2026-04-10"; 157 + date = "2026-04-13"; 158 158 }; 159 159 nixos-hardware = { 160 160 pname = "nixos-hardware"; ··· 186 186 }; 187 187 noctalia-dev = { 188 188 pname = "noctalia-dev"; 189 - version = "e85ce902cb5336ca2ab68bbb919d9a9f6670aec4"; 189 + version = "e56a9db57ed61ea248f109edd60965faf56d3da2"; 190 190 src = fetchgit { 191 191 url = "https://github.com/noctalia-dev/noctalia-shell"; 192 - rev = "e85ce902cb5336ca2ab68bbb919d9a9f6670aec4"; 192 + rev = "e56a9db57ed61ea248f109edd60965faf56d3da2"; 193 193 fetchSubmodules = false; 194 194 deepClone = false; 195 195 leaveDotGit = false; 196 196 sparseCheckout = [ ]; 197 - sha256 = "sha256-nV0BDaByz4qhvgQ8KuTvVXIKwphiQWA4gvK2kc+xp8k="; 197 + sha256 = "sha256-ie3vFwg0eZTTHBDCRm+ee/PecbtdPn/pyL6hlotAfeQ="; 198 198 }; 199 - date = "2026-04-09"; 199 + date = "2026-04-13"; 200 200 }; 201 201 noctalia-qs = { 202 202 pname = "noctalia-qs"; 203 - version = "9e2736531ef7a1a336abf7ec72255d0b192273b6"; 203 + version = "68e82fe34c68ee839a9c37e3466820e266af0c86"; 204 204 src = fetchgit { 205 205 url = "https://github.com/noctalia-dev/noctalia-qs"; 206 - rev = "9e2736531ef7a1a336abf7ec72255d0b192273b6"; 206 + rev = "68e82fe34c68ee839a9c37e3466820e266af0c86"; 207 207 fetchSubmodules = false; 208 208 deepClone = false; 209 209 leaveDotGit = false; 210 210 sparseCheckout = [ ]; 211 - sha256 = "sha256-elzmRpudiwtYQNCKk9TAEhlYQV0+yUM81poo01Z7FfQ="; 211 + sha256 = "sha256-d4CVRtAty2GzDYXx4xYQmR+nlOjjKovyprQfZhgLckU="; 212 212 }; 213 - date = "2026-04-06"; 213 + date = "2026-04-12"; 214 214 }; 215 215 sops-nix = { 216 216 pname = "sops-nix"; 217 - version = "d2e8438d5886e92bc5e7c40c035ab6cae0c41f76"; 217 + version = "31ac5fe5d015f76b54058c69fcaebb66a55871a4"; 218 218 src = fetchgit { 219 219 url = "https://github.com/Mic92/sops-nix"; 220 - rev = "d2e8438d5886e92bc5e7c40c035ab6cae0c41f76"; 220 + rev = "31ac5fe5d015f76b54058c69fcaebb66a55871a4"; 221 221 fetchSubmodules = false; 222 222 deepClone = false; 223 223 leaveDotGit = false; 224 224 sparseCheckout = [ ]; 225 - sha256 = "sha256-0E9PohY/VuESLq0LR4doaH7hTag513sDDW5n5qmHd1Q="; 225 + sha256 = "sha256-VKp9bhVSm0bT6JWctFy06ocqxGGnWHi1NfoE90IgIcY="; 226 226 }; 227 - date = "2026-04-08"; 227 + date = "2026-04-12"; 228 228 }; 229 229 }
+10 -10
flake.lock
··· 115 115 ] 116 116 }, 117 117 "locked": { 118 - "lastModified": 1775781825, 119 - "narHash": "sha256-L5yKTpR+alrZU2XYYvIxCeCP4LBHU5jhwSj7H1VAavg=", 118 + "lastModified": 1776046499, 119 + "narHash": "sha256-Wzc4nn07/0RL21ypPHRzNDQZcjhIC8LaYo7QJQjM5T4=", 120 120 "owner": "nix-community", 121 121 "repo": "home-manager", 122 - "rev": "e35c39fca04fee829cecdf839a50eb9b54d8a701", 122 + "rev": "287f84846c1eb3b72c986f5f6bebcff0bd67440d", 123 123 "type": "github" 124 124 }, 125 125 "original": { ··· 239 239 ] 240 240 }, 241 241 "locked": { 242 - "lastModified": 1775816888, 243 - "narHash": "sha256-o96aqIfVa3mVHpEZ7EwF0cSQTBd5eds2ML/gv14PUn4=", 242 + "lastModified": 1775892726, 243 + "narHash": "sha256-1TK1pe33cEHNvGW41TP5xAzrbG1Gp7LfyFL6c3+xf+I=", 244 244 "owner": "notashelf", 245 245 "repo": "nvf", 246 - "rev": "50a97efee84b0121f15728c912da993b79203b71", 246 + "rev": "5ab359ee7dfd3fa09a5c6f863efaf810bb9a9436", 247 247 "type": "github" 248 248 }, 249 249 "original": { ··· 312 312 "sqlite-lib-src": "sqlite-lib-src" 313 313 }, 314 314 "locked": { 315 - "lastModified": 1775806124, 316 - "narHash": "sha256-K0Th4lG2eqwjnMbsJOw05qAtQn/BQHykfzheH0MZN5U=", 315 + "lastModified": 1776088713, 316 + "narHash": "sha256-aYeDY7ruf9MHsI++hpoEHyWIk6jxbItpS5lPRJfwYRE=", 317 317 "ref": "refs/heads/master", 318 - "rev": "7ef0e37220e456e23b12e112a2608b6585966d2e", 319 - "revCount": 2217, 318 + "rev": "d404bb7633c163b35e61f6bebfc642444247ac9f", 319 + "revCount": 2224, 320 320 "type": "git", 321 321 "url": "https://tangled.org/@tangled.org/core" 322 322 },
+2 -2
modules/hosts/NixPort/imports.nix
··· 39 39 systemd-boot 40 40 tailscale 41 41 thunar 42 - # tlp 43 - lact 42 + tlp 43 + # lact 44 44 noct 45 45 xkb 46 46 zfs
+6
modules/nixosModules/Desktops/niri/noct/settings.json
··· 398 398 }, 399 399 { 400 400 "id": "WallpaperSelector" 401 + }, 402 + { 403 + "id": "PowerProfile" 404 + }, 405 + { 406 + "id": "NoctaliaPerformance" 401 407 } 402 408 ], 403 409 "right": [
+1
modules/nixosModules/Impermanence/persist.nix
··· 28 28 ".cache/keepassxc" 29 29 ".config/keepassxc" 30 30 ".config/qBittorrent" 31 + ".config/Element" 31 32 ".local/share/qBittorrent" 32 33 ".cache/nix" 33 34 ".cache/nix-index"
+3
modules/nixosModules/Nix/nix.nix
··· 44 44 ]; 45 45 nix-path = lib.mapAttrsToList (n: _: "${n}=flake:${n}") inputs; 46 46 flake-registry = ""; # optional, ensures flakes are truly self-contained 47 + # some options 48 + lint-short-path-literals = "warn"; 49 + lint-url-literals = "warn"; 47 50 }; 48 51 }; 49 52 # nixpkgs options
+6 -77
modules/nixosModules/lact.nix
··· 1 1 { 2 - flake.modules.nixos.lact = 3 - # Stolen from @vimjoyer https://github.com/vimjoyer/nixconf/blob/421795866265554d9ca5f2c7b658aac80d9ab0f9/nixos/features/powersave.nix 4 - { pkgs, lib, ... }: 5 - { 6 - services.power-profiles-daemon.enable = true; 7 - services.thermald.enable = true; 8 - services.upower.enable = true; 9 - powerManagement.enable = true; 10 - powerManagement.powertop.enable = true; 11 - 12 - hardware.amdgpu.overdrive.enable = true; 13 - services.lact.enable = true; 14 - 15 - systemd.services.lact-monitor = { 16 - enable = true; 17 - description = "Monitor PowerProfiles and update LACT profile"; 18 - after = [ 19 - "network.target" 20 - "lactd.service" 21 - "power-profiles-daemon.service" 22 - ]; 23 - wants = [ 24 - "lactd.service" 25 - "power-profiles-daemon.service" 26 - ]; 27 - serviceConfig = { 28 - Type = "simple"; 29 - ExecStartPre = lib.getExe ( 30 - pkgs.writeShellApplication { 31 - name = "lact-initial-set"; 32 - runtimeInputs = [ 33 - pkgs.lact 34 - pkgs.glib 35 - pkgs.dbus 36 - pkgs.power-profiles-daemon 37 - ]; 38 - text = '' 39 - profile=$(powerprofilesctl get) 40 - if [[ $profile == "power-saver" ]]; then 41 - lact cli profile set "power-saver" 42 - else 43 - lact cli profile set "default" 44 - fi 45 - ''; 46 - } 47 - ); 48 - ExecStart = lib.getExe ( 49 - pkgs.writeShellApplication { 50 - name = "lact-watcher"; 51 - runtimeInputs = [ 52 - pkgs.libnotify 53 - pkgs.lact 54 - pkgs.glib 55 - pkgs.dbus 56 - ]; 57 - text = '' 58 - gdbus monitor --system --dest net.hadess.PowerProfiles | 59 - while read -r line; do 60 - if [[ $line =~ ActiveProfile ]]; then 61 - profile=$(echo "$line" | grep -oP "(?<=<').+?(?='>)") 62 - 63 - if [[ $profile == "power-saver" ]]; then 64 - lact cli profile set "power-saver" 65 - else 66 - lact cli profile set "default" 67 - fi 68 - fi 69 - done 70 - ''; 71 - } 72 - ); 73 - Restart = "always"; 74 - User = "root"; 75 - }; 76 - wantedBy = [ "multi-user.target" ]; 77 - }; 78 - }; 2 + flake.modules.nixos.lact = { 3 + # overclock your gpu. But I use it to underclock for greater battery life 4 + # Also makes my display stay turned on during suspend, idk man 5 + hardware.amdgpu.overdrive.enable = true; 6 + services.lact.enable = true; 7 + }; 79 8 }
+5 -1
modules/nixosModules/tlp.nix
··· 1 1 { 2 2 flake.modules.nixos.tlp = { 3 3 powerManagement.enable = true; 4 - services.tlp.enable = true; 4 + services.tlp = { 5 + pd.enable = true; 6 + enable = true; 7 + }; 5 8 services.power-profiles-daemon.enable = false; 6 9 services.upower.enable = true; 10 + services.thermald.enable = true; 7 11 }; 8 12 }