diff options
-rw-r--r-- | configuration.nix | 12 | ||||
-rw-r--r-- | packages.nix | 10 |
2 files changed, 13 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"; } diff --git a/packages.nix b/packages.nix new file mode 100644 index 0000000..ea6daf3 --- /dev/null +++ b/packages.nix @@ -0,0 +1,10 @@ +{ pkgs, ...}: +{ + environment.systemPackages = with pkgs; [ + jre_minimal + git + zsh + neovim + btrfs-progs + ]; +} |