Skip to content

Instantly share code, notes, and snippets.

@adrianparvino
Created May 13, 2018 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianparvino/f2184f763e0099c19dfaa151366eaee4 to your computer and use it in GitHub Desktop.
Save adrianparvino/f2184f763e0099c19dfaa151366eaee4 to your computer and use it in GitHub Desktop.
{ configs, pkgs, lib, ... }:
{
imports = [
/etc/nixos/hardware-configuration.nix
({
options = {
environment.systemPackages = lib.mkOption {
apply = lib.lists.remove pkgs.nixos-icons;
};
};
})
];
config = {
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "nodev";
networking.hostName = "nixos";
networking.wireless.enable = true;
time.timeZone = "Asia/Manila";
services.openssh.enable = true;
services.xserver = {
enable = true;
windowManager.fluxbox.enable = true;
layout = "dvorak";
};
system.stateVersion = "18.03";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment