From 8ddbc3678823d8a4e21701ff4a06919e62e26f64 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 27 Apr 2019 22:04:56 +0000 Subject: Update os-installation.sh --- nixos/os-installation.sh | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'nixos') diff --git a/nixos/os-installation.sh b/nixos/os-installation.sh index 614ca0d..519ee5a 100644 --- a/nixos/os-installation.sh +++ b/nixos/os-installation.sh @@ -14,9 +14,12 @@ sudo dd if=nixos.iso of=/dev/sdc # # https://www.maketecheasier.com/nixos-review/ # https://chris-martin.org/2015/installing-nixos -# First, get an internet connection, either by using an ethernet cable or using =wpa_supplicant=: +# First, get an internet connection. +# The easiest way is to start the GUI and use the network manager applet: +systemctl start display-manager +# If the ISO doesn't contain GUI, try getting an internet connection either by using an ethernet cable or using =wpa_supplicant=: # https://wiki.archlinux.org/index.php/WPA_supplicant -wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase SSID PASSPHRASE) +# wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase SSID PASSPHRASE) # Change keyboard to pt_BR layout: loadkeys br-abnt2 @@ -84,28 +87,13 @@ boot.initrd.luks.devices = [ } ]; boot.loader.grub.device = "/dev/sda"; -networking.wireless.enable = true; # Initial package set: enviroment.systemPackages = with pkgs; [ wget vim - firefox - gitAndTools.gitFull - gitAndTools.git-annex - gitAndTools.gitRemoteGcrypt - lsof - gnupg ] -# Desktop environment: -services = { - xserver = { - enable = true; - desktopManager.gnome3.enable = true; - displayManager.gdm.enable = true; - }; -}; # END nixos-install -- cgit v1.2.3