various fixes

This commit is contained in:
Ingolf Wagner 2021-10-10 19:06:24 +02:00
parent 36a74d3ebd
commit 0de75e777b
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 10 additions and 4 deletions

View file

@ -19,6 +19,9 @@
system.custom.wifi.interfaces = [ "wlp3s0" ]; system.custom.wifi.interfaces = [ "wlp3s0" ];
sops.secrets.tinc_retiolum_ed25519_key = { };
sops.secrets.tinc_retiolum_rsa_key = { };
security.wrappers = { security.wrappers = {
pmount.source = "${pkgs.pmount}/bin/pmount"; pmount.source = "${pkgs.pmount}/bin/pmount";
pumount.source = "${pkgs.pmount}/bin/pumount"; pumount.source = "${pkgs.pmount}/bin/pumount";

View file

@ -23,8 +23,8 @@ in {
AutoConnect = yes AutoConnect = yes
''; '';
privateEd25519KeyFile = privateEd25519KeyFile =
toString config.sops.secrets.tinc_ed25519_key.path; toString config.sops.secrets.tinc_retiolum_ed25519_key.path;
privateRsaKeyFile = toString config.sops.secrets.tinc_rsa_key.path; privateRsaKeyFile = toString config.sops.secrets.tinc_retiolum_rsa_key.path;
hosts = { hosts = {
pepe = { pepe = {
tincIp = "10.243.23.1"; tincIp = "10.243.23.1";

View file

@ -81,6 +81,11 @@ in {
github.include_user_repos = False github.include_user_repos = False
''; '';
xdg.configFile."ncmpcpp/config".text = ''
mpd_host = "pepe.private"
mpd_port = 6600
'';
home.file.".zshrc".text = '' home.file.".zshrc".text = ''
# a fix for https://github.com/NixOS/nixpkgs/issues/27587 # a fix for https://github.com/NixOS/nixpkgs/issues/27587
autoload -U compinit && compinit autoload -U compinit && compinit

View file

@ -379,8 +379,6 @@ in {
parseUrl parseUrl
parseAndCopyLink parseAndCopyLink
ncmpcpp
# needed for pycairo (in venv) # needed for pycairo (in venv)
pkgconf pkgconf
cairo cairo