vscodium, steam, add back hardware config

This commit is contained in:
Aria Nolan 2023-11-22 22:18:21 -05:00
parent a2ffbecf1e
commit 518819b6e5
6 changed files with 35 additions and 20 deletions

View file

@ -70,7 +70,7 @@
modules = [
./hosts/JWST/configuration.nix
sops-nix.nixosModules.sops
# nixos-hardware.nixosModules.dell-xps-15-9520
nixos-hardware.nixosModules.dell-xps-15-9520
nixos-hardware.nixosModules.common-gpu-nvidia-disable
{nixpkgs.overlays = overlays;}
home-manager.nixosModules.home-manager

View file

@ -3,7 +3,7 @@
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{
# config,
# lib,
lib,
pkgs,
...
}: {
@ -63,14 +63,11 @@
# Enable sound.
sound.enable = true;
# hardware.pulseaudio.enable = true;
# services.pipewire.audio.enable = true;
services.pipewire = {
enable = true;
audio.enable = true;
alsa.enable = true;
pulse.enable = true;
jack.enable = true;
};
xdg.portal = {
@ -100,13 +97,6 @@
description = "Aria Nolan";
};
# programs.river.enable = true;
# programs.river.extraPackages = with pkgs; [
# swaylock
# swayidle
# brightnessctl
# ];
programs.sway.enable = true;
programs.sway.wrapperFeatures.gtk = true;
programs.sway.extraPackages = with pkgs; [
@ -117,12 +107,18 @@
];
programs.waybar.enable = true;
# programs.nm-applet.enable = true;
programs.steam.enable = true;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-run"
];
environment = {
systemPackages = with pkgs; [
vim
exfat
encfs
ntfs3g
];
defaultPackages = with pkgs; [

View file

@ -15,6 +15,7 @@
packages = with pkgs; [
rnote
sops
neovim
libreoffice
notify-desktop
texlive.combined.scheme-medium

View file

@ -4,6 +4,7 @@
./git.nix
./taskwarrior.nix
./firefox.nix
./vscode.nix
# ./thunderbird.nix
];

View file

@ -0,0 +1,17 @@
{pkgs, ...}: {
programs.vscode = {
enable = true;
package = pkgs.vscodium;
enableExtensionUpdateCheck = false;
enableUpdateCheck = false;
extensions = with pkgs.vscode-extensions; [
ritwickdey.liveserver
asvetliakov.vscode-neovim
];
userSettings = {
"extensions.experimental.affinity" = {
"asvetliakov.vscode-neovim" = 1;
};
};
};
}

View file

@ -252,7 +252,7 @@ bindsym $mod+r mode "resize"
# }
# Screenshot
bindsym Print exec IMG=~/Pictures/screenshots/$(date | sed "s/\s/-/g" | sed "s/--/-/g").png&&grim -g "$(slurp)" $IMG && cat $IMG | wl-copy && notify-desktop "Screenshot has been saved and copied to your clipboard" -a "grim" -u normal -t 2000
bindsym Print exec IMG=~/Pictures/screenshots/$(date | sed "s/\s/-/g" | sed "s/--/-/g").png&&grim -g "$(slurp)" $IMG && cat $IMG | wl-copy
#
# Player
@ -263,9 +263,9 @@ bindsym $mod+r mode "resize"
# Volume
#
bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > $SWAYSOCK.wob
bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > $SWAYSOCK.wob
bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob
bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume
bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume
bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 ) || pamixer --get-volume
# Bitwarden
#
@ -273,8 +273,8 @@ bindsym $mod+r mode "resize"
# Backlight
#
# bindsym XF86MonBrightnessUp exec brightnessctl s +5%
# bindsym XF86MonBrightnessDown exec brightnessctl s 5%-
bindsym XF86MonBrightnessUp exec brightnessctl s +5%
bindsym XF86MonBrightnessDown exec brightnessctl s 5%-
#
# SwayFX