diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-25 18:25:51 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-25 18:25:51 +0100 |
commit | d9ab6c7ea59d29af3ae8c29c7367fe0e8808f5db (patch) | |
tree | 4076dca44feeb7fccf90af3f9c9cc6e73b845c6f /hosts/server1/configuration.nix | |
parent | fix(treewide): Add constant uids and gids to each user and group (diff) | |
download | nixos-server-d9ab6c7ea59d29af3ae8c29c7367fe0e8808f5db.zip |
refactor(hosts): Use a `by-name` structure and construct all host depended values
This allows us to outsource the host-handling from the `flake.nix` file.
Diffstat (limited to 'hosts/server1/configuration.nix')
-rw-r--r-- | hosts/server1/configuration.nix | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/hosts/server1/configuration.nix b/hosts/server1/configuration.nix deleted file mode 100644 index e21327e..0000000 --- a/hosts/server1/configuration.nix +++ /dev/null @@ -1,34 +0,0 @@ -{config, ...}: { - imports = [ - ./networking.nix # network configuration that just works - ./hardware.nix - - ../../system - ]; - - vhack = { - back = { - enable = true; - repositories = { - "${config.services.gitolite.dataDir}/vhack.eu/nixos-config.git" = { - domain = "issues.vhack.eu"; - port = 9220; - }; - }; - }; - etesync.enable = true; - git-server.enable = true; - nginx.enable = true; - nix-sync.enable = true; - openssh.enable = true; - peertube.enable = true; - redlib.enable = true; - }; - - boot.tmp.cleanOnBoot = true; - zramSwap.enable = true; - networking.hostName = "server1"; - networking.domain = "vhack.eu"; - - system.stateVersion = "22.11"; -} |