diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2022-06-20 13:17:03 +0000 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-20 13:17:03 +0000 |
commit | 0416e7a115c7094a436d326e16e64720df68aa14 (patch) | |
tree | 63f15f82e1c2e75e3f03387487b58d45904dfddb /hosts/vm/default.nix | |
parent | Update (diff) | |
download | nixos-config-0416e7a115c7094a436d326e16e64720df68aa14.tar.gz nixos-config-0416e7a115c7094a436d326e16e64720df68aa14.tar.bz2 nixos-config-0416e7a115c7094a436d326e16e64720df68aa14.zip |
Add VM host
Diffstat (limited to '')
-rw-r--r-- | hosts/vm/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/hosts/vm/default.nix b/hosts/vm/default.nix new file mode 100644 index 0000000..cb55ce6 --- /dev/null +++ b/hosts/vm/default.nix @@ -0,0 +1,25 @@ +# 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’). + +{ config, pkgs, lib, secrets, hostname, inputs, user, ... }: { + + imports = [ + # Include the results of the hardware scan. + ./hardware.nix + ]; + + # Pick only one of the below networking options. + networking = { + # networkmanager.enable = true; # Easiest to use and most distros use this by default. + # Configure network proxy if necessary + # proxy.default = "http://user:password@proxy:port/"; + # proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + }; + + environment.systemPackages = with pkgs; + [ + + ]; +} + |