From ad58b57df7b298bc3e25c578f590d44da3ce36c9 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Fri, 17 Jun 2022 19:09:27 +0200 Subject: Initial commit --- hosts/phobos/default.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 hosts/phobos/default.nix (limited to 'hosts/phobos/default.nix') diff --git a/hosts/phobos/default.nix b/hosts/phobos/default.nix new file mode 100644 index 0000000..cbefcba --- /dev/null +++ b/hosts/phobos/default.nix @@ -0,0 +1,29 @@ +# 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 + ]; + + # Define on which hard drive you want to install Grub. + boot.loader.grub.device = "/dev/sdb"; # or "nodev" for efi only + + # Pick only one of the below networking options. + networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + networking.wireless.networks = secrets.wifi; + # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. + + # Configure network proxy if necessary + # networking.proxy.default = "http://user:password@proxy:port/"; + # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + + environment.systemPackages = with pkgs; + [ + + ]; +} + -- cgit 1.4.1