removing iso configs
This commit is contained in:
@@ -43,7 +43,6 @@ Each host gets an auto-generated `<hostname>-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
|
||||
|
||||
@@ -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") [
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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";
|
||||
}
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
@@ -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";
|
||||
}
|
||||
@@ -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";
|
||||
}
|
||||
@@ -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";
|
||||
}
|
||||
Reference in New Issue
Block a user