From 3099f8b97a5be7b35b2eb03506adf1167270878e Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 23 Jul 2024 16:03:05 +0100 Subject: stuff --- hosts/myrtle/configuration.nix | 3 +- hosts/myrtle/home.nix | 133 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 134 insertions(+), 2 deletions(-) create mode 100644 hosts/myrtle/home.nix (limited to 'hosts/myrtle') diff --git a/hosts/myrtle/configuration.nix b/hosts/myrtle/configuration.nix index 4067b4e..1f9dc21 100644 --- a/hosts/myrtle/configuration.nix +++ b/hosts/myrtle/configuration.nix @@ -94,7 +94,6 @@ }; hardware = { - opengl.driSupport = true; bluetooth = { enable = true; powerOnBoot = true; @@ -128,12 +127,12 @@ }; services = { + libinput.enable = true; xserver = { enable = true; xkb.layout = "us"; videoDrivers = [ "nvidia" ]; displayManager.startx.enable = true; - libinput.enable = true; dpi = 192; screenSection = '' Option "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}" diff --git a/hosts/myrtle/home.nix b/hosts/myrtle/home.nix new file mode 100644 index 0000000..2529b3e --- /dev/null +++ b/hosts/myrtle/home.nix @@ -0,0 +1,133 @@ +{ config +, pkgs +, theme +, self +, ... +}: + +{ + + imports = [ + ../../programs + ../../services + ../../x + # ./mail.nix + ]; + + home.stateVersion = "22.11"; + home.username = "np"; + home.homeDirectory = "/home/np"; + home.extraOutputsToInstall = [ "man" ]; + home.packages = with pkgs; [ + + # essentials + vim + weechat + firefox + qutebrowser + unzip + tmux + xclip + ripgrep + miniserve + pfetch + st + cmus + tree + neomutt + w3m + noto-fonts-emoji + fd + du-dust + jq + libnotify + inotify-tools + pavucontrol + bc + signal-desktop + killall + httpie + thunderbird + calibre + gh + sonixd + + # gaming + mgba + + # sync + rtorrent + lftp + wget + curl + + # graphics + krita + sxiv + imagemagick + ffmpeg-full + mpv + slop + maim + arandr + gimp + + # graphics debug + cudatoolkit + pciutils + + # monitoring + s-tui + nvtopPackages.full + lshw + stress + powertop + + # input + xinput_calibrator + libinput + + # meta + nixpkgs-review + nixpkgs-fmt + nix-prefetch-scripts + + # work + slack + zoom-us + awscli2 + kubectl + + ] ++ (import ../../scripts { inherit pkgs; }); + + home.pointerCursor = { + name = "Vanilla-DMZ"; + package = pkgs.vanilla-dmz; + x11.enable = true; + }; + + xdg = { + userDirs = { + enable = true; + desktop = "\$HOME/desktop"; + documents = "\$HOME/docs"; + download = "\$HOME/dloads"; + music = "\$HOME/music"; + pictures = "\$HOME/pics"; + videos = "\$HOME/vids"; + }; + }; + + xsession = { + enable = true; + windowManager.command = "2bwm"; + initExtra = '' + ${pkgs.hsetroot}/bin/hsetroot -solid "${theme.base00}" + xrdb -load $HOME/.Xresources + ${pkgs.picom}/bin/picom & + xrandr --setprovideroutputsource modesetting NVIDIA-0 + xrandr --auto + ''; + }; + +} -- cgit v1.2.3