Fix rbw usage
This commit is contained in:
parent
ccbff07715
commit
9bf7453a50
|
@ -167,7 +167,7 @@
|
|||
)
|
||||
(
|
||||
pkgs.writeShellScriptBin "print-ssh-pw"
|
||||
"rbw ${config.m-0.hostName}.m-0.eu ssh-key"
|
||||
"rbw get ${config.m-0.hostName}.m-0.eu ssh-key"
|
||||
)
|
||||
(
|
||||
pkgs.writeShellScriptBin "dingdingding" (builtins.readFile ./signal.sh)
|
||||
|
@ -178,7 +178,7 @@
|
|||
BROWSER = "firefox";
|
||||
SUDO_ASKPASS = toString (
|
||||
pkgs.writeShellScript "print-sudo-pw"
|
||||
"pass show eu/m-0/${config.m-0.hostName}.m-0.eu/${config.home.username}"
|
||||
"rbw get ${config.m-0.hostName}.m-0.eu ${config.home.username}"
|
||||
);
|
||||
};
|
||||
};
|
||||
|
|
|
@ -33,7 +33,7 @@ in {
|
|||
mail2rss = {
|
||||
Unit.Description = "Mail to rss exporter";
|
||||
Service = {
|
||||
Environment = "PATH=${lib.makeBinPath [pkgs.coreutils config.programs.rbw.packages]}";
|
||||
Environment = "PATH=${lib.makeBinPath [pkgs.coreutils config.programs.rbw.package]}";
|
||||
ExecStart = "${mail2rss}/bin/mail2rss";
|
||||
Type = "oneshot";
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
if (type == "caldav")
|
||||
then {
|
||||
inherit username;
|
||||
"password.fetch" = ["command" (lib.getExe config.programs.rbw.package) passwordPath];
|
||||
"password.fetch" = ["command" (lib.getExe config.programs.rbw.package) "get" passwordPath];
|
||||
read_only = readOnly;
|
||||
}
|
||||
else {}
|
||||
|
|
|
@ -34,6 +34,8 @@ in {
|
|||
pkgs.networkmanagerapplet # For when the gnome dialog sucks in asking for a wifi password.
|
||||
];
|
||||
|
||||
services.fprintd.enable = true;
|
||||
|
||||
networking = {
|
||||
hostName = "apollo";
|
||||
domain = "m-0.eu";
|
||||
|
|
|
@ -12,7 +12,16 @@ in {
|
|||
description = "maralorn";
|
||||
isNormalUser = true;
|
||||
uid = 1000;
|
||||
extraGroups = ["wheel" "systemd-journal" "networkmanager" "docker" "video" "adbusers" "dialout"];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"systemd-journal"
|
||||
"networkmanager"
|
||||
"docker"
|
||||
"video"
|
||||
"keys"
|
||||
"adbusers"
|
||||
"dialout"
|
||||
];
|
||||
inherit openssh passwordFile;
|
||||
};
|
||||
root = {inherit openssh passwordFile;};
|
||||
|
|
Loading…
Reference in a new issue