This commit is contained in:
Lucy Hochkamp 2025-01-02 16:03:03 +01:00
parent 46617e5292
commit dd2e47cf52
No known key found for this signature in database
4 changed files with 12 additions and 7 deletions

View file

@ -26,7 +26,7 @@
#upload_rate_limit = "4000";
encryption_passcommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.borgmaticEncryptionKey.path}";
compression = "auto,zstd,10";
ssh_command = "ssh -o GlobalKnownHostsFile=${config.age.secrets.gatebridgeHostKeys.path} -i ${config.age.secrets.ds9OffsiteBackupSSH.path}";
ssh_command = "ssh -o ClientAliveInterval=10 -o ClientAliveCountMax=30 -o GlobalKnownHostsFile=${config.age.secrets.gatebridgeHostKeys.path} -i ${config.age.secrets.ds9OffsiteBackupSSH.path}";
before_actions = [ "${pkgs.curl}/bin/curl -fss -m 10 --retry 5 -o /dev/null $(${pkgs.coreutils}/bin/cat ${config.age.secrets.ds9SyncoidHealthCheckUrl.path})/start" ];
after_actions = [ "${pkgs.curl}/bin/curl -fss -m 10 --retry 5 -o /dev/null $(${pkgs.coreutils}/bin/cat ${config.age.secrets.ds9SyncoidHealthCheckUrl.path})" ];
on_error = [ "${pkgs.curl}/bin/curl -fss -m 10 --retry 5 -o /dev/null $(${pkgs.coreutils}/bin/cat ${config.age.secrets.ds9SyncoidHealthCheckUrl.path})/fail" ];

View file

@ -86,8 +86,11 @@
# end printing
programs.light.enable = true;
networking.networkmanager.enable = true;
networking.networkmanager.wifi.backend = "iwd";
# networking.networkmanager.enable = true;
# networking.networkmanager.wifi.backend = "iwd";
networking.wireless.iwd.enable = true;
networking.useDHCP = lib.mkDefault true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.enable = true;
services.xserver.displayManager.gdm.wayland = true;
@ -98,7 +101,7 @@
services.displayManager.defaultSession = "river";
programs.river.enable = true;
services.upower.enable = true;
users.users.ragon.extraGroups = [ "networkmanager" "video" ];
users.users.ragon.extraGroups = [ "networkmanager" "video" "netdev" ];
fonts.packages = with pkgs; [
nerdfonts
cantarell-fonts
@ -211,6 +214,7 @@
dune3d
ptyxis
filezilla
broot
];
@ -283,6 +287,7 @@
persist.extraDirectories = [
"/var/lib/bluetooth"
"/var/lib/flatpak"
"/var/lib/iwd"
];
services = {
ssh.enable = true;

View file

@ -46,7 +46,6 @@
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp195s0f3u1u3.useDHCP = lib.mkDefault true;
# networking.interfaces.eth0.useDHCP = lib.mkDefault true;

View file

@ -18,7 +18,8 @@ in
dconf
playerctl
pwvucontrol
networkmanagerapplet
# networkmanagerapplet
iwgtk
libnotify
];
@ -559,7 +560,7 @@ label:focus {
swaybg -i ${backgroundImage} &
shikane &
${pkgs.mako}/bin/mako &
nm-applet &
iwgtk -i &
'';
};
# services.wired = {