nix-config/hosts/containers/lxc-template.nix

35 lines
1018 B
Nix
Raw Normal View History

2019-01-17 23:41:54 +01:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
2020-08-04 17:15:07 +02:00
{ config, pkgs, lib, modulesPath, ... }:
2019-01-17 23:41:54 +01:00
{
2020-08-04 17:15:07 +02:00
imports = [
../../lib/lxc-container.nix
../../lib/shared.nix
../../lib/admins.nix
(modulesPath + "/profiles/minimal.nix")
];
2019-01-17 23:41:54 +01:00
networking.hostName = "nixbert"; # Define your hostname.
2019-04-01 03:07:53 +02:00
networking.useNetworkd = false;
2019-01-17 23:41:54 +01:00
2019-04-13 20:11:26 +02:00
services.openssh = {
enable = true;
permitRootLogin = "yes";
};
2019-01-17 23:41:54 +01:00
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
wget vim
];
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
2019-07-04 00:31:45 +02:00
system.stateVersion = "19.03"; # Did you read the comment?
2019-01-17 23:41:54 +01:00
}