Compare commits
No commits in common. "dc40d5200c953b5b6f15888fceb011b9abc2d794" and "f986493354fce76ffa79e7e551f1800453c149e3" have entirely different histories.
dc40d5200c
...
f986493354
@ -3,7 +3,7 @@ sxhkd &
|
|||||||
polybar bar -q &
|
polybar bar -q &
|
||||||
|
|
||||||
bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8
|
bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8
|
||||||
bspc monitor HDMI-1 -d 9 10 11
|
bspc monitor HDMI-1 -d 9 10
|
||||||
|
|
||||||
bspc rule -a Element desktop=^3
|
bspc rule -a Element desktop=^3
|
||||||
bspc rule -a Librewolf desktop=^2
|
bspc rule -a Librewolf desktop=^2
|
||||||
|
@ -5,12 +5,6 @@
|
|||||||
nix-direnv
|
nix-direnv
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
|
||||||
stateVersion = "22.05";
|
|
||||||
username = "grimhilt";
|
|
||||||
homeDirectory = "/home/grimhilt";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -18,8 +12,6 @@
|
|||||||
conf = "vim /etc/nixos/configuration.nix";
|
conf = "vim /etc/nixos/configuration.nix";
|
||||||
touchSens = "xinput --set-prop 14 'libinput Accel Speed'";
|
touchSens = "xinput --set-prop 14 'libinput Accel Speed'";
|
||||||
cShell = "nix-shell ~/.config/nixshell/c.nix";
|
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;
|
enableCompletion = true;
|
||||||
plugins = [
|
plugins = [
|
||||||
|
@ -9,9 +9,7 @@ in
|
|||||||
SDL2.dev
|
SDL2.dev
|
||||||
SDL2_image
|
SDL2_image
|
||||||
SDL2_gfx
|
SDL2_gfx
|
||||||
sqlite
|
#SDL2_image.dev
|
||||||
sqlite.dev
|
|
||||||
libconfig
|
|
||||||
];
|
];
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
pkg-config
|
pkg-config
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
let
|
|
||||||
pkgs = import <nixpkgs> {};
|
|
||||||
in
|
|
||||||
pkgs.mkShell {
|
|
||||||
buildInputs = with pkgs; [
|
|
||||||
cmake
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
|
|
||||||
# When Cypress starts, it copies some files into `~/.config/Cypress/cy/production/browsers/chrome-stable/interactive/CypressExtension/`
|
|
||||||
# from the Nix Store, one of which it attempts to modify immediately after.
|
|
||||||
# As-is, this fails because the copied file keeps the read-only flag it had in
|
|
||||||
# the Store.
|
|
||||||
# Luckily, the code responsible is a plain text script that we can easily patch:
|
|
||||||
final: prev: {
|
|
||||||
cypress = prev.cypress.overrideAttrs (oldAttrs: {
|
|
||||||
installPhase = let
|
|
||||||
old = "copyExtension(pathToExtension, extensionDest)";
|
|
||||||
# This has only been tested against Cypress 6.0.0!
|
|
||||||
newForChrome =
|
|
||||||
"copyExtension(pathToExtension, extensionDest).then(() => fs_1.default.chmodAsync(extensionBg, 0o0644))";
|
|
||||||
newForFirefox =
|
|
||||||
"copyExtension(pathToExtension, extensionDest).then(() => fs.chmodAsync(extensionBg, 0o0644))";
|
|
||||||
in ''
|
|
||||||
sed -i 's/${old}/${newForChrome}/' \
|
|
||||||
./resources/app/packages/server/lib/browsers/chrome.js
|
|
||||||
sed -i 's/${old}/${newForFirefox}/' \
|
|
||||||
./resources/app/packages/server/lib/browsers/utils.js
|
|
||||||
'' + oldAttrs.installPhase;
|
|
||||||
});
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
let
|
|
||||||
pkgs = import <nixpkgs> {};
|
|
||||||
unstable = import <unstable> {};
|
|
||||||
in
|
|
||||||
pkgs.mkShell {
|
|
||||||
buildInputs = with pkgs; [
|
|
||||||
go
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,7 +1,6 @@
|
|||||||
let pkgs = import <nixpkgs> { overlays = [ (import ./cypress-overlay.nix) ]; };
|
with (import <nixpkgs> {});
|
||||||
in pkgs.mkShell {
|
mkShell {
|
||||||
name = "matrix-shell";
|
buildInputs = [
|
||||||
buildInputs = with pkgs; [
|
|
||||||
yarn
|
yarn
|
||||||
docker
|
docker
|
||||||
act
|
act
|
||||||
@ -17,7 +16,6 @@ in pkgs.mkShell {
|
|||||||
xorg.libXtst
|
xorg.libXtst
|
||||||
xorg.xauth
|
xorg.xauth
|
||||||
xvfb-run
|
xvfb-run
|
||||||
(with dotnetCorePackages; combinePackages [ sdk_5_0 ])
|
|
||||||
stdenv.cc.cc zlib glib dbus gtk3 atk pango freetype
|
stdenv.cc.cc zlib glib dbus gtk3 atk pango freetype
|
||||||
fontconfig gdk-pixbuf cairo cups expat libgpg-error alsa-lib nspr nss
|
fontconfig gdk-pixbuf cairo cups expat libgpg-error alsa-lib nspr nss
|
||||||
xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst
|
xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst
|
||||||
@ -31,9 +29,6 @@ in pkgs.mkShell {
|
|||||||
shellHook = ''
|
shellHook = ''
|
||||||
export NAME="matrix-shell"
|
export NAME="matrix-shell"
|
||||||
export NODE_OPTIONS=--openssl-legacy-provider
|
export NODE_OPTIONS=--openssl-legacy-provider
|
||||||
export CYPRESS_INSTALL_BINARY=0
|
|
||||||
export CYPRESS_RUN_BINARY=${pkgs.cypress}/bin/Cypress
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
#https://gist.github.com/r-k-b/2485f977b476aa3f76a47329ce7f9ad4?permalink_comment_id=4402925
|
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
with (import <nixpkgs> {});
|
|
||||||
mkShell {
|
|
||||||
buildInputs = [
|
|
||||||
yarn
|
|
||||||
nodejs
|
|
||||||
nodePackages.npm
|
|
||||||
nodePackages.nodemon
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
|||||||
with import <nixpkgs> {};
|
|
||||||
mkShell {
|
|
||||||
buildInputs = [
|
|
||||||
postgresql
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
|||||||
with (import <nixpkgs> {});
|
|
||||||
mkShell {
|
|
||||||
buildInputs = [
|
|
||||||
yarn
|
|
||||||
nodejs
|
|
||||||
] ++ (with pkgs.nodePackages; [
|
|
||||||
npm
|
|
||||||
nodemon
|
|
||||||
]);
|
|
||||||
shellHook = ''
|
|
||||||
export NAME="react-shell"
|
|
||||||
export NODE_OPTIONS=--openssl-legacy-provider
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
|||||||
let
|
|
||||||
pkgs = import <nixpkgs> {};
|
|
||||||
unstable = import <unstable> {};
|
|
||||||
in
|
|
||||||
pkgs.mkShell {
|
|
||||||
buildInputs = with pkgs; [
|
|
||||||
unstable.rustc
|
|
||||||
cargo
|
|
||||||
libressl
|
|
||||||
];
|
|
||||||
nativeBuildInputs = with pkgs; [
|
|
||||||
pkg-config
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
with (import <nixpkgs> {});
|
|
||||||
let
|
|
||||||
vueCli = pkgs.fetchFromGitHub {
|
|
||||||
owner = "vuejs";
|
|
||||||
repo = "vue-cli";
|
|
||||||
rev = "v4.5.15";
|
|
||||||
sha256 = "sha256-zJhk7tZAjqGLQOSTs3t5pj5qNtwersItGUM2oD4/R8o=";
|
|
||||||
};
|
|
||||||
in mkShell {
|
|
||||||
buildInputs = [
|
|
||||||
yarn
|
|
||||||
nodejs
|
|
||||||
vueCli
|
|
||||||
] ++ (with pkgs.nodePackages; [
|
|
||||||
npm
|
|
||||||
nodemon
|
|
||||||
]);
|
|
||||||
shellHook = ''
|
|
||||||
export NAME="vue-shell"
|
|
||||||
export PATH=$(yarn bin):$PATH
|
|
||||||
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
|
|
@ -43,7 +43,7 @@ screenchange-reload = true
|
|||||||
|
|
||||||
[module/bspwm-desktops]
|
[module/bspwm-desktops]
|
||||||
type = internal/bspwm
|
type = internal/bspwm
|
||||||
pin-workspaces = true
|
|
||||||
format = <label-state>
|
format = <label-state>
|
||||||
|
|
||||||
label-focused = %name%
|
label-focused = %name%
|
||||||
|
@ -110,8 +110,8 @@ super + shift + {h, j, k, l}
|
|||||||
|
|
||||||
# Focus/Send to the given desktop
|
# 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,minus,egrave,underscore,ccedilla,agrave}
|
||||||
super + {_,shift + }{ampersand,eacute,quotedbl,apostrophe,parenleft,a,z,e,r,t,y}
|
super + {_,shift + }{ampersand,eacute,quotedbl,apostrophe,parenleft,a,z,e,r,t}
|
||||||
bspc {desktop -f,node -d} '^{1-9,10,11}'
|
bspc {desktop -f,node -d} '^{1-9,10}'
|
||||||
|
|
||||||
# Focus the node for the given path jump
|
# Focus the node for the given path jump
|
||||||
super + {p,b,comma,period}
|
super + {p,b,comma,period}
|
||||||
|
@ -73,11 +73,6 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
services.mysql.enable = true;
|
|
||||||
services.mysql.package = pkgs.mariadb;
|
|
||||||
|
|
||||||
services.mongodb.enable = true;
|
|
||||||
|
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
# services.printing.enable = true;
|
# services.printing.enable = true;
|
||||||
@ -128,9 +123,6 @@ in {
|
|||||||
chromium
|
chromium
|
||||||
|
|
||||||
# utils
|
# utils
|
||||||
wireguard-tools
|
|
||||||
vlc
|
|
||||||
tldr
|
|
||||||
dolphin
|
dolphin
|
||||||
git
|
git
|
||||||
ranger
|
ranger
|
||||||
@ -144,7 +136,6 @@ in {
|
|||||||
|
|
||||||
# apps
|
# apps
|
||||||
element-desktop
|
element-desktop
|
||||||
zulip
|
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
discord
|
discord
|
||||||
onlyoffice-bin
|
onlyoffice-bin
|
||||||
@ -158,9 +149,8 @@ in {
|
|||||||
|
|
||||||
# devs
|
# devs
|
||||||
python311
|
python311
|
||||||
docker-compose
|
geany
|
||||||
filezilla
|
nasm
|
||||||
insomnia
|
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts.fonts = [ pkgs.font-awesome ];
|
fonts.fonts = [ pkgs.font-awesome ];
|
||||||
|
Loading…
Reference in New Issue
Block a user