move service to different flake
Some checks failed
Lint / lint (push) Failing after 2m11s
Plex Update / update (push) Successful in 2m15s

This commit is contained in:
Vivian 2023-12-19 14:52:25 +01:00
parent 3557cc4101
commit ee4936465c
7 changed files with 155 additions and 114 deletions

View file

@ -11,6 +11,17 @@ in {
Whether to enable home manager integration to set default dconf values
'';
};
auto-unlock-keyring = mkOption {
type = types.bool;
default = true;
description = ''
Whether to automatically unlock the keyring upon login.
This is mostly useful if you are logging in using a fingerprint
or FIDO device and the keyring does not automatically get unlocked.
Make sure you have enrolled you password into the keyring unlocker.
'';
};
};
config = mkIf cfg.enable {
@ -24,7 +35,6 @@ in {
layout = "us";
xkbVariant = "altgr-intl";
# Enable the GNOME Desktop Environment.
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
@ -34,6 +44,8 @@ in {
udisks2.enable = true;
};
services.gnome-autounlock-keyring.enable = cfg.auto-unlock-keyring;
# Add Home-manager dconf stuff
home-manager.sharedModules = mkIf cfg.hm [ ./hm.nix ];
environment.gnome.excludePackages =