Compare commits
2 commits
a6e13a1253
...
1dbd2b876c
Author | SHA1 | Date | |
---|---|---|---|
1dbd2b876c | |||
71efe79cb2 |
5 changed files with 26 additions and 6 deletions
|
@ -10,6 +10,5 @@ in {
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
programs.seahorse.enable = true;
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -47,6 +47,7 @@ with lib; {
|
|||
swaync.enable = true;
|
||||
swayosd.enable = true;
|
||||
#// xembed-sni-proxy.enable = true;
|
||||
zerotierone.enable = true;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
@ -8,9 +8,10 @@ with lib; let
|
|||
in {
|
||||
options.custom.services.gnome-keyring.enable = mkOption {default = false;};
|
||||
|
||||
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
|
||||
config = mkIf cfg.enable {
|
||||
# https://wiki.archlinux.org/title/GNOME/Keyring
|
||||
# https://gitlab.gnome.org/GNOME/gnome-keyring
|
||||
services.gnome-keyring.enable = true;
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
home-manager.users.${config.custom.username}.services.gnome-keyring.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -33,6 +33,9 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# Use password at login to unlock keyring
|
||||
security.pam.services.greetd.fprintAuth = false;
|
||||
|
||||
# Attempt to prevent bootlogs from polluting the tty
|
||||
# https://github.com/apognu/tuigreet/issues/68
|
||||
systemd.services.greetd.serviceConfig = {
|
||||
|
@ -44,8 +47,5 @@ in {
|
|||
TTYVHangup = true;
|
||||
TTYVTDisallocate = true;
|
||||
};
|
||||
|
||||
# FIXME: Does not unlock at login
|
||||
security.pam.services.greetd.enableGnomeKeyring = true; # Allow PAM unlocking
|
||||
};
|
||||
}
|
||||
|
|
19
options/custom/services/zerotierone.nix
Normal file
19
options/custom/services/zerotierone.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.custom.services.zerotierone;
|
||||
in {
|
||||
options.custom.services.zerotierone.enable = mkOption {default = false;};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
#!! Configuration is imperative
|
||||
# https://www.zerotier.com/
|
||||
# https://github.com/zerotier/ZeroTierOne
|
||||
services.zerotierone = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue