fix secrets
This commit is contained in:
parent
3f5f2b9fa4
commit
f052c148ea
@ -155,7 +155,7 @@ in {
|
|||||||
while inotifywait "$PASSWORD_STORE_DIR" -r -e move -e close_write -e create -e delete --exclude .git; do
|
while inotifywait "$PASSWORD_STORE_DIR" -r -e move -e close_write -e create -e delete --exclude .git; do
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
pass git add --all
|
pass git add --all
|
||||||
pass git commit -m "$(date +%F)_$(date+%T)"
|
pass git commit -m "change"
|
||||||
pass git pull --rebase
|
pass git pull --rebase
|
||||||
pass git push
|
pass git push
|
||||||
done
|
done
|
||||||
|
@ -1,13 +1,7 @@
|
|||||||
{ config, pkgs, inputs, lib, system, ... }: {
|
{ config, pkgs, inputs, lib, system, ... }: {
|
||||||
secrets.email = {
|
|
||||||
owner = "alukard:users";
|
|
||||||
services = [ ];
|
|
||||||
encrypted = "${config.environment.sessionVariables.PASSWORD_STORE_DIR}/email/ataraxiadev@ataraxiadev.com.gpg";
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager.users.alukard = {
|
home-manager.users.alukard = {
|
||||||
home.packages = [ pkgs.himalaya ];
|
home.packages = [ pkgs.himalaya ];
|
||||||
# home.packages = [ inputs.himalaya.defaultPackage.${pkgs.system} ];
|
|
||||||
|
|
||||||
xdg.configFile."himalaya/config.toml".text = ''
|
xdg.configFile."himalaya/config.toml".text = ''
|
||||||
downloads-dir="/home/alukard/Downloads/mail"
|
downloads-dir="/home/alukard/Downloads/mail"
|
||||||
@ -16,13 +10,13 @@
|
|||||||
[ataraxiadev]
|
[ataraxiadev]
|
||||||
default=true
|
default=true
|
||||||
email="ataraxiadev@ataraxiadev.com"
|
email="ataraxiadev@ataraxiadev.com"
|
||||||
imap-host="ataraxiadev.com"
|
imap-host="mail.ataraxiadev.com"
|
||||||
imap-login="ataraxiadev@ataraxiadev.com"
|
imap-login="ataraxiadev@ataraxiadev.com"
|
||||||
imap-passwd-cmd="pass show /var/secrets/email"
|
imap-passwd-cmd="pass show email/ataraxiadev@ataraxiadev.com"
|
||||||
imap-port=993
|
imap-port=993
|
||||||
smtp-host="ataraxiadev.com"
|
smtp-host="mail.ataraxiadev.com"
|
||||||
smtp-login="ataraxiadev@ataraxiadev.com"
|
smtp-login="ataraxiadev@ataraxiadev.com"
|
||||||
smtp-passwd-cmd="pass show /var/secrets/email"
|
smtp-passwd-cmd="pass show email/ataraxiadev@ataraxiadev.com"
|
||||||
smtp-port=465
|
smtp-port=465
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -16,8 +16,12 @@
|
|||||||
};
|
};
|
||||||
home-manager.users.alukard.home.file.".config/youtube-dl/config" = {
|
home-manager.users.alukard.home.file.".config/youtube-dl/config" = {
|
||||||
text = ''
|
text = ''
|
||||||
--cookie=/home/alukard/.config/yt-cookie
|
--cookie=/var/secrets/yt-cookie
|
||||||
--mark-watched
|
--mark-watched
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
secrets.yt-cookie = {
|
||||||
|
owner = "alukard";
|
||||||
|
};
|
||||||
}
|
}
|
@ -55,18 +55,13 @@ in {
|
|||||||
};
|
};
|
||||||
})
|
})
|
||||||
{
|
{
|
||||||
secrets.spotify = {
|
|
||||||
owner = "alukard";
|
|
||||||
services = [ "spotifyd" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.spotifyd-user = {
|
services.spotifyd-user = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
package = (pkgs.spotifyd.override { withALSA = false; withPulseAudio = true; withPortAudio = false; withMpris = true; });
|
package = (pkgs.spotifyd.override { withALSA = false; withPulseAudio = true; withPortAudio = false; withMpris = true; });
|
||||||
settings = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
username = "alukard.files@gmail.com";
|
username = "alukard.files@gmail.com";
|
||||||
password_cmd = "pass spotify";
|
password_cmd = "pass show spotify";
|
||||||
backend = "pulseaudio";
|
backend = "pulseaudio";
|
||||||
volume_controller = "softvol";
|
volume_controller = "softvol";
|
||||||
device_name = "${config.device}";
|
device_name = "${config.device}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user