remove TODO and iso
This commit is contained in:
parent
87dc71ad94
commit
59a44d763f
3 changed files with 1 additions and 30 deletions
4
TODO
4
TODO
|
|
@ -1,4 +0,0 @@
|
||||||
- nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
- distributed build (https://nix.dev/tutorials/nixos/distributed-builds-setup)
|
|
||||||
- setup script (https://github.com/jakeb-grant/nix-configs/blob/main/setup.sh)
|
|
||||||
- swap
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 14d";
|
options = "--delete-older-than 14d";
|
||||||
};
|
};
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
min-free = 512000000
|
min-free = 512000000
|
||||||
|
|
|
||||||
25
iso/iso.nix
25
iso/iso.nix
|
|
@ -1,25 +0,0 @@
|
||||||
{
|
|
||||||
description = "My NixOS installation media";
|
|
||||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
||||||
outputs = { self, nixpkgs }: {
|
|
||||||
packages.x86_64-linux.default =
|
|
||||||
self.nixosConfigurations.exampleIso.config.system.build.isoImage;
|
|
||||||
nixosConfigurations = {
|
|
||||||
exampleIso = nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = [
|
|
||||||
({ pkgs, modulesPath, ... }: {
|
|
||||||
imports = [
|
|
||||||
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
|
|
||||||
];
|
|
||||||
systemd.services.sshd.wantedBy =
|
|
||||||
pkgs.lib.mkForce [ "multi-user.target" ];
|
|
||||||
users.users.root.openssh.authorizedKeys.keys = [
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBs3aPxyJpVGytuVSO3va2WybKNFMR241o8DCJQbBEWV"
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Reference in a new issue