add keyring
This commit is contained in:
parent
605ced9a67
commit
70b54b19bf
2 changed files with 13 additions and 7 deletions
|
@ -1,9 +1,14 @@
|
||||||
{ outputs, options, config, lib, pkgs, ...}:
|
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
cfg = config.modules.desktop.apps.nextcloud;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
|
outputs,
|
||||||
|
options,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.modules.desktop.apps.nextcloud;
|
||||||
|
in {
|
||||||
options.modules.desktop.apps.nextcloud = {
|
options.modules.desktop.apps.nextcloud = {
|
||||||
enable = mkEnableOption false;
|
enable = mkEnableOption false;
|
||||||
};
|
};
|
||||||
|
@ -12,6 +17,5 @@ in
|
||||||
users.users.sako.packages = with pkgs; [
|
users.users.sako.packages = with pkgs; [
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,10 +18,12 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
# this is needed for gtk configuration to work
|
# this is needed for gtk configuration to work
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
|
# keyring
|
||||||
|
services.gnome3.gnome-keyring.enable = true;
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
windowManager = {
|
windowManager = {
|
||||||
|
|
Loading…
Reference in a new issue