btw i use nix
1{
2 pkgs,
3 config,
4 lib,
5 ...
6}:
7
8{
9 imports = [
10 ./hardware-configuration.nix
11 ];
12
13 boot.loader.grub = {
14 enable = true;
15 device = "nodev";
16 efiSupport = true;
17 };
18 boot.loader.efi.canTouchEfiVariables = true;
19
20 custom = {
21 enable = true;
22 tailscale = true;
23 homeManager.enable = true;
24 };
25
26 networking.networkmanager.enable = true;
27 services.openssh.openFirewall = true;
28
29 home-manager.users.${config.custom.username}.config.custom.machineColour = "red";
30}