move service to different flake
This commit is contained in:
parent
3557cc4101
commit
ee4936465c
7 changed files with 155 additions and 114 deletions
|
@ -101,6 +101,4 @@
|
|||
info.enable = lib.mkForce false;
|
||||
nixos.enable = lib.mkForce false;
|
||||
};
|
||||
|
||||
system.disableInstallerTools = lib.mkDefault true;
|
||||
}
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue