aboutsummaryrefslogtreecommitdiff
path: root/modules/hosts/system
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hosts/system')
-rw-r--r--modules/hosts/system/default.nix10
-rw-r--r--modules/hosts/system/localisation.nix24
-rw-r--r--modules/hosts/system/network.nix14
-rw-r--r--modules/hosts/system/nix-options.nix18
-rw-r--r--modules/hosts/system/users.nix5
5 files changed, 0 insertions, 71 deletions
diff --git a/modules/hosts/system/default.nix b/modules/hosts/system/default.nix
deleted file mode 100644
index 93452a6..0000000
--- a/modules/hosts/system/default.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{ ... }:
-
-{
- imports = [
- ./localisation.nix
- ./network.nix
- ./nix-options.nix
- ./users.nix
- ];
-}
diff --git a/modules/hosts/system/localisation.nix b/modules/hosts/system/localisation.nix
deleted file mode 100644
index 229c45f..0000000
--- a/modules/hosts/system/localisation.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ ... }:
-
-let
- locale = "de_DE.UTF-8";
-in
-{
- # Set your time zone.
- time.timeZone = "Europe/Berlin";
-
- # Select internationalisation properties.
- i18n.defaultLocale = locale;
- i18n.extraLocaleSettings = {
- LC_ADDRESS = locale;
- LC_IDENTIFICATION = locale;
- LC_MEASUREMENT = locale;
- LC_MONETARY = locale;
- LC_NAME = locale;
- LC_NUMERIC = locale;
- LC_PAPER = locale;
- LC_TELEPHONE = locale;
- LC_TIME = locale;
- };
- console.keyMap = "de";
-}
diff --git a/modules/hosts/system/network.nix b/modules/hosts/system/network.nix
deleted file mode 100644
index 383480b..0000000
--- a/modules/hosts/system/network.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- host,
- ...
-}:
-
-{
- networking = {
- hostName = host;
- networkmanager.enable = true;
- };
-
- # Improve startup time
- systemd.services.NetworkManager-wait-online.enable = false;
-}
diff --git a/modules/hosts/system/nix-options.nix b/modules/hosts/system/nix-options.nix
deleted file mode 100644
index 14d7fb7..0000000
--- a/modules/hosts/system/nix-options.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{ ... }:
-
-{
- nix = {
- settings = {
- experimental-features = [
- "nix-command"
- "flakes"
- ];
- auto-optimise-store = true;
- };
- gc = {
- automatic = true;
- dates = "daily";
- options = "--delete-older-than 15d";
- };
- };
-}
diff --git a/modules/hosts/system/users.nix b/modules/hosts/system/users.nix
deleted file mode 100644
index 9550e8d..0000000
--- a/modules/hosts/system/users.nix
+++ /dev/null
@@ -1,5 +0,0 @@
-{ ... }:
-
-{
- security.sudo.wheelNeedsPassword = false;
-}