Compare commits

..

2 commits

Author SHA1 Message Date
mc-fucker
17c4dbbbbb added a simple iso.nix 2025-03-10 09:17:43 +01:00
mc-fucker
6f6ff9885f added mc2 to knownhosts 2025-03-10 09:17:15 +01:00
2 changed files with 42 additions and 1 deletions

41
modules/iso.nix Normal file
View file

@ -0,0 +1,41 @@
{ config, pkgs, ... }:
{
imports = [
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
# Provide an initial copy of the NixOS channel so that the user
# doesn't need to run "nix-channel --update" first.
<nixpkgs/nixos/modules/installer/cd-dvd/channel.nix>
];
users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFyGaBZIZYjiBhOFD2drvG316B9NUVSbMpTIhOCQur8P arch" ];
users.defaultUserShell = pkgs.zsh;
time.timeZone = "Europe/Berlin";
i18n = {
defaultLocale = "en_GB.UTF-8";
extraLocaleSettings = {
LC_TIME = "de_DE.UTF-8";
};
};
programs = {
zsh = import ./zsh.nix;
vim.defaultEditor = true;
};
environment.systemPackages = with pkgs; [
dig
eza
git
htop
nmap
pv
rxvt-unicode-unwrapped.terminfo
screen
wget
(import ./vim.nix)
];
}
# vim: set et ts=2 sw=2 ai:

View file

@ -6,7 +6,7 @@
}; };
mc2 = { mc2 = {
extraHostNames = [ "mc2.mc-fucker.cool" ]; extraHostNames = [ "mc2.mc-fucker.cool" ];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBwDGYJQwlVhzcNTwq0B87E162Dv9U75dqFrqysBd5pv"; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG0LfbLhhokCpyHyGYuVV5t609M2RDq7RZyW8lokx3jD";
}; };
mc3 = { mc3 = {
extraHostNames = [ "mc3.mc-fucker.cool" ]; extraHostNames = [ "mc3.mc-fucker.cool" ];