update flake and installer
This commit is contained in:
@@ -25,9 +25,9 @@
|
|||||||
modules = [
|
modules = [
|
||||||
{ nixpkgs.hostPlatform = "x86_64-linux"; }
|
{ nixpkgs.hostPlatform = "x86_64-linux"; }
|
||||||
self.nixosModules.Sovran_SystemsOS
|
self.nixosModules.Sovran_SystemsOS
|
||||||
/etc/nixos/hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
/etc/nixos/role-state.nix
|
./role-state.nix
|
||||||
/etc/nixos/custom.nix
|
./custom.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -793,6 +793,9 @@ class InstallerWindow(Adw.ApplicationWindow):
|
|||||||
data_p1 = f"{data_path}p1" if "nvme" in data_path else f"{data_path}1"
|
data_p1 = f"{data_path}p1" if "nvme" in data_path else f"{data_path}1"
|
||||||
run_stream(["sudo", "mkdir", "-p", "/mnt/run/media/Second_Drive"], buf)
|
run_stream(["sudo", "mkdir", "-p", "/mnt/run/media/Second_Drive"], buf)
|
||||||
run_stream(["sudo", "mount", data_p1, "/mnt/run/media/Second_Drive"], buf)
|
run_stream(["sudo", "mount", data_p1, "/mnt/run/media/Second_Drive"], buf)
|
||||||
|
run_stream(["sudo", "mkdir", "-p", "/mnt/run/media/Second_Drive/BTCEcoandBackup/Bitcoin_Node"], buf)
|
||||||
|
run_stream(["sudo", "mkdir", "-p", "/mnt/run/media/Second_Drive/BTCEcoandBackup/Electrs_Data"], buf)
|
||||||
|
run_stream(["sudo", "mkdir", "-p", "/mnt/run/media/Second_Drive/BTCEcoandBackup/NixOS_Snapshot_Backup"], buf)
|
||||||
|
|
||||||
GLib.idle_add(append_text, buf, "\n=== Generating hardware config ===\n")
|
GLib.idle_add(append_text, buf, "\n=== Generating hardware config ===\n")
|
||||||
run_stream(["sudo", "nixos-generate-config", "--root", "/mnt"], buf)
|
run_stream(["sudo", "nixos-generate-config", "--root", "/mnt"], buf)
|
||||||
|
|||||||
Reference in New Issue
Block a user