mirror of
https://github.com/kmein/niveum
synced 2026-03-21 04:11:07 +01:00
feat(seafile): declaratively configure
This commit is contained in:
20
configs/seafile.nix
Normal file
20
configs/seafile.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
services.xserver.displayManager.sessionCommands = "${pkgs.seafile-client}/bin/seafile-applet";
|
||||
|
||||
home-manager.users.me.xdg.configFile = {
|
||||
"Seafile/Seafile Client.conf".source = (pkgs.formats.ini {}).generate "Seafile Client.conf" {
|
||||
Behavior = {
|
||||
hideDockIcon = false;
|
||||
hideMainWindowWhenStarted = true;
|
||||
};
|
||||
Settings = {
|
||||
computerName = config.networking.hostName;
|
||||
lastShiburl = "https://box.hu-berlin.de";
|
||||
};
|
||||
UsedServerAddresses.main = "https://box.hu-berlin.de";
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = [ pkgs.seafile-client pkgs.seafile-shared ];
|
||||
}
|
||||
Reference in New Issue
Block a user