Compare commits
3 Commits
00520ecd5f
...
7898f567a5
| Author | SHA1 | Date | |
|---|---|---|---|
| 7898f567a5 | |||
| 58dd448d24 | |||
| 091defb305 |
18
flake.nix
18
flake.nix
@@ -66,16 +66,16 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
homeConfigurations."universelaptop" = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations."universelaptop" = home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = pkgs_linux-aarch64;
|
pkgs = pkgs_linux-aarch64;
|
||||||
|
|
||||||
# Specify your home configuration modules here, for example,
|
# Specify your home configuration modules here, for example,
|
||||||
# the path to your home.nix.
|
# the path to your home.nix.
|
||||||
modules = [ ./machines/asahi/home.nix ];
|
modules = [ ./machines/asahi/home.nix ];
|
||||||
|
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
pkgs-x86_64 = pkgs_linux-x86_64;
|
pkgs-x86_64 = pkgs_linux-x86_64;
|
||||||
inputs = attrs;
|
inputs = attrs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,9 +42,9 @@ in {
|
|||||||
environmentFile = config.sops.secrets."restic/backblaze".path;
|
environmentFile = config.sops.secrets."restic/backblaze".path;
|
||||||
|
|
||||||
pruneOpts = [
|
pruneOpts = [
|
||||||
"--keep-daily 2"
|
"--keep-daily 1"
|
||||||
"--keep-weekly 4"
|
"--keep-weekly 2"
|
||||||
"--keep-yearly 8"
|
"--keep-yearly 4"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,9 @@
|
|||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
|
# Allow RISC-V Native Emulation (Binfmt QEMU)
|
||||||
|
./riscv.nix
|
||||||
|
|
||||||
# Backup!
|
# Backup!
|
||||||
./backup.nix
|
./backup.nix
|
||||||
|
|
||||||
|
|||||||
5
machines/hippocampus/riscv.nix
Normal file
5
machines/hippocampus/riscv.nix
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{ config, pkgs, lib, ... ]: {
|
||||||
|
boot.binfmt.emulatedSystems = [
|
||||||
|
"riscv64-linux"
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user