aboutsummaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
authorAlexander Kassouni <alex@kassouni.net>2026-09-29 23:29:28 -0700
committerAlexander Kassouni <alex@kassouni.net>2026-09-29 23:29:28 -0700
commit52cdeaf4cc9da9d32926821c78fd331bc8d2f14a (patch)
tree1b57b1c4d7c4e70202d9f07bab8a8e1a477078b9 /configuration.nix
parenta570da443586fa3b3490b5add88ea5932456a5b3 (diff)
restructure for cgit css
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
new file mode 100644
index 0000000..9477c6f
--- /dev/null
+++ b/configuration.nix
@@ -0,0 +1,31 @@
+{config, ...}: {
+ imports = [
+ ./git
+ ./nix/hardware-configuration.nix
+ ./nix/minecraft.nix
+ ./nix/options.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";
+}