Note to self: Test before pushing next time.

This commit is contained in:
Bailey 2024-02-08 20:05:41 -05:00
parent 56c4daf489
commit ba9dc85f5e
5 changed files with 54 additions and 3 deletions

View File

@ -92,6 +92,42 @@
"type": "github"
}
},
"nixlib": {
"locked": {
"lastModified": 1693701915,
"narHash": "sha256-waHPLdDYUOHSEtMKKabcKIMhlUOHPOOPQ9UyFeEoovs=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "f5af57d3ef9947a70ac86e42695231ac1ad00c25",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixos-generators": {
"inputs": {
"nixlib": "nixlib",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1707405218,
"narHash": "sha256-ZQ366Oo8WJbCqXAZET7N0Sz6RQ3G2IbqVtxQRSa3SXc=",
"owner": "nix-community",
"repo": "nixos-generators",
"rev": "843e2f04c716092797ffa4ce14c446adce2f09ef",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixos-generators",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1705856552,
@ -112,6 +148,7 @@
"inputs": {
"disko": "disko",
"home-manager": "home-manager",
"nixos-generators": "nixos-generators",
"nixpkgs": "nixpkgs",
"snowfall-lib": "snowfall-lib"
}

View File

@ -3,7 +3,11 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-generators = "github:nix-community/nixos-generators";
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
@ -32,6 +36,8 @@
disko.nixosModules.disko
];
templates.shim.description = "/etc/nixos shim for geekygay nixconf";
src = ./.;
};
}

View File

@ -7,13 +7,21 @@
{
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-minimal-new-kernel.nix"
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
];
isoImage.isoBaseName = "nixos-gg-cmb";
boot.kernelPackages = pkgs.zfs.latestCompatibleLinuxPackages;
nix = {
registry = {
nixpkgs.flake = inputs.nixpkgs;
nixconf.flake = "git+https://codeberg.org/geekygays/srv-nixconf";
nixconf.to = {
type = "git+https";
server = "codeberg.org";
path = "geekygays/srv-nixconf";
};
};
nixPath = [
"nixpkgs=flake:nixpkgs"