configurations of hq services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lxc-template.nix 1018B

12345678910111213141516171819202122232425262728293031323334
  1. # Edit this configuration file to define what should be installed on
  2. # your system. Help is available in the configuration.nix(5) man page
  3. # and in the NixOS manual (accessible by running ‘nixos-help’).
  4. { config, pkgs, lib, modulesPath, ... }:
  5. {
  6. imports = [
  7. ../../lib/lxc-container.nix
  8. ../../lib/shared.nix
  9. ../../lib/admins.nix
  10. (modulesPath + "/profiles/minimal.nix")
  11. ];
  12. networking.hostName = "nixbert"; # Define your hostname.
  13. networking.useNetworkd = false;
  14. services.openssh = {
  15. enable = true;
  16. permitRootLogin = "yes";
  17. };
  18. # List packages installed in system profile. To search, run:
  19. # $ nix search wget
  20. environment.systemPackages = with pkgs; [
  21. wget vim
  22. ];
  23. # This value determines the NixOS release with which your system is to be
  24. # compatible, in order to avoid breaking some software such as database
  25. # servers. You should change this only after NixOS release notes say you
  26. # should.
  27. system.stateVersion = "19.03"; # Did you read the comment?
  28. }