2020-10-09 22:42:12 -05:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ /etc/nixos/hardware-configuration.nix ];
|
|
|
|
|
2020-10-16 15:00:11 -05:00
|
|
|
boot = {
|
|
|
|
loader = {
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
};
|
2020-10-09 22:42:12 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
packageOverrides = pkgs: {
|
|
|
|
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
networkmanager.enable = true;
|
|
|
|
hostName = "third.lyte.dev";
|
|
|
|
};
|
|
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
console.keyMap = "us";
|
|
|
|
|
|
|
|
time.timeZone = "America/Chicago";
|
|
|
|
|
|
|
|
environment = {
|
|
|
|
systemPackages = with pkgs; [
|
2020-10-16 15:00:11 -05:00
|
|
|
fish bash tmux
|
|
|
|
vim neovim
|
|
|
|
networkmanager
|
|
|
|
wget curl w3m
|
|
|
|
git
|
|
|
|
pciutils usbutils binutils
|
|
|
|
ripgrep sd
|
|
|
|
nodejs python3
|
|
|
|
rsync
|
2020-10-09 22:42:12 -05:00
|
|
|
];
|
|
|
|
variables = {
|
|
|
|
EDITOR = "nvim";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
fonts.fonts = with pkgs; [ iosevka ];
|
|
|
|
|
2020-10-16 15:00:11 -05:00
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
|
2020-10-09 22:42:12 -05:00
|
|
|
hardware = {
|
2020-10-16 15:00:11 -05:00
|
|
|
bluetooth = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2020-10-09 22:42:12 -05:00
|
|
|
pulseaudio = {
|
|
|
|
enable = true;
|
|
|
|
support32Bit = true;
|
2020-10-16 15:00:11 -05:00
|
|
|
package = pkgs.pulseaudioFull;
|
|
|
|
# extraConfig = "
|
|
|
|
# load-module module-switch-on-connect
|
|
|
|
# ";
|
2020-10-09 22:42:12 -05:00
|
|
|
};
|
|
|
|
opengl = {
|
|
|
|
enable = true;
|
|
|
|
driSupport = true;
|
|
|
|
driSupport32Bit = true;
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
vaapiIntel
|
|
|
|
vaapiVdpau
|
|
|
|
libvdpau-va-gl
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
fish.enable = true;
|
|
|
|
mtr.enable = true;
|
|
|
|
gnupg.agent = {
|
|
|
|
enable = true;
|
|
|
|
enableSSHSupport = true;
|
|
|
|
pinentryFlavor = "curses";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
openssh.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.firewall.enable = false;
|
|
|
|
|
|
|
|
sound.enable = true;
|
|
|
|
|
|
|
|
users.users.daniel = {
|
|
|
|
isNormalUser = true;
|
2020-10-16 15:00:11 -05:00
|
|
|
extraGroups = [ "wheel" "docker" ];
|
2020-10-09 22:42:12 -05:00
|
|
|
shell = pkgs.fish;
|
|
|
|
home = "/home/daniel/.home";
|
2020-10-16 15:00:11 -05:00
|
|
|
packages = with pkgs; [
|
|
|
|
steam
|
|
|
|
pulsemixer
|
|
|
|
file
|
|
|
|
appimage-run
|
2020-10-16 15:35:17 -05:00
|
|
|
kitty
|
|
|
|
sway waybar mako wl-clipboard
|
|
|
|
firefox-devedition-bin
|
|
|
|
fzf
|
|
|
|
fortune
|
|
|
|
dmenu
|
|
|
|
ranger
|
|
|
|
pass
|
|
|
|
brightnessctl
|
|
|
|
vulkan-tools # TODO: vulkan?
|
|
|
|
rustup
|
|
|
|
clang
|
|
|
|
pavucontrol
|
|
|
|
pamixer
|
|
|
|
strongswan
|
|
|
|
gnumake
|
|
|
|
elixir
|
|
|
|
docker docker-compose
|
|
|
|
postgresql
|
|
|
|
htop
|
|
|
|
google-cloud-sdk
|
|
|
|
slurp grim
|
2020-10-16 15:00:11 -05:00
|
|
|
];
|
2020-10-09 22:42:12 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "20.03";
|
|
|
|
}
|