nixos: fix missing options

This commit is contained in:
Tigor Hutasuhut 2024-06-12 18:22:03 +07:00
parent fb2238e26f
commit 30ab9882f0
5 changed files with 27 additions and 7 deletions

View file

@ -3,12 +3,15 @@
imports = [ imports = [
./bitwarden.nix ./bitwarden.nix
./chromium.nix ./chromium.nix
./dbeaver.nix
./discord.nix ./discord.nix
./git.nix ./git.nix
./github.nix ./github.nix
./go.nix ./go.nix
./microsoft-edge.nix
./mpv.nix ./mpv.nix
./neovide.nix ./neovide.nix
./nextcloud.nix
./nnn.nix ./nnn.nix
./node.nix ./node.nix
./slack.nix ./slack.nix
@ -19,7 +22,6 @@
./vscode.nix ./vscode.nix
./whatsapp.nix ./whatsapp.nix
./zsh.nix ./zsh.nix
./dbeaver.nix
]; ];
programs.fzf = { programs.fzf = {
@ -35,10 +37,4 @@
}; };
programs.ripgrep.enable = true; programs.ripgrep.enable = true;
programs.htop.enable = true; programs.htop.enable = true;
home.packages = with pkgs; [
unstable.jellyfin-media-player
unstable.microsoft-edge
nextcloud-client
];
} }

View file

@ -0,0 +1,9 @@
{ config, lib, unstable, ... }:
let
cfg = config.profile.microsoft-edge;
in
{
config = lib.mkIf cfg.enable {
home.packages = [ unstable.microsoft-edge ];
};
}

View file

@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
let
cfg = config.profile.nextcloud;
in
{
config = lib.mkIf cfg.enable {
home.packages = [ pkgs.nextcloud-client ];
};
}

View file

@ -67,5 +67,8 @@
# For server option, see podman.nix. # For server option, see podman.nix.
jellyfin.enable = lib.mkEnableOption "jellyfin"; jellyfin.enable = lib.mkEnableOption "jellyfin";
dbeaver.enable = lib.mkEnableOption "dbeaver"; dbeaver.enable = lib.mkEnableOption "dbeaver";
microsoft-edge.enable = lib.mkEnableOption "microsoft-edge";
nextcloud.enable = lib.mkEnableOption "nextcloud";
}; };
} }

View file

@ -73,5 +73,8 @@ in
chromium.enable = true; chromium.enable = true;
bitwarden.enable = true; bitwarden.enable = true;
dbeaver.enable = true; dbeaver.enable = true;
microsoft-edge.enable = true;
nextcloud.enable = true;
}; };
} }