1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 19:11:08 +01:00

Fix light-locker, google-drive; add power to lightdm

This commit is contained in:
Kierán Meinhardt
2019-01-29 23:12:30 +01:00
parent de70d77478
commit bc05f2e736
3 changed files with 9 additions and 12 deletions

View File

@@ -14,8 +14,6 @@ in {
configs/retiolum.nix
];
nix.optimise.automatic = true;
time.timeZone = "Europe/Berlin";
sound.enable = true;
@@ -58,18 +56,17 @@ in {
shell = pkgs.zsh;
};
systemd.user.services.google-drive = {
systemd.services.google-drive = {
description = "Google Drive synchronisation service";
wants = [ "network-online.target" ];
script = ''
${pkgs.grive2}/bin/grive -p ${config.users.users.kfm.home}/cloud/gdrive
'';
serviceConfig.Restart = "on-failure";
};
systemd.user.timers.google-drive = {
wantedBy = [ "timers.target" ];
timerConfig.OnUnitActiveSec = "5minutes";
startAt = "*:0/5";
serviceConfig = {
Restart = "on-failure";
User = "kfm";
};
};
programs.tmux = {