First commit

This commit is contained in:
2025-07-22 02:30:15 +02:00
commit e9441f563b
66 changed files with 4401 additions and 0 deletions

65
customiso.nix Normal file
View File

@@ -0,0 +1,65 @@
{
pkgs,
modulesPath,
lib,
...
}:
{
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
./modules/system/common
];
# use the latest Linux kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
users.users = {
beastie = {
isNormalUser = true;
hashedPassword = "";
description = "Admin account";
extraGroups = [
"wheel"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAKMJ3TkEmRQcX7RQijNa2km6a2xXJk6M6FERh7C9nTJ"
];
};
};
security.sudo = {
enable = true;
extraRules = [
{
users = [ "beastie" ];
host = "ALL";
runAs = "ALL:ALL";
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ];
}
];
}
];
};
environment.systemPackages = [
pkgs.openfortivpn
];
# Needed for https://github.com/NixOS/nixpkgs/issues/58959
boot.supportedFilesystems = lib.mkForce [
"btrfs"
"reiserfs"
"vfat"
"f2fs"
"xfs"
"ntfs"
"cifs"
"nfs"
];
}
#nixos-generate --format iso --configuration ./customiso.nix -o ~/Downloads/nixos.iso