Merge branch 'main' of github.com:FredzyW/nix

This commit is contained in:
FredzyW 2024-07-16 18:05:51 +02:00
commit c58cbd0f9c
11 changed files with 208 additions and 53 deletions

View file

@ -95,23 +95,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 = with pkgs; [(
catppuccin-sddm.override {