!qol(restructure): heavy restructure
This commit is contained in:
0
modules/ytm/a
Normal file
0
modules/ytm/a
Normal file
4
modules/ytm/default.nix
Normal file
4
modules/ytm/default.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
_: {
|
||||
home = ./home.nix;
|
||||
# nixos: ./nixos.nix;
|
||||
}
|
||||
17
modules/ytm/home.nix
Normal file
17
modules/ytm/home.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.youtube-music;
|
||||
in
|
||||
{
|
||||
options.modules.youtube-music = {
|
||||
enable = lib.mkEnableOption "youtube music";
|
||||
};
|
||||
config.home.packages = with pkgs; [
|
||||
youtube-music
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user