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"; #upload_rate_limit = "4000";
encryption_passcommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.borgmaticEncryptionKey.path}"; encryption_passcommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.borgmaticEncryptionKey.path}";
compression = "auto,zstd,10"; 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" ]; 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})" ]; 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" ]; 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 # end printing
programs.light.enable = true; programs.light.enable = true;
networking.networkmanager.enable = true; # networking.networkmanager.enable = true;
networking.networkmanager.wifi.backend = "iwd"; # networking.networkmanager.wifi.backend = "iwd";
networking.wireless.iwd.enable = true;
networking.useDHCP = lib.mkDefault true;
services.xserver.displayManager.gdm.enable = true; services.xserver.displayManager.gdm.enable = true;
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.displayManager.gdm.wayland = true; services.xserver.displayManager.gdm.wayland = true;
@ -98,7 +101,7 @@
services.displayManager.defaultSession = "river"; services.displayManager.defaultSession = "river";
programs.river.enable = true; programs.river.enable = true;
services.upower.enable = true; services.upower.enable = true;
users.users.ragon.extraGroups = [ "networkmanager" "video" ]; users.users.ragon.extraGroups = [ "networkmanager" "video" "netdev" ];
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
nerdfonts nerdfonts
cantarell-fonts cantarell-fonts
@ -211,6 +214,7 @@
dune3d dune3d
ptyxis ptyxis
filezilla
broot broot
]; ];
@ -283,6 +287,7 @@
persist.extraDirectories = [ persist.extraDirectories = [
"/var/lib/bluetooth" "/var/lib/bluetooth"
"/var/lib/flatpak" "/var/lib/flatpak"
"/var/lib/iwd"
]; ];
services = { services = {
ssh.enable = true; ssh.enable = true;

View file

@ -46,7 +46,6 @@
# (the default) this is the recommended approach. When using systemd-networkd it's # (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 # 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`. # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp195s0f3u1u3.useDHCP = lib.mkDefault true; # networking.interfaces.enp195s0f3u1u3.useDHCP = lib.mkDefault true;
# networking.interfaces.eth0.useDHCP = lib.mkDefault true; # networking.interfaces.eth0.useDHCP = lib.mkDefault true;

View file

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