diff options
| author | Leander Scherer <leander@schererleander.de> | 2026-01-08 17:58:19 +0100 |
|---|---|---|
| committer | Leander Scherer <leander@schererleander.de> | 2026-01-08 19:08:13 +0100 |
| commit | 4f96cf5b2b26f2d5024ec76be3ffb8b9ef351e8c (patch) | |
| tree | f555de8790bf37a3887e3f48f7d51114c975f18b /modules/hosts | |
| parent | 214f520c2339788902e13352faeec64a1ae86149 (diff) | |
chore(system): remove old system modules
Diffstat (limited to 'modules/hosts')
| -rw-r--r-- | modules/hosts/system/default.nix | 10 | ||||
| -rw-r--r-- | modules/hosts/system/localisation.nix | 24 | ||||
| -rw-r--r-- | modules/hosts/system/network.nix | 14 | ||||
| -rw-r--r-- | modules/hosts/system/nix-options.nix | 18 | ||||
| -rw-r--r-- | modules/hosts/system/users.nix | 5 |
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; -} |
