mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2025-05-05 17:04:16 +02:00
add nextcloud client
This commit is contained in:
parent
fad3eed964
commit
5db76aec8d
2 changed files with 13 additions and 0 deletions
home-manager
|
@ -19,6 +19,7 @@ with lib;
|
|||
./../programs/htop.nix
|
||||
./../programs/kitty.nix
|
||||
./../programs/neovim.nix
|
||||
./../programs/nextcloud-client.nix
|
||||
./../programs/starship.nix
|
||||
./../programs/topgrade.nix
|
||||
./../programs/yt-dlp.nix
|
||||
|
|
12
home-manager/programs/nextcloud-client.nix
Normal file
12
home-manager/programs/nextcloud-client.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, config, ... }:
|
||||
|
||||
let
|
||||
nixGL = config.lib.nixGL.wrap;
|
||||
in
|
||||
{
|
||||
services.nextcloud-client = {
|
||||
enable = if (config.machine.isGraphical) then true else false;
|
||||
package = if (config.machine.isGeneric) then (nixGL pkgs.nextcloud-client) else pkgs.nextcloud-client;
|
||||
startInBackground = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue