mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-28 23:48:44 +01:00
34 lines
752 B
Nix
34 lines
752 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
let cfg = config.jade.desktop.cloud;
|
||
|
in with lib; {
|
||
|
options.jade.desktop.cloud = {
|
||
|
enable = mkEnableOption "Enable cloud things";
|
||
|
};
|
||
|
config = mkIf cfg.enable {
|
||
|
home-manager.users.jade = { pkgs, ... }: {
|
||
|
services.nextcloud-client = {
|
||
|
enable = true;
|
||
|
startInBackground = true;
|
||
|
};
|
||
|
programs.rbw = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
base_url = "vw.schrottkatze.de";
|
||
|
email = "jade@schrottkatze.de";
|
||
|
};
|
||
|
};
|
||
|
home.packages = with pkgs; [
|
||
|
fluent-reader
|
||
|
bitwarden
|
||
|
rofi-rbw
|
||
|
];
|
||
|
xsession.windowManager.i3.config.startup = [
|
||
|
{
|
||
|
command = "bitwarden";
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|