Add mumble again
This commit is contained in:
parent
d32a02f7eb
commit
6d6320cf1d
2 changed files with 21 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
imports = [
|
||||
./minecraft
|
||||
./mumble
|
||||
./particles
|
||||
./steam
|
||||
./tetris
|
||||
|
@ -16,6 +17,7 @@
|
|||
config = lib.mkIf config.chvp.games.enable {
|
||||
chvp.games = {
|
||||
minecraft.client = lib.mkDefault false;
|
||||
mumble.enable = lib.mkDefault true;
|
||||
steam.enable = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
|
|
19
modules/nixos/games/mumble/default.nix
Normal file
19
modules/nixos/games/mumble/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
options.chvp.games.mumble.enable = lib.mkOption {
|
||||
default = false;
|
||||
example = true;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.chvp.games.mumble.enable {
|
||||
chvp.base.zfs.homeLinks = [
|
||||
{ path = ".config/Mumble"; type = "cache"; }
|
||||
{ path = ".local/share/Mumble"; type = "cache"; }
|
||||
];
|
||||
|
||||
home-manager.users.charlotte = { ... }: {
|
||||
home.packages = with pkgs; [ mumble ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue