summary refs log tree commit diff stats
path: root/configuration.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-04 21:37:52 +0100
committerene <ene@sils.li>2023-02-04 21:44:35 +0100
commitcdbd9f7f83099a48bfa59a886b6e51790d898a24 (patch)
treecffd2aede95072613ba407734995321387ade392 /configuration.nix
parentFeat: Imported the headless profile (diff)
downloadnixos-server-cdbd9f7f83099a48bfa59a886b6e51790d898a24.tar.gz
nixos-server-cdbd9f7f83099a48bfa59a886b6e51790d898a24.zip
Flake: Changed the configuration to a flake
Nix flakes make a lot of things very easy.
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix21
1 files changed, 0 insertions, 21 deletions
diff --git a/configuration.nix b/configuration.nix
deleted file mode 100644
index 8fc047a..0000000
--- a/configuration.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{pkgs, ...}: {
-  imports = [
-    ./hardware-configuration.nix
-    ./packages.nix
-    ./networking.nix # network configuration that just works
-    ./users.nix
-
-    ./services/minecraft.nix
-    ./services/rust-motd.nix
-    ./services/opensshd.nix
-  ];
-
-  boot.cleanTmpDir = true;
-  zramSwap.enable = true;
-  networking.hostName = "server1";
-  networking.domain = "vhack.eu";
-
-  system.stateVersion = "22.11";
-}
-# vim: ts=2
-