remove nixos iso

This commit is contained in:
twoneis 2025-03-29 21:59:13 +01:00
parent 714259545b
commit 4df818415d
5 changed files with 37 additions and 47 deletions

View file

@ -1,21 +0,0 @@
{pkgs, ...}: {
imports = [
./options.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
networking = {
hostName = "hufuf";
};
boot = {
initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod"];
kernelPackages = pkgs.linuxPackages_latest;
loader = {
systemd-boot = {
enable = true;
};
};
};
}

View file

@ -1,8 +0,0 @@
{...}: {
conf = {
host = "laptop";
stateVersion = "24.11";
hmStateVersion = "24.11";
};
}

37
flake.lock generated
View file

@ -337,6 +337,42 @@
"type": "github" "type": "github"
} }
}, },
"nixlib": {
"locked": {
"lastModified": 1736643958,
"narHash": "sha256-tmpqTSWVRJVhpvfSN9KXBvKEXplrwKnSZNAoNPf/S/s=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "1418bc28a52126761c02dd3d89b2d8ca0f521181",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixos-generators": {
"inputs": {
"nixlib": "nixlib",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1742568034,
"narHash": "sha256-QaMEhcnscfF2MqB7flZr+sLJMMYZPnvqO4NYf9B4G38=",
"owner": "nix-community",
"repo": "nixos-generators",
"rev": "42ee229088490e3777ed7d1162cb9e9d8c3dbb11",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixos-generators",
"type": "github"
}
},
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1743167577, "lastModified": 1743167577,
@ -487,6 +523,7 @@
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"niri": "niri", "niri": "niri",
"nix-alien": "nix-alien", "nix-alien": "nix-alien",
"nixos-generators": "nixos-generators",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nur": "nur" "nur": "nur"

View file

@ -18,11 +18,6 @@
url = "github:nixos/nixos-hardware"; url = "github:nixos/nixos-hardware";
}; };
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = { disko = {
url = "github:nix-community/disko/latest"; url = "github:nix-community/disko/latest";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View file

@ -2,7 +2,6 @@
nixpkgs, nixpkgs,
home-manager, home-manager,
nixos-hardware, nixos-hardware,
nixos-generators,
disko, disko,
niri, niri,
lanzaboote, lanzaboote,
@ -48,16 +47,4 @@ in {
++ modules; ++ modules;
}; };
}; };
packages.x86_64-linux = {
live = nixos-generators.nixosGenerate {
system = "x86_64-linux";
format = "iso";
modules =
[
./devices/hufuf
]
++ modules;
};
};
} }