1{inputs, ...}: {
2 imports = [
3 # Include the results of the hardware scan.
4 ./hardware-configuration.nix
5
6 ../../global/core.nix
7 ../../global/programs
8
9 ./networking
10 ./certificates
11 ./security
12 ./services
13 ];
14
15 nixpkgs.overlays = import ../../global/overlays inputs;
16
17 boot.loader = {
18 efi = {
19 canTouchEfiVariables = true;
20 efiSysMountPoint = "/boot/efi";
21 };
22 systemd-boot = {
23 enable = true;
24 graceful = true;
25 netbootxyz.enable = true;
26 };
27 grub.enable = false;
28 };
29
30 # Define a user account. Don't forget to set a password with ‘passwd’.
31 users.users.cassie = {
32 isNormalUser = true;
33 extraGroups = ["wheel"];
34 openssh = {
35 authorizedKeys.keyFiles = [../../creds/ssh/cassie];
36 };
37 # packages = with pkgs; [];
38 };
39
40 sops.age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
41 sops.defaultSopsFile = ../../creds/sops/koumakan.yaml;
42
43 # Just don't change this :p
44 system.stateVersion = "23.05"; # Did you read the comment?
45}