From e037e164c5c45ff33525d0c8575e8d9e0315ac7b Mon Sep 17 00:00:00 2001 From: Alexander Kassouni Date: Sun, 27 Sep 2026 22:07:56 -0700 Subject: move nix modules --- nix/configuration.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 nix/configuration.nix (limited to 'nix/configuration.nix') diff --git a/nix/configuration.nix b/nix/configuration.nix new file mode 100644 index 0000000..96c5e48 --- /dev/null +++ b/nix/configuration.nix @@ -0,0 +1,31 @@ +{config, ...}: { + imports = [ + ./hardware-configuration.nix + ./minecraft.nix + ./options.nix + ./git.nix + ./ssh.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"; +} -- cgit v1.3.1