thelio76: updates

This commit is contained in:
Alex 2024-07-28 19:30:05 -04:00
parent dd1e3fceb3
commit 7747c8bbb1
3 changed files with 31 additions and 21 deletions

View File

@ -139,25 +139,6 @@
services.xserver.desktopManager.xfce.enable = true;
services.displayManager.defaultSession = "xfce";
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
# atau-wallpapers
blueman
dxvk
envsubst
font-manager
gparted
lshw
mesa
nodejs_20
pavucontrol
unzip
vim
vulkan-extension-layer
wget
];
# Syncthing
services = {
syncthing = {

View File

@ -55,6 +55,17 @@
variant = "";
};
# List packages installed in system profile. To search, run:
environment.systemPackages = with pkgs; [
direnv
dxvk
envsubst
font-manager
gparted
mesa
vulkan-extension-layer
];
# Hardware
hardware.graphics.enable = true;
hardware.graphics.extraPackages = [

View File

@ -17,7 +17,6 @@
drawio
exiftool # For digikam
famistudio
feh
digikam
firefox
flameshot
@ -33,9 +32,9 @@
lmms
lutris
moonlight-qt
ncdu
nextcloud-client
nixpkgs-fmt
nodejs_20
obsidian
pavucontrol
picard
@ -74,6 +73,15 @@
bspc monitor DP-2 -d I II III IV V
bspc monitor HDMI-1 -d VI VII VIII IX X
# Set mouse 1 to move floating windows:
bspc config pointer_action1 move
# Mouse 2 button resizes the window by side:
bspc config pointer_action2 resize_side
# Mouse 3 button (right mouse) resize by corner:
bspc config pointer_action2 resize_corner
polybar &
'';
startupPrograms = [ "picom" "polybar primary" "polybar secondary" ];
@ -362,6 +370,16 @@
# User software configurations
programs = {
bash = {
enable = true;
bashrcExtra = ''
function nxr () {
set -u
local pkg="$1"
shift
nix-shell -p "$pkg" --run "$pkg $@"
set +u
}
'';
shellAliases = {
"git-override" = "git add . && git commit --amend --no-edit && git push --force-with-lease";
};