From 39412ea8c6431a3c06b7e5945c5cd7b01a53de45 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Thu, 16 Jan 2025 03:19:09 -0800 Subject: builds installer iso image --- .gitignore | 1 + nix/systems/installer/default.nix | 14 +++++--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 849e6ba..b836c13 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ ./website/** +nix/result \ No newline at end of file diff --git a/nix/systems/installer/default.nix b/nix/systems/installer/default.nix index 8b95009..85102eb 100644 --- a/nix/systems/installer/default.nix +++ b/nix/systems/installer/default.nix @@ -1,19 +1,15 @@ { pkgs, config, ... }: let - commits = ./commits.nix; + commits = import ./commits.nix; in { - imports = [ - ../../modules/default.nix - ]; - - monorepo.profiles.home.enable = false; - monorepo.vars.userName = "nixos"; - users.extraUsers.root.password = "nixos"; + users.extraUsers.nixos.password = "nixos"; users.users = { - "${config.monorepo.vars.userName}" = { + nixos = { packages = with pkgs; [ + git + curl gum (writeShellScriptBin "nix_installer" '' -- cgit