1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: use generic installer iso from now on

This commit is contained in:
oddlama 2023-07-24 14:15:18 +02:00
parent b39f516bd7
commit 1110bdcac1
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
8 changed files with 142 additions and 157 deletions

View file

@ -0,0 +1,38 @@
{
pkgs,
lib,
...
}: {
isoImage.isoName = lib.mkForce "nixos.iso";
system.stateVersion = "23.11";
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
console.keyMap = "de-latin1-nodeadkeys";
users.users.root = {
password = "nixos";
openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA5Uq+CDy5Pmt3If5M6d8K/Q7HArU6sZ7sgoj3T521Wm"];
};
environment = {
variables.EDITOR = "nvim";
systemPackages = with pkgs; [
neovim
git
tmux
parted
ripgrep
fzf
wget
curl
];
etc.issue.text = ''
\d \t
This is \e{cyan}\n\e{reset} [\e{lightblue}\l\e{reset}] (\s \m \r)
\e{halfbright}\4\e{reset} \e{halfbright}\6\e{reset}
'';
};
}