From fc66f23a49d2e4c5997320e46feb68ce8cf4ac01 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Thu, 13 Jan 2022 08:51:13 -0500 Subject: [PATCH] start with nvme drive --- nixos/configuration.nix | 11 +++++++++++ nixos/home.nix | 9 ++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 9b45b21..cc0c563 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -10,6 +10,8 @@ /etc/nixos/hardware-configuration.nix ]; + nixpkgs.config.allowUnfree = true; + # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -63,6 +65,15 @@ sound.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 fonts.fonts = with pkgs; [ fira-code diff --git a/nixos/home.nix b/nixos/home.nix index 47e1814..12cf384 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -8,12 +8,14 @@ let in { + nixpkgs.config.allowUnfree = true; + home.packages = with pkgs; [ - # firefox + firefox unzip neovim gcc # for tree-sitter - # alacritty + alacritty # unstable.neovim tmux rsync @@ -24,7 +26,8 @@ in sd jq tealdeer - /* unstable._1password-gui */ + _1password-gui + discord ]; #programs.alacritty = {