316 current 1970-01-01 01:00:00 23.11.20240514.9ddcaff 6.1.90 *

This commit is contained in:
2024-05-18 23:05:04 +02:00
parent 1e0e83b934
commit e5a70822ad
4 changed files with 27 additions and 9 deletions

View File

@ -0,0 +1,7 @@
{...}: {
imports = [./greetd.nix ./rebuild.nix ./sops.nix ./sway.nix ./wifi.nix ./music.nix];
config = {
music.enable = true;
};
}

18
modules/nixos/music.nix Normal file
View File

@ -0,0 +1,18 @@
{
lib,
config,
...
}: let
cfg = config.music;
in {
options = {
music.enable = lib.mkEnableOption "sound system";
};
config = lib.mkIf cfg.enable {
musnix = {
enable = true;
rtcqs.enable = true;
};
};
}

View File

@ -1,7 +1,7 @@
{
lib,
config,
pkgs,
lib,
...
}: {
environment.systemPackages = with pkgs; [