Created
May 6, 2015 11:10
-
-
Save dezgeg/e364bbf9f513b7f222e6 to your computer and use it in GitHub Desktop.
Initial bootstrap configuration.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: { | |
environment.systemPackages = with pkgs; [ | |
gitMinimal | |
psmisc # killall | |
tree | |
]; | |
networking.domain = "dezgeg.me"; | |
networking.firewall.enable = false; | |
services.openssh.enable = false; | |
services.nixosManual.enable = false; # slows down nixos-rebuilds | |
services.nscd.enable = false; | |
services.cron.enable = false; | |
services.ntp.enable = false; | |
security.sudo.enable = false; | |
sound.enable = false; | |
services.mingetty.autologinUser = "tmtynkky"; | |
users.extraUsers.tmtynkky = { | |
isNormalUser = true; | |
uid = 1000; | |
extraGroups = ["wheel"]; | |
}; | |
time.timeZone = "Europe/Helsinki"; | |
i18n = { | |
consoleKeyMap = "dvorak"; | |
defaultLocale = "en_US.UTF-8"; | |
}; | |
fileSystems."/" = { | |
device = "/dev/mmcblk0p1"; | |
fsType = "ext4"; | |
}; | |
boot.kernelParams = ["console=ttyS0,115200n8"]; | |
boot.kernelPackages = pkgs.linuxPackages_latest; | |
boot.loader.grub.enable = false; | |
boot.loader.generic-extlinux-compatible.enable = true; | |
nix.binaryCaches = []; | |
nix.maxJobs = 4; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment