From f32d545a1570fbcaa516291742ce9b0f9491b765 Mon Sep 17 00:00:00 2001 From: rogueking Date: Sat, 20 Jun 2026 22:37:58 -0400 Subject: [PATCH] removing iso configs --- ...so-builder.yml => iso-builder.yml.disable} | 0 README.md | 1 - home-manager/commands/commands.nix | 2 +- home-manager/cris-home.nix | 84 ------------------- hosts/armaros/iso.nix | 16 ---- hosts/buildbox/configuration.nix | 15 +--- hosts/buildbox/iso.nix | 16 ---- hosts/ender-ml/iso.nix | 20 ----- hosts/eva-01/iso.nix | 21 ----- hosts/eva-03/iso.nix | 15 ---- 10 files changed, 2 insertions(+), 188 deletions(-) rename .gitea/workflows/{iso-builder.yml => iso-builder.yml.disable} (100%) delete mode 100644 home-manager/cris-home.nix delete mode 100644 hosts/armaros/iso.nix delete mode 100644 hosts/buildbox/iso.nix delete mode 100644 hosts/ender-ml/iso.nix delete mode 100644 hosts/eva-01/iso.nix delete mode 100644 hosts/eva-03/iso.nix diff --git a/.gitea/workflows/iso-builder.yml b/.gitea/workflows/iso-builder.yml.disable similarity index 100% rename from .gitea/workflows/iso-builder.yml rename to .gitea/workflows/iso-builder.yml.disable diff --git a/README.md b/README.md index 40b1a87..d47b9e4 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,6 @@ Each host gets an auto-generated `-iso` rescue/installer ISO (except ` │ └── default.nix # Shared rescue ISO module ├── home-manager/ │ ├── home.nix # Home Manager config for `rogueking` -│ ├── cris-home.nix # Home Manager config for `cris` │ ├── commands/ # CLI tool modules │ │ ├── commands.nix │ │ ├── direnv.nix diff --git a/home-manager/commands/commands.nix b/home-manager/commands/commands.nix index 0e4171b..fce5dfd 100644 --- a/home-manager/commands/commands.nix +++ b/home-manager/commands/commands.nix @@ -185,7 +185,7 @@ ] # acheron specific ++ lib.optionals (hostname == "acheron") [ - pkgs.pkgs-unstable.witr + pkgs-unstable.witr ] # eva-02 (macOS) specific ++ lib.optionals (hostname == "eva-02") [ diff --git a/home-manager/cris-home.nix b/home-manager/cris-home.nix deleted file mode 100644 index 6bff40e..0000000 --- a/home-manager/cris-home.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ - config, - pkgs, - inputs, - lib, - ... -}: { - imports = [ - ./commands/commands.nix - ./programs/programs.nix - inputs.nixvim.homeModules.nixvim - ]; - - # Home Manager needs a bit of information about you and the paths it should - # manage. - home.username = "cris"; - - # home.homeDirectory = "/Users/cris"; - home.homeDirectory = - if pkgs.stdenv.isDarwin - then "/Users/cris" # Path for macOS - else "/home/cris"; # Path for Linux - - programs.git = { - enable = true; - userName = lib.mkForce "cris"; - userEmail = lib.mkForce "cristiandrosales@gmail.com"; # Update with cris's actual email - lfs.enable = true; - }; - - # This value determines the Home Manager release that your configuration is - # compatible with. This helps avoid breakage when a new Home Manager release - # introduces backwards incompatible changes. - # - # You should not change this value, even if you update Home Manager. If you do - # want to update the value, then make sure to first check the Home Manager - # release notes. - home.stateVersion = "25.05"; # Please read the comment before changing. - - nixpkgs.config.allowUnfree = true; - - # The home.packages option allows you to install Nix packages into your - # environment. - home.packages = with pkgs; [ - ]; - - # Home Manager is pretty good at managing dotfiles. The primary way to manage - # plain files is through 'home.file'. - home.file = { - # # Building this configuration will create a copy of 'dotfiles/screenrc' in - # # the Nix store. Activating the configuration will then make '~/.screenrc' a - # # symlink to the Nix store copy. - # ".screenrc".source = dotfiles/screenrc; - - # # You can also set the file content immediately. - # ".gradle/gradle.properties".text = '' - # org.gradle.console=verbose - # org.gradle.daemon.idletimeout=3600000 - # ''; - }; - - # Home Manager can also manage your environment variables through - # 'home.sessionVariables'. These will be explicitly sourced when using a - # shell provided by Home Manager. If you don't want to manage your shell - # through Home Manager then you have to manually source 'hm-session-vars.sh' - # located at either - # - # ~/.nix-profile/etc/profile.d/hm-session-vars.sh - # - # or - # - # ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh - # - # or - # - # /etc/profiles/per-user/cris/etc/profile.d/hm-session-vars.sh - # - home.sessionVariables = { - EDITOR = "nvim"; - }; - - # Let Home Manager install and manage itself. - programs.home-manager.enable = true; -} diff --git a/hosts/armaros/iso.nix b/hosts/armaros/iso.nix deleted file mode 100644 index 6cfbe31..0000000 --- a/hosts/armaros/iso.nix +++ /dev/null @@ -1,16 +0,0 @@ -# ── armaros rescue / installer ISO ───────────────────────────── -# ISO for VM / server deployment. Supports both BIOS (SeaBIOS) and -# UEFI boot for maximum Proxmox compatibility. -{ config, pkgs, pkgs-unstable, lib, ... }: { - imports = [ - ../iso/default.nix - ]; - - # Support both BIOS and UEFI boot - isoImage.makeBiosBootable = true; - isoImage.makeEfiBootable = true; - - iso.extraPackages = with pkgs; [btrfs-progs]; - iso.diskoConfig = ./disko-config.nix; - iso.description = "armaros Rescue ISO"; -} diff --git a/hosts/buildbox/configuration.nix b/hosts/buildbox/configuration.nix index 1437210..30989c4 100644 --- a/hosts/buildbox/configuration.nix +++ b/hosts/buildbox/configuration.nix @@ -111,14 +111,6 @@ packages = with pkgs; []; }; - users.users.cris = { - isNormalUser = true; - description = "cris"; - extraGroups = ["networkmanager" "wheel" "docker"]; - shell = pkgs.zsh; - packages = with pkgs; []; - }; - # Install firefox. programs.firefox.enable = true; @@ -137,7 +129,7 @@ ports = [22]; settings = { PasswordAuthentication = true; - AllowUsers = ["rogueking" "cris"]; + AllowUsers = ["rogueking"]; UseDns = true; X11Forwarding = false; PermitRootLogin = "no"; @@ -149,10 +141,6 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINXqriPZVIuduc/J7GS1mD171LL0gIbgEjlImsxedWVX" ]; - users.users."cris".openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIlF9KmjGDL1/KX2YDAZe4E5rd0qMtrirEbFnE3CKmS+" - ]; - nixpkgs.config.permittedInsecurePackages = [ "qtwebengine-5.15.19" "python3.12-ecdsa-0.19.1" @@ -177,7 +165,6 @@ }; users = { "rogueking" = import ./../../home-manager/home.nix; - "cris" = import ./../../home-manager/cris-home.nix; }; backupFileExtension = "backup"; }; diff --git a/hosts/buildbox/iso.nix b/hosts/buildbox/iso.nix deleted file mode 100644 index f41db08..0000000 --- a/hosts/buildbox/iso.nix +++ /dev/null @@ -1,16 +0,0 @@ -# ── buildbox rescue / installer ISO ──────────────────────────── -# ISO for VM deployment. Supports both BIOS (SeaBIOS) and -# UEFI boot for maximum Proxmox compatibility. -{ config, pkgs, pkgs-unstable, lib, ... }: { - imports = [ - ../iso/default.nix - ]; - - # Support both BIOS and UEFI boot - isoImage.makeBiosBootable = true; - isoImage.makeEfiBootable = true; - - iso.extraPackages = with pkgs; [btrfs-progs]; - iso.diskoConfig = ./disko-config.nix; - iso.description = "buildbox Rescue ISO"; -} diff --git a/hosts/ender-ml/iso.nix b/hosts/ender-ml/iso.nix deleted file mode 100644 index d04c0e2..0000000 --- a/hosts/ender-ml/iso.nix +++ /dev/null @@ -1,20 +0,0 @@ -# ── ender-ml rescue / installer ISO ──────────────────────────── -{ - config, - pkgs, - pkgs-unstable, - lib, - ... -}: { - imports = [ - ../iso/default.nix - ]; - - # Support both BIOS and UEFI boot - isoImage.makeBiosBootable = true; - isoImage.makeEfiBootable = true; - - iso.extraPackages = with pkgs; [btrfs-progs]; - iso.diskoConfig = ./disko-config.nix; - iso.description = "ender-ml Rescue ISO"; -} diff --git a/hosts/eva-01/iso.nix b/hosts/eva-01/iso.nix deleted file mode 100644 index 74662a6..0000000 --- a/hosts/eva-01/iso.nix +++ /dev/null @@ -1,21 +0,0 @@ -# ── eva-01 rescue / installer ISO ────────────────────────────── -# ISO for deploying on physical hardware (ThinkPad X1 Nano). -# Supports both BIOS and UEFI boot. -{ config, pkgs, pkgs-unstable, lib, ... }: { - imports = [ - ../iso/default.nix - ]; - - # Support both BIOS and UEFI boot - isoImage.makeBiosBootable = true; - isoImage.makeEfiBootable = true; - - # Extra tools for Btrfs rescue - iso.extraPackages = with pkgs; [ - btrfs-progs - snapper - ]; - - iso.diskoConfig = ./disko-config.nix; - iso.description = "eva-01 Rescue ISO"; -} diff --git a/hosts/eva-03/iso.nix b/hosts/eva-03/iso.nix deleted file mode 100644 index f8f3ad5..0000000 --- a/hosts/eva-03/iso.nix +++ /dev/null @@ -1,15 +0,0 @@ -# ── eva-03 rescue / installer ISO ────────────────────────────── -# ISO for deploying on physical hardware. -# Supports both BIOS and UEFI boot. -{ config, pkgs, pkgs-unstable, lib, ... }: { - imports = [ - ../iso/default.nix - ]; - - # Support both BIOS and UEFI boot - isoImage.makeBiosBootable = true; - isoImage.makeEfiBootable = true; - - iso.diskoConfig = ./disko-config.nix; - iso.description = "eva-03 Rescue ISO"; -}