about summary refs log tree commit diff
path: root/home/vlc/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-09 09:42:03 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-09 09:42:03 -0700
commit1125aaa49aec6a220fd3b9d03076fec398b35a14 (patch)
tree5570b0c094ead9d7879ca3d360ff3de7f45d4516 /home/vlc/default.nix
parentdelete all CLI modules (diff)
downloadworld-1125aaa49aec6a220fd3b9d03076fec398b35a14.tar.gz
add a few more modules to home/ and delete stuff
Diffstat (limited to '')
-rw-r--r--home/vlc/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/home/vlc/default.nix b/home/vlc/default.nix
new file mode 100644
index 0000000..0afd3b7
--- /dev/null
+++ b/home/vlc/default.nix
@@ -0,0 +1,9 @@
+{ lib, config, ... }:
+let cfg = config.my.home.vlc;
+in {
+  options.my.home.vlc = with lib; {
+    enable = mkEnableOption "vlc configuration";
+  };
+
+  config = lib.mkIf cfg.enable { home.packages = with pkgs; [ vlc ]; };
+}