aboutsummaryrefslogtreecommitdiff
path: root/nix/configuration.nix
diff options
context:
space:
mode:
authorAlexander Kassouni <alex@kassouni.net>2026-09-27 22:07:56 -0700
committerAlexander Kassouni <alex@kassouni.net>2026-09-27 22:08:31 -0700
commite037e164c5c45ff33525d0c8575e8d9e0315ac7b (patch)
treed350808fdb003a196b5c31b6bd2ad5c77345e0aa /nix/configuration.nix
parent4072628986ccb63a8107e58a6aa35dc6056ded4b (diff)
move nix modules
Diffstat (limited to 'nix/configuration.nix')
-rw-r--r--nix/configuration.nix31
1 files changed, 31 insertions, 0 deletions
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";
+}