SDDM added, prompt changed, and cal sync fixed

This commit is contained in:
FredzyW 2024-06-17 09:46:44 +02:00
parent 568d51dbaf
commit 2f94e9b5ff
3 changed files with 49 additions and 5 deletions

View file

@ -90,6 +90,35 @@
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";
};
};
environment.systemPackages = [(
pkgs.catppuccin-sddm.override {
flavor = "mocha";
font = "FiraCode Nerd Font Bold";
fontSize = "17";
background = "${../wallpapers/inverted.png}";
loginBackground = true;
}
)];
services = {
openssh = {
enable = true;
@ -107,9 +136,11 @@
variant = "";
};
displayManager = {
startx = {
enable = true;
};
sddm = {
enable = true;
theme = "catppuccin-mocha";
package = pkgs.kdePackages.sddm;
};
};
windowManager = {
dwm = {