Remove jonggroen configuration

This commit is contained in:
Charlotte Van Petegem 2021-10-08 09:18:45 +02:00
parent b0b0637e41
commit 95ac98c4e2
No known key found for this signature in database
GPG key ID: 019E764B7184435A
4 changed files with 0 additions and 63 deletions

View file

@ -35,7 +35,6 @@
programs = {
calibre.enable = false;
deluge.enable = true;
dropbox.enable = false;
eid.enable = true;
hledger.enable = true;
obs.enable = true;

View file

@ -252,23 +252,6 @@ in
folders = { drafts = "Drafts"; inbox = "INBOX"; sent = "INBOX"; trash = "Trash"; };
};
};
jonggroen = makeAccount {
name = "jonggroen";
address = "charlotte@jonggroen.be";
imapHost = "imap.gmail.com";
smtpHost = "smtp.gmail.com";
passFile = "jonggroen/GoogleAppMail";
useStartTls = true;
extraConfig = {
flavor = "gmail.com";
folders = {
drafts = "[Gmail].Drafts";
inbox = "INBOX";
sent = "INBOX";
trash = "[Gmail].Bin";
};
};
};
postbot = makeAccount {
name = "postbot";
address = "postbot@vanpetegem.me";

View file

@ -4,7 +4,6 @@
imports = [
./calibre
./deluge
./dropbox
./eid
./hledger
./obs

View file

@ -1,44 +0,0 @@
{ config, lib, pkgs, ... }:
{
options.chvp.programs.dropbox.enable = lib.mkOption {
default = false;
example = true;
};
config = lib.mkIf config.chvp.programs.dropbox.enable {
chvp.base = {
nix.unfreePackages = [ "dropbox" ];
zfs.homeLinks = [
{ path = ".dropbox"; type = "cache"; }
{ path = "Dropbox"; type = "data"; }
];
};
# `firefox-bin` is unfree, and unnecessary
nixpkgs.overlays = [ (self: super: { firefox-bin = self.firefox; }) ];
home-manager.users.charlotte = { pkgs, ... }: {
systemd.user.services = {
dropbox = {
Unit = {
Description = "Dropbox";
};
Service = {
Environment = "QT_PLUGIN_PATH=\"/run/current-system/sw/${pkgs.qt5.qtbase.qtPluginPrefix}\" QML2_IMPORT_PATH=\"/run/current-system/sw/${pkgs.qt5.qtbase.qtQmlPrefix}\"";
ExecStart = "${pkgs.dropbox.out}/bin/dropbox";
ExecReload = "${pkgs.coreutils.out}/bin/kill -HUP $MAINPID";
KillMode = "control-group";
Restart = "on-failure";
PrivateTmp = true;
ProtectSystem = "full";
Nice = 10;
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
};
};
};
}