Lots of config

This commit is contained in:
FredzyW 2024-07-15 14:04:43 +02:00
parent 6fe5df4636
commit f8cc052f3c
9 changed files with 98 additions and 48 deletions

View file

@ -90,23 +90,23 @@
boot.loader.efi.canTouchEfiVariables = true;
console.keyMap = "sv-latin1";
systemd.services.vdirsyncer = {
serviceConfig.Type = "oneshot";
serviceConfig.User = "fw";
path = with pkgs; [ vdirsyncer ];
script = ''
vdirsyncer -c "/home/fw/.config/vdirsyncer/config" sync
'';
};
systemd.timers.vdirsyncer = {
wantedBy = [ "timers.target" ];
partOf = [ "vdirsyncer.service" ];
timerConfig = {
OnBootSec = "5m";
OnUnitActiveSec = "5m";
Unit = "vdirsyncer.service";
};
};
# systemd.services.vdirsyncer = {
# serviceConfig.Type = "oneshot";
# serviceConfig.User = "fw";
# path = with pkgs; [ vdirsyncer ];
# script = ''
# vdirsyncer -c "/home/fw/.config/vdirsyncer/config" sync
# '';
# };
# systemd.timers.vdirsyncer = {
# wantedBy = [ "timers.target" ];
# partOf = [ "vdirsyncer.service" ];
# timerConfig = {
# OnBootSec = "5m";
# OnUnitActiveSec = "5m";
# Unit = "vdirsyncer.service";
# };
# };
environment.systemPackages = [(
pkgs.catppuccin-sddm.override {