Skip to content

Instantly share code, notes, and snippets.

@Diullei
Last active April 18, 2020 08:15
Show Gist options
  • Save Diullei/cc0fbdbf56124114cbbfba219def56d0 to your computer and use it in GitHub Desktop.
Save Diullei/cc0fbdbf56124114cbbfba219def56d0 to your computer and use it in GitHub Desktop.
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
];
environment.systemPackages = (with pkgs; [
google-chrome
git
networkmanagerapplet
nix-prefetch-scripts
nix-repl
vim
wget
curl
which
xscreensaver
]);
time.timeZone = "Europe/Oslo";
boot.initrd.luks.devices = [{
name = "root";
device = "/dev/sda2";
preLVM = true;
}];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
networking.useDHCP = false;
networking.interfaces.enp0s31f6.useDHCP = true;
networking.interfaces.wlp2s0.useDHCP = true;
networking.networkmanager.enable = true;
system.stateVersion = "19.09";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment