btw i use nix
1{
2 pkgs,
3 config,
4 lib,
5 disko,
6 ...
7}:
8
9{
10 imports = [
11 ./hardware-configuration.nix
12 disko.nixosModules.disko
13 ./disk-config.nix
14 ];
15
16 custom = {
17 enable = true;
18 autoUpgrade.enable = true;
19 homeManager.enable = true;
20 };
21
22 home-manager.users.${config.custom.username}.config.custom.machineColour = "blue";
23
24 networking.hostName = "iphito";
25
26 services.openssh.openFirewall = true;
27
28 users.users.root.openssh.authorizedKeys.keys = [
29 "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA7UrJmBFWR3c7jVzpoyg4dJjON9c7t9bT9acfrj6G7i mtelvers"
30 ];
31}