update system

This commit is contained in:
2026-01-05 13:59:57 +01:00
parent 6cb301eb81
commit 648380f91b
3 changed files with 26 additions and 24 deletions

36
flake.lock generated
View File

@@ -44,11 +44,11 @@
]
},
"locked": {
"lastModified": 1766881808,
"narHash": "sha256-JR7A2xS3EBPWFeONzhqez5vp7nKEsp7eLj2Ks210Srk=",
"lastModified": 1767556355,
"narHash": "sha256-RDTUBDQBi9D4eD9iJQWtUDN/13MDLX+KmE+TwwNUp2s=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "d2e0458d6531885600b346e161c38790dc356fa8",
"rev": "f894bc4ffde179d178d8deb374fcf9855d1a82b7",
"type": "github"
},
"original": {
@@ -91,11 +91,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1766765523,
"narHash": "sha256-DCk3GKdKZNjpvNuDy9ZVfVwCy3tlm96/UZnYkJO7N44=",
"lastModified": 1767544157,
"narHash": "sha256-DVTMOUd4uHkDcZXWAqOS+Pa0M9a27G1Ya3B7SFG6BQs=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "a3e638c75d07de759421e6f34bd69c3f9a0a3567",
"rev": "d0e2c4bebf9d0b879410736f7abce628976bfb92",
"type": "github"
},
"original": {
@@ -124,11 +124,11 @@
"niri-unstable": {
"flake": false,
"locked": {
"lastModified": 1766751930,
"narHash": "sha256-83/YSW6c58i/iwGzAFApuMy6MCgoIaROeCcoIGh+ViU=",
"lastModified": 1767530622,
"narHash": "sha256-ywnL1cc0A6fni7m859ImiBYA8DlXXJ+5OXIlcBqJ2B0=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "b5640d5293ad8dca06cb447692ea7cbb21680eb1",
"rev": "54c2e2ab476629d17fdba861895f58e7cdac32ab",
"type": "github"
},
"original": {
@@ -155,11 +155,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1766651565,
"narHash": "sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU=",
"lastModified": 1767379071,
"narHash": "sha256-EgE0pxsrW9jp9YFMkHL9JMXxcqi/OoumPJYwf+Okucw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "3e2499d5539c16d0d173ba53552a4ff8547f4539",
"rev": "fb7944c166a3b630f177938e478f0378e64ce108",
"type": "github"
},
"original": {
@@ -171,11 +171,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1766736597,
"narHash": "sha256-BASnpCLodmgiVn0M1MU2Pqyoz0aHwar/0qLkp7CjvSQ=",
"lastModified": 1767480499,
"narHash": "sha256-8IQQUorUGiSmFaPnLSo2+T+rjHtiNWc+OAzeHck7N48=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f560ccec6b1116b22e6ed15f4c510997d99d5852",
"rev": "30a3c519afcf3f99e2c6df3b359aec5692054d92",
"type": "github"
},
"original": {
@@ -194,11 +194,11 @@
"systems": "systems_2"
},
"locked": {
"lastModified": 1766918207,
"narHash": "sha256-G/Msy+w6e6W5Z517draGcMC0Fqpl4cfutZS5ijndpyM=",
"lastModified": 1767553127,
"narHash": "sha256-H6JzPMmvBYlGjIBgrHIS2dFXh05h4bwMJTZTn3IGVtc=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "51ae9913767528723397e1b227bd32a080058bb5",
"rev": "3d7bcda3d163c1c38e231f81e0e90155b7b9e9bf",
"type": "github"
},
"original": {

View File

@@ -33,9 +33,8 @@
prismlauncher
# chat apps
vesktop
# vesktop
discord
element-desktop
thunderbird
signal-desktop
# cinny-desktop
@@ -47,8 +46,8 @@
# creative
gimp3
inkscape-with-extensions
scribus
# audacity
# scribus
audacity
pinta
losslesscut-bin
shotcut

View File

@@ -34,6 +34,7 @@ in
"alsa.components" = "USB046d:0b1c";
"alsa.resolution_bits" = bitrate;
};
hidrawPath = "/dev/input/by-id/usb-Logitech_A50-if08-hidraw";
nodeNameIn = "astro-a50-eq-harman-in";
in
{
@@ -62,7 +63,7 @@ in
{
name = "libpipewire-module-parametric-equalizer";
args = {
"equalizer.filepath" = builtins.toString ./astro-a50-harman.txt;
"equalizer.filepath" = toString ./astro-a50-harman.txt;
"equalizer.description" = "${name} (Harman EQ)";
"capture.props" = {
"node.name" = nodeNameIn;
@@ -82,14 +83,16 @@ in
};
Install.WantedBy = [ "default.target" ];
Path.PathExists = hidrawPath;
Service = {
Restart = "always";
RestartSec = 10;
ExecStart = lib.getExe (
pkgs.writeShellApplication {
name = "astro-dock-detect";
runtimeEnv = {
HID_DEVICE = "/dev/input/by-id/usb-Logitech_A50-if08-hidraw";
HID_DEVICE = hidrawPath;
HEADSET_NAME = nodeNameIn;
SPEAKERS_NAME = cfg.sinkWhenDocked;
};