fix: dedupe offlineimap python file
This commit is contained in:
parent
fa4c986d44
commit
52717da2db
|
@ -19,7 +19,7 @@ in {
|
||||||
home-manager.users."${psCfg.user.name}" = {
|
home-manager.users."${psCfg.user.name}" = {
|
||||||
programs.offlineimap = {
|
programs.offlineimap = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pythonFile = builtins.readFile ./offlineimap.py;
|
pythonFile = builtins.readFile ./.config/offlineimap/functions.py;
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile."mutt/muttrc".source = ./.config/mutt/muttrc;
|
xdg.configFile."mutt/muttrc".source = ./.config/mutt/muttrc;
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
#! /usr/bin/env python2
|
|
||||||
import os
|
|
||||||
import subprocess
|
|
||||||
|
|
||||||
def get_env(key):
|
|
||||||
return os.getenv(key)
|
|
||||||
|
|
||||||
def get_secret(*attributes):
|
|
||||||
return subprocess.check_output(["secret-tool", "lookup"] + list(attributes))
|
|
Loading…
Reference in a new issue