refactor: move last legacy_modules to modules

This commit is contained in:
Nickolaj Jepsen 2025-12-12 04:10:50 +01:00
parent d463f4d1af
commit d50bbb3d12
49 changed files with 580 additions and 459 deletions

View file

@ -0,0 +1,27 @@
# Enabled when: desktop
{
config,
lib,
username,
pkgs,
...
}: {
config = lib.mkIf config.fireproof.desktop.enable {
environment.systemPackages = with pkgs; [
spotify
];
age.secrets.spotify-player = {
rekeyFile = ../../secrets/spotify-player.age;
path = "/home/${username}/.cache/spotify-player/credentials.json";
mode = "0600";
owner = username;
};
fireproof.home-manager = {
programs.spotify-player = {
enable = true;
};
};
};
}