nixos: fix missing options
This commit is contained in:
parent
fb2238e26f
commit
30ab9882f0
|
@ -3,12 +3,15 @@
|
|||
imports = [
|
||||
./bitwarden.nix
|
||||
./chromium.nix
|
||||
./dbeaver.nix
|
||||
./discord.nix
|
||||
./git.nix
|
||||
./github.nix
|
||||
./go.nix
|
||||
./microsoft-edge.nix
|
||||
./mpv.nix
|
||||
./neovide.nix
|
||||
./nextcloud.nix
|
||||
./nnn.nix
|
||||
./node.nix
|
||||
./slack.nix
|
||||
|
@ -19,7 +22,6 @@
|
|||
./vscode.nix
|
||||
./whatsapp.nix
|
||||
./zsh.nix
|
||||
./dbeaver.nix
|
||||
];
|
||||
|
||||
programs.fzf = {
|
||||
|
@ -35,10 +37,4 @@
|
|||
};
|
||||
programs.ripgrep.enable = true;
|
||||
programs.htop.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
unstable.jellyfin-media-player
|
||||
unstable.microsoft-edge
|
||||
nextcloud-client
|
||||
];
|
||||
}
|
||||
|
|
9
home/programs/microsoft-edge.nix
Normal file
9
home/programs/microsoft-edge.nix
Normal 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 ];
|
||||
};
|
||||
}
|
9
home/programs/nextcloud.nix
Normal file
9
home/programs/nextcloud.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.profile.nextcloud;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [ pkgs.nextcloud-client ];
|
||||
};
|
||||
}
|
|
@ -67,5 +67,8 @@
|
|||
# For server option, see podman.nix.
|
||||
jellyfin.enable = lib.mkEnableOption "jellyfin";
|
||||
dbeaver.enable = lib.mkEnableOption "dbeaver";
|
||||
|
||||
microsoft-edge.enable = lib.mkEnableOption "microsoft-edge";
|
||||
nextcloud.enable = lib.mkEnableOption "nextcloud";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -73,5 +73,8 @@ in
|
|||
chromium.enable = true;
|
||||
bitwarden.enable = true;
|
||||
dbeaver.enable = true;
|
||||
|
||||
microsoft-edge.enable = true;
|
||||
nextcloud.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue