This commit is contained in:
2026-04-23 13:29:08 -05:00
parent ae0732d2a2
commit 62c6498568
3 changed files with 27 additions and 17 deletions

View File

@@ -2,14 +2,19 @@
flake.nixosModules.iso = { lib, pkgs, modulesPath, ... }: {
imports = with inputs; [
imports = with self.nixosModules; [
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
inputs.home-manager.nixosModules.default
self.nixosModules.default
self.nixosModules.aurora-greeter
home-manager.nixosModules.default
aurora-greeter
hyprland
pipewire
avahi
netbird
openssh
];
@@ -22,7 +27,8 @@
system.stateVersion = "25.11";
nixpkgs.hostPlatform = "x86_64-linux";
#nixpkgs.hostPlatform = "x86_64-linux";
nixpkgs.hostPlatform = pkgs.stdenv.hostPlatform.system;
users.users."nathan" = {
hashedPassword = "$y$j9T$F0pn6l4C45lz4a0FTZLqE0$Fc48Ptbmz/3MJCk/Jsaqop4ff.bY3J3GcjhmJx5R7k6";
@@ -35,6 +41,9 @@
users.users.nixos.enable = lib.mkForce false;
networking = {
hostName = "iso";
nameservers = [ "1.1.1.1" "1.0.0.1" ];
networkmanager.enable = true;
};

View File

@@ -6,8 +6,9 @@
flake.nixosConfigurations.iso = inputs.nixpkgs.lib.nixosSystem {
modules = [
self.nixosModules.iso
modules = with self.nixosModules; [
iso
user-nathan
];
};