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 1.0KB

1234567891011121314151617181920212223242526272829303132333435
  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, ... }:
  5. {
  6. imports =
  7. [ ../../lib/lxc-container.nix
  8. ../../lib/shared.nix
  9. ../../lib/admins.nix
  10. ../../lib/common/common.nix
  11. <nixpkgs/nixos/modules/profiles/minimal.nix>
  12. ];
  13. networking.hostName = "nixbert"; # Define your hostname.
  14. networking.useNetworkd = false;
  15. services.openssh = {
  16. enable = true;
  17. permitRootLogin = "yes";
  18. };
  19. # List packages installed in system profile. To search, run:
  20. # $ nix search wget
  21. environment.systemPackages = with pkgs; [
  22. wget vim
  23. ];
  24. # This value determines the NixOS release with which your system is to be
  25. # compatible, in order to avoid breaking some software such as database
  26. # servers. You should change this only after NixOS release notes say you
  27. # should.
  28. system.stateVersion = "19.03"; # Did you read the comment?
  29. }