mirror of
https://github.com/kmein/niveum
synced 2026-03-19 03:21:10 +01:00
chore: nixfmt
This commit is contained in:
@@ -1,17 +1,14 @@
|
||||
{ pkgs, config, lib, ... }:
|
||||
with lib;
|
||||
let cfg = config.niveum.google-drive;
|
||||
in
|
||||
{
|
||||
in {
|
||||
options.niveum.google-drive = {
|
||||
enable = mkEnableOption "Google Drive";
|
||||
directory = mkOption { type = types.path; };
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = [
|
||||
pkgs.grive2
|
||||
];
|
||||
environment.systemPackages = [ pkgs.grive2 ];
|
||||
|
||||
systemd.user.services.google-drive = {
|
||||
description = "Google Drive synchronisation service";
|
||||
|
||||
Reference in New Issue
Block a user