Skip to content

Instantly share code, notes, and snippets.

Created February 25, 2018 00:06
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 anonymous/b00967dbdf36887a8d4800131e18c9aa to your computer and use it in GitHub Desktop.
Save anonymous/b00967dbdf36887a8d4800131e18c9aa to your computer and use it in GitHub Desktop.
{ config, pkgs, ... }:
{
boot.initrd.supportedFilesystems = [ "btrfs" ];
boot.loader.grub.device = "/dev/sda";
boot.supportedFilesystems = [ "btrfs" ];
environment.systemPackages = with pkgs; [
chromium
gimp
i3
inkscape
mpv
pass
pavucontrol
termite
unzip
vim
wget
youtube-dl
zip
];
fonts.enableFontDir = true;
fonts.enableGhostscriptFonts = true;
fonts.fontconfig.ultimate.enable = true;
fonts.fontconfig.ultimate.preset = "osx";
fonts.fonts = with pkgs; [
dejavu_fonts
liberation_ttf
inconsolata
iosevka
];
hardware.pulseaudio.enable = true;
i18n = {
consoleFont = "Lat2-Terminus16";
consoleKeyMap = "us";
defaultLocale = "en_US.UTF-8";
};
imports =
[
./hardware-configuration.nix
];
networking.hostName = "basilisk";
networking.wireless.enable = false;
networking.firewall.enable = false;
programs.bash.enableCompletion = true;
programs.gnupg.agent = {
enable = true;
};
programs.ssh.startAgent = true;
services.openssh.enable = true;
services.xserver.displayManager.auto.enable = true;
services.xserver.displayManager.auto.user = "mfiano";
services.xserver.enable = true;
services.xserver.layout = "us";
services.xserver.windowManager.i3.enable = true;
services.xserver.windowManager.i3.extraPackages = with pkgs; [
i3status
];
system.stateVersion = "17.09";
time.timeZone = "America/New_York";
users.extraUsers.mfiano = {
isNormalUser = true;
uid = 1000;
};
}
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:
{
imports =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
];
boot.initrd.availableKernelModules = [ "btrfs" "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/4677dca7-5bc8-4b4f-9099-8700930e10fc";
fsType = "btrfs";
options = [ "subvol=root" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/4677dca7-5bc8-4b4f-9099-8700930e10fc";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/nix/store" =
{ device = "/dev/disk/by-uuid/4677dca7-5bc8-4b4f-9099-8700930e10fc";
fsType = "btrfs";
options = [ "subvol=nix-store" ];
};
swapDevices = [ ];
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = "performance";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment