aboutsummaryrefslogtreecommitdiff
path: root/configuration.nix
blob: 2f6b4db9ef48b974d3ab1eeebe2da32337c93f15 (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
28
29
30
31
32
{config, ...}: {
  imports = [
    ./git
    ./nix/hardware-configuration.nix
    ./nix/minecraft.nix
    ./nix/options.nix
    ./nix/linkding.nix
    ./nix/ssh.nix
    ./nix/web.nix
  ];
  
  boot.loader = {
    systemd-boot = {
      enable = true;
      graceful = true; # TODO: drop after v261+
    };
    efi.canTouchEfiVariables = true;
  };

  nix.settings.experimental-features = [ "nix-command" "flakes" ];

  networking.hostName = "chariot";
  networking.networkmanager.enable = true;

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

  system.stateVersion = "26.05";
}