Compare commits

...

3 Commits

Author SHA1 Message Date
7898f567a5 hippocampus: Enable RISC-V Emulation w/ BinFMT 2024-07-07 11:46:55 -04:00
58dd448d24 flake.nix Reformat 2024-07-07 11:44:08 -04:00
091defb305 hippocampus: Change backup times 2024-07-07 11:43:01 -04:00
4 changed files with 20 additions and 12 deletions

View File

@@ -66,16 +66,16 @@
];
};
homeConfigurations."universelaptop" = home-manager.lib.homeManagerConfiguration {
pkgs = pkgs_linux-aarch64;
pkgs = pkgs_linux-aarch64;
# Specify your home configuration modules here, for example,
# the path to your home.nix.
modules = [ ./machines/asahi/home.nix ];
extraSpecialArgs = {
pkgs-x86_64 = pkgs_linux-x86_64;
inputs = attrs;
};
# Specify your home configuration modules here, for example,
# the path to your home.nix.
modules = [ ./machines/asahi/home.nix ];
extraSpecialArgs = {
pkgs-x86_64 = pkgs_linux-x86_64;
inputs = attrs;
};
};
};
}

View File

@@ -42,9 +42,9 @@ in {
environmentFile = config.sops.secrets."restic/backblaze".path;
pruneOpts = [
"--keep-daily 2"
"--keep-weekly 4"
"--keep-yearly 8"
"--keep-daily 1"
"--keep-weekly 2"
"--keep-yearly 4"
];
};
}

View File

@@ -9,6 +9,9 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# Allow RISC-V Native Emulation (Binfmt QEMU)
./riscv.nix
# Backup!
./backup.nix

View File

@@ -0,0 +1,5 @@
{ config, pkgs, lib, ... ]: {
boot.binfmt.emulatedSystems = [
"riscv64-linux"
];
}