move service to different flake
This commit is contained in:
parent
ee02043b4c
commit
82bc9ac40c
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 =
|
||||
|
|
|
@ -156,6 +156,7 @@
|
|||
"tudelft" = {
|
||||
ip = "192.168.0.132";
|
||||
mac = "AE:B3:93:4B:04:76";
|
||||
nix = false;
|
||||
};
|
||||
"mastodon" = {
|
||||
ip = "192.168.0.138";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
virtio0 = "local-zfs:vm-9999-disk-0";
|
||||
cores = 4;
|
||||
memory = 4096;
|
||||
bios = "ovmf";
|
||||
bios = "seabios";
|
||||
additionalSpace = "20G";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ nixpkgs, home-manager, mailserver, lanzaboote, attic, ... }:
|
||||
{ nixpkgs, home-manager, mailserver, lanzaboote, attic, gnome-autounlock-keyring, ... }:
|
||||
let
|
||||
inherit (builtins) filter attrValues concatMap mapAttrs;
|
||||
inherit (nixpkgs.lib.attrsets) mapAttrsToList;
|
||||
|
@ -18,6 +18,7 @@ let
|
|||
"vm" = [ ./common/generic-vm.nix ];
|
||||
"local" = [
|
||||
lanzaboote.nixosModules.lanzaboote
|
||||
gnome-autounlock-keyring.nixosModules.default
|
||||
./common/desktop
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue