modules!!!
This commit is contained in:
parent
eb1a4786f4
commit
6f1ebdcc9a
24 changed files with 877 additions and 574 deletions
33
modules/desktop/cloud.nix
Normal file
33
modules/desktop/cloud.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ 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";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue