Update
This commit is contained in:
parent
22a3f0b5de
commit
d58b29cfc0
9 changed files with 107 additions and 76 deletions
30
modules/home/programs/nextcloud-client/default.nix
Normal file
30
modules/home/programs/nextcloud-client/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
namespace,
|
||||
system,
|
||||
target,
|
||||
format,
|
||||
virtual,
|
||||
systems,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.${namespace}; let
|
||||
cfg = config.${namespace}.programs.nextcloud-client;
|
||||
impermanence = config.${namespace}.impermanence;
|
||||
in {
|
||||
options.${namespace}.programs.nextcloud-client = with types; {
|
||||
enable = mkBoolOpt false "Enable nextcloud-client";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [nextcloud-client];
|
||||
home.persistence = mkIf impermanence.enable {
|
||||
"${impermanence.persistentStorage}".directories = [
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -26,7 +26,7 @@ in {
|
|||
security.pam.services.quickshell = {};
|
||||
programs.niri = {
|
||||
enable = true;
|
||||
package = pkgs.niri-stable;
|
||||
package = pkgs.niri-unstable;
|
||||
};
|
||||
niri-flake.cache.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
@ -34,7 +34,7 @@ in {
|
|||
wayland-utils
|
||||
libsecret
|
||||
gamescope
|
||||
xwayland-satellite-stable
|
||||
xwayland-satellite-unstable
|
||||
];
|
||||
|
||||
#greeter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue