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.xserver.desktopManager.xfce.enable = true;
services.displayManager.defaultSession = "xfce"; 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 # Syncthing
services = { services = {
syncthing = { syncthing = {

View File

@ -55,6 +55,17 @@
variant = ""; 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
hardware.graphics.enable = true; hardware.graphics.enable = true;
hardware.graphics.extraPackages = [ hardware.graphics.extraPackages = [

View File

@ -17,7 +17,6 @@
drawio drawio
exiftool # For digikam exiftool # For digikam
famistudio famistudio
feh
digikam digikam
firefox firefox
flameshot flameshot
@ -33,9 +32,9 @@
lmms lmms
lutris lutris
moonlight-qt moonlight-qt
ncdu
nextcloud-client nextcloud-client
nixpkgs-fmt nixpkgs-fmt
nodejs_20
obsidian obsidian
pavucontrol pavucontrol
picard picard
@ -74,6 +73,15 @@
bspc monitor DP-2 -d I II III IV V bspc monitor DP-2 -d I II III IV V
bspc monitor HDMI-1 -d VI VII VIII IX X 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 & polybar &
''; '';
startupPrograms = [ "picom" "polybar primary" "polybar secondary" ]; startupPrograms = [ "picom" "polybar primary" "polybar secondary" ];
@ -362,6 +370,16 @@
# User software configurations # User software configurations
programs = { programs = {
bash = { bash = {
enable = true;
bashrcExtra = ''
function nxr () {
set -u
local pkg="$1"
shift
nix-shell -p "$pkg" --run "$pkg $@"
set +u
}
'';
shellAliases = { shellAliases = {
"git-override" = "git add . && git commit --amend --no-edit && git push --force-with-lease"; "git-override" = "git add . && git commit --amend --no-edit && git push --force-with-lease";
}; };