Compare commits

...

4 commits

Author SHA1 Message Date
b1b8726545 updates & minor workarounds 2025-05-21 19:44:21 +02:00
2b99da48c8 flake.lock: Update
Flake lock file updates:

• Updated input 'darwin':
    'github:lnl7/nix-darwin/9ed53ae9abb5b125e453f37e475da5b8c368e676' (2025-05-20)
  → 'github:lnl7/nix-darwin/e2676937faf868111dcea6a4a9cf4b6549907c9d' (2025-05-21)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2468b2d35512d093aeb04972a1d8c20a0735793f' (2025-05-21)
  → 'github:nix-community/home-manager/6c2eb1e24cd0e76d88bdd633ef4c50d6286586e0' (2025-05-21)
• Updated input 'niri':
    'github:sodiboo/niri-flake/b483ca0ed4299199d944824768b0880437aaac03' (2025-05-21)
  → 'github:sodiboo/niri-flake/dda83db99c3c6ca2c047183db19533ab6a34ce15' (2025-05-21)
• Updated input 'niri/niri-unstable':
    'github:YaLTeR/niri/3f2b7e63ba15cf33475116d32e8b7d22208a8438' (2025-05-19)
  → 'github:YaLTeR/niri/2415346caaa4121ed202b8e376fb40b2a44eb61f' (2025-05-21)
• Updated input 'stylix':
    'github:danth/stylix/69b3dd05e6b64c71a10fb749b5ac4d7c8e40f720' (2025-05-20)
  → 'github:danth/stylix/4ce349da56e075f7e3456b48731cbbf5ae8b1eb8' (2025-05-21)
2025-05-21 19:20:58 +02:00
8bab2c1688 flake.lock: Update
Flake lock file updates:

• Updated input 'agenix':
    'github:ryantm/agenix/96e078c646b711aee04b82ba01aefbff87004ded' (2025-04-26)
  → 'github:ryantm/agenix/4835b1dc898959d8547a871ef484930675cb47f1' (2025-05-18)
• Updated input 'attic':
    'github:zhaofengli/attic/ff8a897d1f4408ebbf4d45fa9049c06b3e1e3f4e' (2025-02-02)
  → 'github:zhaofengli/attic/8eb49a2f178d093b2d54cdcc1eb60a70c1ab1054' (2025-05-18)
• Updated input 'darwin':
    'github:lnl7/nix-darwin/8817b00b0011750381d0d44bb94d61087349b6ba' (2025-05-16)
  → 'github:lnl7/nix-darwin/9ed53ae9abb5b125e453f37e475da5b8c368e676' (2025-05-20)
• Updated input 'home-manager':
    'github:nix-community/home-manager/d2263ce5f4c251c0f7608330e8fdb7d1f01f0667' (2025-05-16)
  → 'github:nix-community/home-manager/2468b2d35512d093aeb04972a1d8c20a0735793f' (2025-05-21)
• Updated input 'lix':
    'git+https://git@git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=3f355b8fd1ffbe670d756bcf976a38cbe80bb77b' (2025-05-15)
  → 'git+https://git@git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=4f433a6186be057ae821708a535e265776a92219' (2025-05-20)
• Updated input 'niri':
    'github:sodiboo/niri-flake/b8326b5bfb204d7b57802a218de1ebbb743bf8dc' (2025-05-15)
  → 'github:sodiboo/niri-flake/b483ca0ed4299199d944824768b0880437aaac03' (2025-05-21)
• Updated input 'niri/niri-unstable':
    'github:YaLTeR/niri/46a8f81160708d05e9609c318cce64e3e5ac2538' (2025-05-15)
  → 'github:YaLTeR/niri/3f2b7e63ba15cf33475116d32e8b7d22208a8438' (2025-05-19)
• Updated input 'niri/nixpkgs':
    'github:NixOS/nixpkgs/adaa24fbf46737f3f1b5497bf64bae750f82942e' (2025-05-13)
  → 'github:NixOS/nixpkgs/2795c506fe8fb7b03c36ccb51f75b6df0ab2553f' (2025-05-20)
