ma home-manager: bump

This commit is contained in:
makefu 2018-10-21 23:28:52 +02:00
parent 4d9b2888b0
commit 7a3801c75e
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
4 changed files with 44 additions and 22 deletions

View File

@ -1,12 +1,18 @@
{ {pkgs, ... }: {
home-manager.users.makefu = { home-manager.users.makefu = {
services.gpg-agent = { services.gpg-agent = {
enable = true;
defaultCacheTtl = 900; defaultCacheTtl = 900;
maxCacheTtl = 7200; maxCacheTtl = 7200;
defaultCacheTtlSsh = 3600; defaultCacheTtlSsh = 3600;
maxCacheTtlSsh = 86400; maxCacheTtlSsh = 86400;
enableSshSupport = true; enableSshSupport = true;
enableScDaemon = true;
}; };
programs.fzf.enable = true; # alt-c programs.fzf.enable = true; # alt-c
}; };
services.udev.packages = [
pkgs.libu2f-host
pkgs.yubikey-personalization
];
} }

View File

@ -4,4 +4,7 @@
]; ];
home-manager.users.makefu = { home-manager.users.makefu = {
}; };
environment.variables = {
GTK_DATA_PREFIX = "/run/current-system/sw";
};
} }

View File

@ -1,31 +1,43 @@
{pkgs, ... }: { { pkgs, lib, ... }:
{
home-manager.users.makefu = { home-manager.users.makefu = {
programs.browserpass = { browsers = [ "firefox" ] ; enable = true; }; programs.browserpass = { browsers = [ "firefox" ] ; enable = true; };
programs.firefox.enable = true;
services.network-manager-applet.enable = true; services.network-manager-applet.enable = true;
systemd.user.services.network-manager-applet.Service.Environment = ''XDG_DATA_DIRS=/etc/profiles/per-user/makefu/share GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'';
services.blueman-applet.enable = true; services.blueman-applet.enable = true;
services.pasystray.enable = true; services.pasystray.enable = true;
systemd.user.services.pasystray.Service.Environment = "PATH=" + (lib.makeBinPath (with pkgs;[ pavucontrol paprefs /* pavumeter */ /* paman */ ]) );
systemd.user.services.network-manager-applet.Service.Environment = '' programs.chromium = {
XDG_DATA_DIRS=/etc/profiles/per-user/makefu/share GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache enable = true;
''; extensions = [
systemd.user.services.clipit = { "cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
Unit = { "dbepggeogbaibhgnhhndojpepiihcmeb" # vimium
Description = "clipboard manager"; # "liloimnbhkghhdhlamdjipkmadhpcjmn" # krebsgold
After = [ "graphical-session-pre.target" ]; "fpnmgdkabkmnadcjpehmlllkndpkmiak" # wayback machine
PartOf = [ "graphical-session.target" ]; "gcknhkkoolaabfmlnjonogaaifnjlfnp" # foxyproxy
"abkfbakhjpmblaafnpgjppbmioombali" # memex
"kjacjjdnoddnpbbcjilcajfhhbdhkpgk" # forest
];
}; };
Install = { systemd.user.services.clipit = {
WantedBy = [ "graphical-session.target" ]; Unit = {
}; Description = "clipboard manager";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = { Install = {
Environment = '' WantedBy = [ "graphical-session.target" ];
XDG_DATA_DIRS=/etc/profiles/per-user/makefu/share GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache };
'';
ExecStart = "${pkgs.clipit}/bin/clipit"; Service = {
Restart = "on-abort"; Environment = ''XDG_DATA_DIRS=/etc/profiles/per-user/makefu/share GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'';
ExecStart = "${pkgs.clipit}/bin/clipit";
Restart = "on-abort";
};
}; };
}; };
};
} }

View File

@ -1,5 +1,6 @@
{ {
home-manager.users.makefu = { home-manager.users.makefu = {
accounts.email.maildirBasePath = "/home/makefu/Mail";
accounts.email.accounts.syntaxfehler = { accounts.email.accounts.syntaxfehler = {
address = "felix.richter@syntax-fehler.de"; address = "felix.richter@syntax-fehler.de";
userName = "Felix.Richter@syntax-fehler.de"; userName = "Felix.Richter@syntax-fehler.de";
@ -27,7 +28,7 @@
}; };
primary = true; primary = true;
realName = "Felix Richter"; realName = "Felix Richter";
passwordCommand = "gpg --use-agent --quiet --batch -d /home/makefu/.mail/syntax-fehler.gpg"; passwordCommand = "gpg --use-agent --quiet --batch -d /home/makefu/.gnupg/mail/syntax-fehler.gpg";
}; };
programs.offlineimap.enable = true; programs.offlineimap.enable = true;
programs.offlineimap.extraConfig = { programs.offlineimap.extraConfig = {