kalessin: add to readme and allow overwriting profiles for remote builds

This commit is contained in:
Katherina Walshe-Grey 2024-08-18 13:31:32 +01:00
parent e2f5407c75
commit 58a4c5ecc0
2 changed files with 7 additions and 3 deletions

View file

@ -10,6 +10,7 @@ The canonical location for this repository is https://git.qenya.tel/qenya/nixfil
* `tohru`: Dell Latitude 5300, personal laptop * `tohru`: Dell Latitude 5300, personal laptop
* `yevaud`: Oracle Cloud free AMD VM, hosts a Forgejo instance and WireGuard server for the other machines in the network * `yevaud`: Oracle Cloud free AMD VM, hosts a Forgejo instance and WireGuard server for the other machines in the network
* `orm`: Oracle Cloud free AMD VM, currently idling * `orm`: Oracle Cloud free AMD VM, currently idling
* `kalessin`: Oracle Cloud free ARM VM, currently idling
### Referenced only ### Referenced only
* `kilgharrah`: Custom-built personal desktop, currently running Arch * `kilgharrah`: Custom-built personal desktop, currently running Arch

View file

@ -2,8 +2,8 @@ let sources = import ./npins;
in { in {
meta.nixpkgs = sources.nixpkgs; meta.nixpkgs = sources.nixpkgs;
defaults = { name, nodes, ... }: { defaults = { name, nodes, config, lib, pkgs, ... }: {
deployment.replaceUnknownProfiles = false; deployment.replaceUnknownProfiles = lib.mkDefault false;
networking.hostName = name; networking.hostName = name;
nixpkgs.config = { nixpkgs.config = {
@ -63,7 +63,10 @@ in {
kalessin = { name, nodes, ... }: { kalessin = { name, nodes, ... }: {
networking.hostId = "534b538e"; networking.hostId = "534b538e";
time.timeZone = "Etc/UTC"; time.timeZone = "Etc/UTC";
deployment.buildOnTarget = true; deployment = {
buildOnTarget = true;
replaceUnknownProfiles = true;
};
imports = [ imports = [
./deployment/remote.nix ./deployment/remote.nix