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 {

View file

@ -76,14 +76,28 @@
xorg.xmodmap
playerctl
openssl
libiconv
pkg-config
libsecret
go
ghorg
libsixel
kompose
#Terminal
weechat
jira-cli-go
texliveSmall
jq
vscode
sc-im
gnuplot
bison
vdirsyncer
todoist
todoman
calcure
python311Packages.urwid
@ -117,10 +131,10 @@
azuredatastudio
adrs
opentofu
kubernetes
lazydocker
#Desktop
openvpn3
aerc
firefox
thunderbird
@ -171,6 +185,7 @@
nodePackages_latest.vls
nodePackages_latest.volar
vscode-langservers-extracted
gopls
#VPN
openvpn
@ -183,7 +198,7 @@
programs.fish.enable = true;
xsession.enable = true;
xsession.windowManager.command = if myhostname == "laptop" then "/home/fw/nix/.xinitrc.laptop" else "/home/fw/nix/.xinitrc";
xsession.windowManager.command = if myhostname == "laptop" then "/home/fw/nix/.xinitrc.laptop" else if myhostname == "jobb" then "/home/fw/nix/.xinitrc.jobb" else "/home/fw/nix/.xinitrc";
home.username = "fw";
home.homeDirectory = "/home/fw";