• Updated input 'niri/nixpkgs-stable':
    'github:NixOS/nixpkgs/5d736263df906c5da72ab0f372427814de2f52f8' (2025-05-14)
  → 'github:NixOS/nixpkgs/72841a4a8761d1aed92ef6169a636872c986c76d' (2025-05-19)
• Updated input 'nix-hardware':
    'github:nixos/nixos-hardware/e81fd167b33121269149c57806599045fd33eeed' (2025-05-13)
  → 'github:nixos/nixos-hardware/6ac6ec6fcb410e15a60ef5ec94b8a2b35b5dd282' (2025-05-20)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/e81fd167b33121269149c57806599045fd33eeed' (2025-05-13)
  → 'github:NixOS/nixos-hardware/6ac6ec6fcb410e15a60ef5ec94b8a2b35b5dd282' (2025-05-20)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/adaa24fbf46737f3f1b5497bf64bae750f82942e' (2025-05-13)
  → 'github:NixOS/nixpkgs/2795c506fe8fb7b03c36ccb51f75b6df0ab2553f' (2025-05-20)
• Updated input 'stylix':
    'github:danth/stylix/7566bc015064ed3eb50b436f2225ddab06132beb' (2025-05-16)
  → 'github:danth/stylix/69b3dd05e6b64c71a10fb749b5ac4d7c8e40f720' (2025-05-20)
• Added input 'stylix/flake-parts':
    'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9' (2024-12-04)
• Added input 'stylix/flake-parts/nixpkgs-lib':
    follows 'stylix/nixpkgs'
• Removed input 'stylix/flake-utils'
• Removed input 'stylix/flake-utils/systems'
• Updated input 'stylix/gnome-shell':
    'github:GNOME/gnome-shell/dadd58f630eeea41d645ee225a63f719390829dc' (2024-11-23)
  → 'github:GNOME/gnome-shell/52c517c8f6c199a1d6f5118fae500ef69ea845ae' (2025-04-13)
• Updated input 'stylix/home-manager':
    'github:nix-community/home-manager/954615c510c9faa3ee7fb6607ff72e55905e69f2' (2025-05-15)
  → 'github:nix-community/home-manager/29dda415f5b2178278283856c6f9f7b48a2a4353' (2025-05-20)
• Updated input 'stylix/nur/flake-parts':
    'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9' (2024-12-04)
  → follows 'stylix/flake-parts'
• Removed input 'stylix/nur/flake-parts/nixpkgs-lib'
• Updated input 'stylix/tinted-kitty':
    'github:tinted-theming/tinted-kitty/eb39e141db14baef052893285df9f266df041ff8' (2024-05-23)
  → 'github:tinted-theming/tinted-kitty/de6f888497f2c6b2279361bfc790f164bfd0f3fa' (2025-01-01)
• Updated input 'waveforms':
    'github:liff/waveforms-flake/946e095a995c8501a2e365a8d518465142869ee0' (2025-03-19)
  → 'github:liff/waveforms-flake/95f88467e16f451fa306fbf33d9f1bac28b2d4ef' (2025-05-16)
• Updated input 'waveforms/nixpkgs':
    'path:/nix/store/2ab9ljvsgkmn3zizflwf61207a23q6q1-source?lastModified=1745391562&narHash=sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo%3D&rev=8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7' (2025-04-23)
  → 'path:/nix/store/x9wnkly3k1gkq580m90jjn32q9f05q2v-source?lastModified=1747179050&narHash=sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY%3D&rev=adaa24fbf46737f3f1b5497bf64bae750f82942e' (2025-05-13)
2025-05-21 07:15:58 +02:00
302e31f10e music-server: navidrome tweaks 2025-05-21 07:15:30 +02:00
10 changed files with 74 additions and 151 deletions

144
flake.lock generated
View file

