aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/os-installation.sh22
1 files changed, 5 insertions, 17 deletions
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