summaryrefslogtreecommitdiff
path: root/configuration.nix
blob: d744b6fe84026fc758ea1cc2df51c47ee7383f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{config, ...}: {
  imports = [
    ./hardware-configuration.nix
    ./minecraft.nix
    ./options.nix
    ./git.nix
    ./ssh.nix
  ];
  
  boot.loader = {
    systemd-boot = {
      enable = true;
      graceful = true; # TODO: drop after v261+
    };
    efi.canTouchEfiVariables = true;
  };

  networking.networkmanager.enable = true;

  users.users.kassouni = {
    extraGroups = [ "wheel" ];
    isNormalUser = true;
    openssh.authorizedKeys.keys = config.my.adminKeys;
  };

  system.stateVersion = "26.05";
}