@ -8,11 +8,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1745630506,
"narHash": "sha256-bHCFgGeu8XjWlVuaWzi3QONjDW3coZDqSHvnd4l7xus=",
"lastModified": 1747575206,
"narHash": "sha256-NwmAFuDUO/PFcgaGGr4j3ozG9Pe5hZ/ogitWhY+D81k=",
"owner": "ryantm",
"repo": "agenix",
"rev": "96e078c646b711aee04b82ba01aefbff87004ded",
"rev": "4835b1dc898959d8547a871ef484930675cb47f1",
"type": "github"
},
"original": {
@ -33,11 +33,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1738524606,
"narHash": "sha256-hPYEJ4juK3ph7kbjbvv7PlU1D9pAkkhl+pwx8fZY53U=",
"lastModified": 1747587191,
"narHash": "sha256-JswxXCzaDmX/mY5uYJQjntvORumrHQctJ+a1N1wj5EI=",
"owner": "zhaofengli",
"repo": "attic",
"rev": "ff8a897d1f4408ebbf4d45fa9049c06b3e1e3f4e",
"rev": "8eb49a2f178d093b2d54cdcc1eb60a70c1ab1054",
"type": "github"
},
"original": {
@ -163,11 +163,11 @@
]
},
"locked": {
"lastModified": 1747365160,
"narHash": "sha256-4ZVr0x+ry6ybym/VhVYACj0HlJo44YxAaPGOxiS88Hg=",
"lastModified": 1747820204,
"narHash": "sha256-oY/mH8K1LOd+YbO58sw9ORtOdTxy3rR9lvTzOJKVUtA=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "8817b00b0011750381d0d44bb94d61087349b6ba",
"rev": "e2676937faf868111dcea6a4a9cf4b6549907c9d",
"type": "github"
},
"original": {
@ -284,7 +284,6 @@
"inputs": {
"nixpkgs-lib": [
"stylix",
"nur",
"nixpkgs"
]
},
@ -374,27 +373,6 @@
"type": "github"
}
},
"flake-utils_5": {
"inputs": {
"systems": [
"stylix",
"systems"
]
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"fromYaml": {
"flake": false,
"locked": {
@ -462,16 +440,16 @@
"gnome-shell": {
"flake": false,
"locked": {
"lastModified": 1732369855,
"narHash": "sha256-JhUWbcYPjHO3Xs3x9/Z9RuqXbcp5yhPluGjwsdE2GMg=",
"lastModified": 1744584021,
"narHash": "sha256-0RJ4mJzf+klKF4Fuoc8VN8dpQQtZnKksFmR2jhWE1Ew=",
"owner": "GNOME",
"repo": "gnome-shell",
"rev": "dadd58f630eeea41d645ee225a63f719390829dc",
"rev": "52c517c8f6c199a1d6f5118fae500ef69ea845ae",
"type": "github"
},
"original": {
"owner": "GNOME",
"ref": "47.2",
"ref": "48.1",
"repo": "gnome-shell",
"type": "github"
}
@ -504,11 +482,11 @@
]
},
"locked": {
"lastModified": 1747374689,
"narHash": "sha256-JT/aBZqmK1LbExzwT9cPkvxKc0IC4i6tZKOPjsSWFbI=",
"lastModified": 1747834438,
"narHash": "sha256-AHJt79W8wADzur2htCx1U8FtEk4XjvrHb9/3iDfNedI=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "d2263ce5f4c251c0f7608330e8fdb7d1f01f0667",
"rev": "6c2eb1e24cd0e76d88bdd633ef4c50d6286586e0",
"type": "github"
},
"original": {
@ -526,11 +504,11 @@
]
},
"locked": {
"lastModified": 1747279714,
"narHash": "sha256-UdxlE8yyrKiGq3bgGyJ78AdFwh+fuRAruKtyFY5Zq5I=",
"lastModified": 1747763032,
"narHash": "sha256-9j3oCbemeH7bTVXJ3pDWxOptbxDx2SdK1jY2AHpjQiw=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "954615c510c9faa3ee7fb6607ff72e55905e69f2",
"rev": "29dda415f5b2178278283856c6f9f7b48a2a4353",
"type": "github"
},
"original": {
@ -548,11 +526,11 @@
"pre-commit-hooks": "pre-commit-hooks"
},
"locked": {
"lastModified": 1747347117,
"narHash": "sha256-wsPOuwczt+kJ4vuf3mm6uMv4wnfWP/RNV5Cp/P5nqQw=",
"lastModified": 1747773921,
"narHash": "sha256-pB9OG3xmNmfRdTxKWUMQKtVKJseALpNydpXePox/3vU=",
"ref": "refs/heads/main",
"rev": "3f355b8fd1ffbe670d756bcf976a38cbe80bb77b",
"revCount": 17891,
"rev": "4f433a6186be057ae821708a535e265776a92219",
"revCount": 17932,
"type": "git",
"url": "https://git@git.lix.systems/lix-project/lix"
},
@ -591,11 +569,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1747304844,
"narHash": "sha256-aLS9HqdtAtioT2JJSWQ7cgWKozBmCtxzYWIEZb1RzkA=",
"lastModified": 1747842926,
"narHash": "sha256-1DUbdZgI1uLNF8L7cw5QC50npHmC0v0hdVkjK2ezj00=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "b8326b5bfb204d7b57802a218de1ebbb743bf8dc",
"rev": "dda83db99c3c6ca2c047183db19533ab6a34ce15",
"type": "github"
},
"original": {
@ -624,11 +602,11 @@
"niri-unstable": {
"flake": false,
"locked": {
"lastModified": 1747289333,
"narHash": "sha256-S2xNTAo0e87rK+sNDQCxOsBKtQEBAAVwgkzdpnWoQC0=",
"lastModified": 1747837522,
"narHash": "sha256-6zDhnqL7PTK+w/58ZdLZ3+M8fl/zRbvILAIboC/nMMU=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "46a8f81160708d05e9609c318cce64e3e5ac2538",
"rev": "2415346caaa4121ed202b8e376fb40b2a44eb61f",
"type": "github"
},
"original": {
@ -720,11 +698,11 @@
},
"nix-hardware": {
"locked": {
"lastModified": 1747129300,
"narHash": "sha256-L3clA5YGeYCF47ghsI7Tcex+DnaaN/BbQ4dR2wzoiKg=",
"lastModified": 1747723695,
"narHash": "sha256-lSXzv33yv1O9r9Ai1MtYFDX3OKhWsZMn/5FFb4Rni/k=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "e81fd167b33121269149c57806599045fd33eeed",
"rev": "6ac6ec6fcb410e15a60ef5ec94b8a2b35b5dd282",
"type": "github"
},
"original": {
@ -779,11 +757,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1747129300,
"narHash": "sha256-L3clA5YGeYCF47ghsI7Tcex+DnaaN/BbQ4dR2wzoiKg=",
"lastModified": 1747723695,
"narHash": "sha256-lSXzv33yv1O9r9Ai1MtYFDX3OKhWsZMn/5FFb4Rni/k=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "e81fd167b33121269149c57806599045fd33eeed",
"rev": "6ac6ec6fcb410e15a60ef5ec94b8a2b35b5dd282",
"type": "github"
},
"original": {
@ -873,11 +851,11 @@
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1747209494,
"narHash": "sha256-fLise+ys+bpyjuUUkbwqo5W/UyIELvRz9lPBPoB0fbM=",
"lastModified": 1747676747,
"narHash": "sha256-LXkWBVqilgx7Pohwqu/ABxDVw+Cmi5/Mj2S2mpUH0Fw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5d736263df906c5da72ab0f372427814de2f52f8",
"rev": "72841a4a8761d1aed92ef6169a636872c986c76d",
"type": "github"
},
"original": {
@ -936,11 +914,11 @@
},
"nixpkgs_5": {
"locked": {
"lastModified": 1747179050,
"narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=",
"lastModified": 1747744144,
"narHash": "sha256-W7lqHp0qZiENCDwUZ5EX/lNhxjMdNapFnbErcbnP11Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e",
"rev": "2795c506fe8fb7b03c36ccb51f75b6df0ab2553f",
"type": "github"
},
"original": {
@ -952,11 +930,11 @@
},
"nixpkgs_6": {
"locked": {
"lastModified": 1747179050,
"narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=",
"lastModified": 1747744144,
"narHash": "sha256-W7lqHp0qZiENCDwUZ5EX/lNhxjMdNapFnbErcbnP11Q=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e",
"rev": "2795c506fe8fb7b03c36ccb51f75b6df0ab2553f",
"type": "github"
},
"original": {
@ -983,10 +961,10 @@
},
"nixpkgs_8": {
"locked": {
"lastModified": 1745391562,
"narHash": "sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo=",
"path": "/nix/store/2ab9ljvsgkmn3zizflwf61207a23q6q1-source",
"rev": "8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7",
"lastModified": 1747179050,
"narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=",
"path": "/nix/store/x9wnkly3k1gkq580m90jjn32q9f05q2v-source",
"rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e",
"type": "path"
},
"original": {
@ -1050,7 +1028,10 @@
},
"nur": {
"inputs": {
"flake-parts": "flake-parts_2",
"flake-parts": [
"stylix",
"flake-parts"
],
"nixpkgs": [
"stylix",
"nixpkgs"
@ -1173,7 +1154,7 @@
"base16-vim": "base16-vim",
"firefox-gnome-theme": "firefox-gnome-theme",
"flake-compat": "flake-compat_3",
"flake-utils": "flake-utils_5",
"flake-parts": "flake-parts_2",
"git-hooks": "git-hooks",
"gnome-shell": "gnome-shell",
"home-manager": "home-manager_3",
@ -1189,11 +1170,11 @@
"tinted-zed": "tinted-zed"
},
"locked": {
"lastModified": 1747365543,
"narHash": "sha256-r5HRe9CRFe6qvy7KLkTX9WySTqkNmvlobTR8g5AHLHA=",
"lastModified": 1747847674,
"narHash": "sha256-XYVaUKQrda7WOSonewDtpvm8tENIcwWrErobUYMTMoc=",
"owner": "danth",
"repo": "stylix",
"rev": "7566bc015064ed3eb50b436f2225ddab06132beb",
"rev": "4ce349da56e075f7e3456b48731cbbf5ae8b1eb8",
"type": "github"
},
"original": {
@ -1334,17 +1315,16 @@
"tinted-kitty": {
"flake": false,
"locked": {
"lastModified": 1716423189,
"narHash": "sha256-2xF3sH7UIwegn+2gKzMpFi3pk5DlIlM18+vj17Uf82U=",
"lastModified": 1735730497,
"narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=",
"owner": "tinted-theming",
"repo": "tinted-kitty",
"rev": "eb39e141db14baef052893285df9f266df041ff8",
"rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "tinted-kitty",
"rev": "eb39e141db14baef052893285df9f266df041ff8",
"type": "github"
}
},
@ -1423,11 +1403,11 @@
"nixpkgs": "nixpkgs_8"
},
"locked": {
"lastModified": 1742416103,
"narHash": "sha256-y0dToPU2BQNlKBcUTZsLuVj9mc0iNitHGl8MA1jn/v4=",
"lastModified": 1747402859,
"narHash": "sha256-vSDNpKLIotBihDwiwUyyvpX923uqvAhWFeSe5EBO5E4=",
"owner": "liff",
"repo": "waveforms-flake",
"rev": "946e095a995c8501a2e365a8d518465142869ee0",
"rev": "95f88467e16f451fa306fbf33d9f1bac28b2d4ef",
"type": "github"
},
"original": {

View file

@ -170,7 +170,7 @@
./nixos/overlays/fixup-nheko
./nixos/overlays/fixup-signal
./nixos/overlays/fixup-imhex.nix
./nixos/overlays/customize-gajim
#./nixos/overlays/customize-gajim
./nixos/overlays/sddm-no-vnc.nix
./nixos/overlays/fixup-armcord.nix
./nixos/overlays/jd-gui-wayland.nix

View file

@ -5,7 +5,11 @@
#
{ pkgs, config, ... }:
{
age.secrets.bandcamp.file = ./bandcamp.cfg.age;
#age.secrets.bandcamp.file = ./bandcamp.cfg.age;
age.secrets.subsonic = {
file = ./subsonic.cfg.age;
owner = "deprekated";
};
home-manager.users.deprekated =
{ pkgs, ... }:
@ -18,25 +22,12 @@
extensionPackages = with pkgs; [
mopidy-iris
mopidy-mpd
mopidy-tidal
(mopidy-bandcamp.overrideAttrs (prev: {
patches = [ ./001-fix-mopidy-bandcamp.patch ];
}))
mopidy-subidy
];
settings = {
# Tidal for streaming more-commercial music.
tidal = {
enabled = true;
quality = "LOSSLESS";
};
};
# Probvide our bandcamp authentication as an extra config file.
extraConfigFiles = [
config.age.secrets.bandcamp.path
config.age.secrets.subsonic.path
];
};

Binary file not shown.

View file

@ -16,7 +16,7 @@
# Generic system settings.
#
time.timeZone = "Europe/Amsterdam";
i18n.defaultLocale = "nl_NL.utf8";
i18n.defaultLocale = "nl_NL.UTF-8";
# Allow use of e.g. 'nix search' and flakes.
nix.settings.experimental-features = [

View file

@ -63,7 +63,6 @@ with pkgs;
cyberchef
dasel
delta
deprekages.age-plugin-yubikey
deprekages.avbroot
deprekages.mergiraf
difftastic
@ -159,7 +158,7 @@ with pkgs;
# Development.
colmena
rustup
(rustup.overrideAttrs { doCheck = false; })
clang
clang-tools
flatbuffers

View file

@ -100,6 +100,7 @@ with pkgs;
kicad
obsidian
onboard
supersonic
# Development.
jetbrains.rust-rover

View file

@ -1,48 +0,0 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, pcsclite
, PCSC ? null
, Foundation ? null
, IOKit ? null
}:
rustPlatform.buildRustPackage rec {
pname = "age-plugin-yubikey";
version = "0.5.0";
src = fetchFromGitHub {
owner = "str4d";
repo = "age-plugin-yubikey";
rev = "ca1cd587ff289ee1b9d8f72120e5a2acfb9560ae";
hash = "sha256-9ghnPe83K+qixaFKCdM2FCPoENTNJnZA+OmmpD0E5LE=";
};
cargoHash = "sha256-WddBZG+K6mbI35XF32BltinXkmkwpcRd8CZOB1PTwM8=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
]
++ lib.optional stdenv.isLinux pcsclite
++ lib.optionals stdenv.isDarwin [
IOKit
Foundation
PCSC
];
meta = with lib; {
description = "YubiKey plugin for age";
mainProgram = "age-plugin-yubikey";
homepage = "https://github.com/str4d/age-plugin-yubikey";
changelog = "https://github.com/str4d/age-plugin-yubikey/blob/${src.rev}/CHANGELOG.md";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ kranzes vtuan10 ];
};
}

View file

@ -56,7 +56,6 @@ flake-utils.lib.eachDefaultSystem (
wsl-gpg-forward = callPackage ./windows/gpg-forward.nix { };
oxfs = callPackage ./oxfs.nix { };
pcsclite = callPackage ./pcsclite.nix { };
age-plugin-yubikey = callPackage ./age-plugin-yubikey.nix { inherit pcsclite; };
humanfx = callPackage ./humanfx { };
clipboard-sync = callPackage ./clipboard-sync.nix { };
vsmartcard = callPackage ./vsmartcard.nix { };

View file

@ -21,4 +21,5 @@ let
in
{
"nixos/configs/music-server/bandcamp.cfg.age".publicKeys = all-machine-pubkeys;
"nixos/configs/music-server/subsonic.cfg.age".publicKeys = all-machine-pubkeys;
}