Change external to ISO, the most likely way I'll use it

This commit is contained in:
Jimbo 2025-02-24 21:02:14 -05:00
parent e221d22463
commit d2769c314a
11 changed files with 37 additions and 147 deletions

21
hosts/iso/default.nix Normal file
View file

@ -0,0 +1,21 @@
{ ... }:
{
imports = [
./filesystems
./hardware
./users
../../modules/system
];
networking = {
hostName = "extern";
wireguard.interfaces.wgc.ips = [ "10.100.0.21/24" ];
};
system = {
desktop.enable = true;
wireless.enable = true;
wireguard.client.enable = true;
stateVersion = "24.11";
};
}

View file

@ -0,0 +1,11 @@
{ config, ... }:
{
fileSystems = {
# Network mounts
"/home/${config.sysusers.main}/KittyNFS" = {
device = "10.100.0.1:/export/KittyNFS";
fsType = "nfs4";
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
};
};
}

View file

@ -0,0 +1,11 @@
{ config, lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
(modulesPath + "/installer/cd-dvd/channel.nix")
];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -0,0 +1,4 @@
{ ... }:
{
imports = [ ./main ];
}

View file

@ -0,0 +1,10 @@
{ config, lib, ... }:
{
home-manager.users."${config.sysusers.main}" = {
home = {
desktop.enable = true;
remote-desktop.enable = true;
stateVersion = lib.mkForce "24.11";
};
};
}