aboutsummaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
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";
+}