Changes
2 changed files (+18/-38)
-
-
@@ -126,9 +126,7 @@systemd.services.kill-fprintd = { wantedBy = [ "sleep.target" ]; before = [ "sleep.target" ]; serviceConfig = { ExecStart = "${pkgs.killall}/bin/killall fprintd"; }; serviceConfig.ExecStart = "${pkgs.killall}/bin/killall fprintd"; }; # Back up /home and unnamed.website using btrfs snapshots and btrbk
-
@@ -137,9 +135,7 @@onCalendar = "00:05 UTC"; settings = { volume = { "/" = { subvolume = "/home"; }; "/".subvolume = "/home"; "ssh://unnamed.website/" = { ssh_user = "btrbk"; subvolume = "srv";
-
@@ -156,13 +152,9 @@}; systemd.services.btrbk-btrbk = { # The remote server uses UTC so we have to too environment = { TZ = "utc"; }; serviceConfig = { # Wait for internet connectivity if we just woke up ExecStartPre = "${pkgs.networkmanager}/bin/nm-online -q"; }; environment.TZ = "utc"; # Wait for internet connectivity if we just woke up serviceConfig.ExecStartPre = "${pkgs.networkmanager}/bin/nm-online -q"; }; # Back up stuff to the cloud too
-
@@ -175,9 +167,7 @@}; systemd.user.timers.rclone = { wantedBy = [ "timers.target" ]; timerConfig = { OnCalendar = "daily UTC"; }; timerConfig.OnCalendar = "daily UTC"; }; # https://unnamed.website/posts/switch-virtual-keyboard/
-
-
-
@@ -35,21 +35,11 @@content = { type = "btrfs"; subvolumes = { "@" = { mountpoint = "/"; }; "@nix" = { mountpoint = "/nix"; }; "@log" = { mountpoint = "/var/log"; }; "@.snapshots" = { mountpoint = "/.snapshots"; }; "@home" = { mountpoint = "/home"; }; "@".mountpoint = "/"; "@nix".mountpoint = "/nix"; "@log".mountpoint = "/var/log"; "@.snapshots".mountpoint = "/.snapshots"; "@home".mountpoint = "/home"; }; }; };
-
@@ -57,10 +47,13 @@}; }; # XVM only has BIOS not UEFI # So no systemd-boot boot.loader.grub.enable = true; # Spooky Xen stuff boot.initrd.availableKernelModules = [ "xen-blkfront" "xen-kbdfront" "xen-netfront" ]; # TODO: BAD! Get rid of this!
-
@@ -73,6 +66,7 @@# Very creative, I know networking.hostName = "Unnamed-Server"; # The best time zone time.timeZone = "UTC"; users.users.a.openssh.authorizedKeys.keys = [
-
@@ -206,15 +200,11 @@}; # I couldn't figure out how to set cache-root for cgit # So instead symlink it systemd.tmpfiles.rules = [ "L /var/cache/cgit - - - - /var/tmp" ]; systemd.tmpfiles.rules = [ "L /var/cache/cgit - - - - /var/tmp" ]; # Back up / using btrfs snapshots and btrbk services.btrbk.instances.btrbk = { onCalendar = "daily"; settings = { volume."/".subvolume = "srv"; }; settings.volume."/".subvolume = "srv"; }; }
-