start with nvme drive

This commit is contained in:
Noah Masur 2022-01-13 08:51:13 -05:00
parent f1bc34e8fd
commit fc66f23a49
2 changed files with 17 additions and 3 deletions

View File

@ -10,6 +10,8 @@
/etc/nixos/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
]; ];
nixpkgs.config.allowUnfree = true;
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
@ -63,6 +65,15 @@
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
#services.xrandr.xrandrHeads = [
# "HDMI-0"
#];
services.xserver.displayManager.setupCommands = ''
LEFT='HDMI-0'
RIGHT='DisplayPort-0'
${pkgs.xorg.xrandr}/bin/xrandr --output $LEFT --output $RIGHT --right-of $LEFT --rotate left
'';
# Install fonts # Install fonts
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
fira-code fira-code

View File

@ -8,12 +8,14 @@ let
in in
{ {
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
# firefox firefox
unzip unzip
neovim neovim
gcc # for tree-sitter gcc # for tree-sitter
# alacritty alacritty
# unstable.neovim # unstable.neovim
tmux tmux
rsync rsync
@ -24,7 +26,8 @@ in
sd sd
jq jq
tealdeer tealdeer
/* unstable._1password-gui */ _1password-gui
discord
]; ];
#programs.alacritty = { #programs.alacritty = {