fix collabora partially

This commit is contained in:
mjallen18
2024-07-04 09:50:41 -05:00
parent 9bbe5272f9
commit 5d7f37168c
4 changed files with 67 additions and 20 deletions

View File

@@ -125,13 +125,22 @@ in
];
};
systemd.services.fix-wifi = {
path = [ pkgs.bash pkgs.networkmanager pkgs.kmod ];
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
Type="oneshot";
ExecStart = [ "${resetNetworkScript}/bin/reset-network" ];
systemd.services = {
fix-wifi = {
path = [ pkgs.bash pkgs.networkmanager pkgs.kmod ];
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
Type="oneshot";
ExecStart = [ "${resetNetworkScript}/bin/reset-network" ];
};
};
rsync-home = {
path = [ pkgs.bash pkgs.rsync ];
script = ''
rsync -rtpogv --progress --ignore-existing --exclude={'/home/matt/Games/*', '/home/matt/1TB/*'} -lHzs /home/matt /media/nas/backup/desktop-nix/home
'';
};
};
@@ -166,12 +175,14 @@ in
clinfo
efibootmgr
gparted
grsync
kmod
lact
nano
os-prober
papirus-icon-theme
pciutils
rsync
sbctl
vim
vulkan-tools
@@ -204,17 +215,17 @@ in
};
services = {
borgbackup.jobs.home-matt = {
paths = "/home/matt";
encryption.mode = "none";
# environment.BORG_RSH = "ssh -i /home/matt/.ssh/id_ed25519";
repo = "/media/nas/backup/desktop-nix/home";
compression = "auto,zstd";
exclude = [
"/home/matt/Games"
"/home/matt/1TB"
];
};
# borgbackup.jobs.home-matt = {
# paths = "/home/matt";
# encryption.mode = "none";
# # environment.BORG_RSH = "ssh -i /home/matt/.ssh/id_ed25519";
# repo = "/media/nas/backup/desktop-nix/home";
# compression = "auto,zstd";
# exclude = [
# "/home/matt/Games"
# "/home/matt/1TB"
# ];
# };
ratbagd.enable = true;
};