diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 59e87bb..3e11ef8 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -3,7 +3,7 @@ sxhkd & polybar bar -q & bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 -bspc monitor HDMI-1 -d 9 10 +bspc monitor HDMI-1 -d 9 10 11 bspc rule -a Element desktop=^3 bspc rule -a Librewolf desktop=^2 diff --git a/.config/nixpkgs/home.nix b/.config/nixpkgs/home.nix index ea00135..f4cce16 100644 --- a/.config/nixpkgs/home.nix +++ b/.config/nixpkgs/home.nix @@ -5,6 +5,12 @@ nix-direnv ]; + home = { + stateVersion = "22.05"; + username = "grimhilt"; + homeDirectory = "/home/grimhilt"; + }; + programs = { zsh = { enable = true; @@ -12,6 +18,8 @@ conf = "vim /etc/nixos/configuration.nix"; touchSens = "xinput --set-prop 14 'libinput Accel Speed'"; cShell = "nix-shell ~/.config/nixshell/c.nix"; + clrShell = "cat /dev/null > ~/.bash_history && history -c"; + nextsync = "/home/grimhilt/Documents/prog/c/nextsync/nextsync"; }; enableCompletion = true; plugins = [ diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 937d88a..eb66377 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -43,7 +43,7 @@ screenchange-reload = true [module/bspwm-desktops] type = internal/bspwm - +pin-workspaces = true format = label-focused = %name% diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 2d9f87f..fca7f5e 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -110,8 +110,8 @@ super + shift + {h, j, k, l} # Focus/Send to the given desktop #super + {_,shift + }{ampersand,eacute,quotedbl,apostrophe,parenleft,minus,egrave,underscore,ccedilla,agrave} -super + {_,shift + }{ampersand,eacute,quotedbl,apostrophe,parenleft,a,z,e,r,t} - bspc {desktop -f,node -d} '^{1-9,10}' +super + {_,shift + }{ampersand,eacute,quotedbl,apostrophe,parenleft,a,z,e,r,t,y} + bspc {desktop -f,node -d} '^{1-9,10,11}' # Focus the node for the given path jump super + {p,b,comma,period} diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 48a2839..73e4610 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -7,7 +7,7 @@ let unstable = import {}; in { -programs.nix-ld.enable = true; + programs.nix-ld.enable = true; imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ./ledger.nix @@ -73,6 +73,11 @@ programs.nix-ld.enable = true; }; virtualisation.docker.enable = true; + services.mysql.enable = true; + services.mysql.package = pkgs.mariadb; + + services.mongodb.enable = true; + # Enable CUPS to print documents. # services.printing.enable = true; @@ -123,6 +128,9 @@ programs.nix-ld.enable = true; chromium # utils + wireguard-tools + vlc + tldr dolphin git ranger @@ -136,6 +144,7 @@ programs.nix-ld.enable = true; # apps element-desktop + zulip nextcloud-client discord onlyoffice-bin @@ -149,8 +158,9 @@ programs.nix-ld.enable = true; # devs python311 - geany - nasm + docker-compose + filezilla + insomnia ]; fonts.fonts = [ pkgs.font-awesome ];