diff options
| author | Manuel Palenzuela <[email protected]> | 2022-06-20 13:17:03 +0000 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2022-06-20 13:17:03 +0000 |
| commit | 0f6550e2d30c5d3380daca76c226d0a18da09697 (patch) | |
| tree | 96219564b2db0dcdfd1b2f432f2eb3a16963d147 /hosts/vm/default.nix | |
| parent | Update (diff) | |
| download | nixos-config-0f6550e2d30c5d3380daca76c226d0a18da09697.tar.gz nixos-config-0f6550e2d30c5d3380daca76c226d0a18da09697.tar.bz2 nixos-config-0f6550e2d30c5d3380daca76c226d0a18da09697.zip | |
Add VM host
Diffstat (limited to 'hosts/vm/default.nix')
| -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; + [ + + ]; +} + |