diff options
author | sils <sils@sils.li> | 2023-01-06 19:36:42 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-01-06 19:36:42 +0100 |
commit | 0bc2c05c2677da7e54c435ef8b10b260795a0e25 (patch) | |
tree | f307b2ddd2b15b13b75ee286d33a2635dca03d06 /configuration.nix | |
parent | Initial Commit (diff) | |
download | nixos-server-0bc2c05c2677da7e54c435ef8b10b260795a0e25.tar.gz nixos-server-0bc2c05c2677da7e54c435ef8b10b260795a0e25.zip |
modularize packages
Diffstat (limited to 'configuration.nix')
-rw-r--r-- | configuration.nix | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/configuration.nix b/configuration.nix index d58ee8f..c9c970e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,26 +1,20 @@ { pkgs, ... }: { imports = [ ./hardware-configuration.nix + ./packages.nix ./networking.nix # generated at runtime by nixos-infect ]; boot.cleanTmpDir = true; zramSwap.enable = true; - networking.hostName = "nixos"; - networking.domain = "yourvserver.net"; + networking.hostName = "server1"; + networking.domain = "vhack.eu"; services.openssh.enable = true; users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK2mYuiOuIb13E3wJRYPHOFN/dR5ySFozG2I/18HBSRJ dt@DESKTOP-IDOHVE" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG63gxw8JePmrC8Fni0pLV4TnPBhCPmSV9FYEdva+6s7 sils" ]; - environment.systemPackages = with pkgs; [ - neovim - zsh - btrfs-progs - git - ]; - system.stateVersion = "22.11"; } |