misc changes
This commit is contained in:
parent
8cc0168d2a
commit
d3fc9ff203
|
@ -2,6 +2,7 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
../common/steam.nix
|
||||
../common/desktop.nix
|
||||
];
|
||||
|
||||
|
@ -19,6 +20,27 @@
|
|||
PAPERLESS_URL = "https://paperless.beepboop.systems";
|
||||
};
|
||||
};
|
||||
programs.adb.enable = true;
|
||||
users.users.usr.extraGroups = ["adbusers"];
|
||||
|
||||
environment.etc."nextcloud-admin-pass".text = "aslkfjaslkdfjsalkdfjlKJFLKJDLFKJLSKDJFLSKDJFLSKDJFLSKDFJ";
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
hostName = "beepboop.systems";
|
||||
config.adminpassFile = "/etc/nextcloud-admin-pass";
|
||||
package = pkgs.nextcloud27;
|
||||
# Instead of using pkgs.nextcloud27Packages.apps,
|
||||
# we'll reference the package version specified above
|
||||
extraApps = with config.services.nextcloud.package.packages.apps; {
|
||||
inherit news contacts calendar tasks;
|
||||
};
|
||||
extraAppsEnable = true;
|
||||
};
|
||||
|
||||
systemd.targets.sleep.enable = false;
|
||||
systemd.targets.suspend.enable = false;
|
||||
systemd.targets.hibernate.enable = false;
|
||||
systemd.targets.hybrid-sleep.enable = false;
|
||||
|
||||
services.getty.greetingLine = "
|
||||
welcome to mainsail |`-:_
|
||||
|
@ -32,6 +54,15 @@
|
|||
";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vscodium
|
||||
vscodium-fhs
|
||||
libreoffice
|
||||
|
||||
anki
|
||||
youtube-tui
|
||||
kdenlive
|
||||
libreoffice
|
||||
i3
|
||||
gcc
|
||||
gnumake
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, sxhkd
|
||||
, bash
|
||||
, feh
|
||||
, jq
|
||||
|
@ -24,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
for i in $(ls $src/sh); do
|
||||
cp $src/sh/$i $out/bin
|
||||
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ bash feh xrandr jq curl ]}
|
||||
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq curl ]}
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
# mode - change the current effective sxhkd configuration
|
||||
|
||||
pkill sxhkd
|
||||
sxhkd -c ~/.config/sxhkd/$1 & disown
|
|
@ -63,6 +63,7 @@ in {
|
|||
pinentry-curses
|
||||
magic-wormhole
|
||||
xbrightness
|
||||
xdotool
|
||||
figlet
|
||||
|
||||
unzip
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# adjust some keybindings
|
||||
keyboard
|
||||
|
||||
#
|
||||
# start the wm
|
||||
sxhkd &
|
||||
bspwm
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
q
|
||||
mode sxhkdrc
|
||||
|
||||
{ctrl +,shift +,_} h
|
||||
xdotool mousemove_relative -- {-5,-50,-20} 0
|
||||
|
||||
{ctrl +,shift +,_} j
|
||||
xdotool mousemove_relative -- 0 {-5,-50,-20}
|
||||
|
||||
{ctrl +,shift +,_} k
|
||||
xdotool mousemove_relative -- 0 {5,50,20}
|
||||
|
||||
{ctrl +,shift +,_} l
|
||||
xdotool mousemove_relative -- {5,50,20} 0
|
||||
|
||||
{ctrl +,_} {a,s,d}
|
||||
xdotool {mousedown,click} {1,2,3}
|
||||
|
||||
g
|
||||
xdotool mouseup 1; xdotool mouseup 2; xdotool mouseup 3
|
|
@ -16,32 +16,17 @@ super + r
|
|||
bspc wm -r
|
||||
|
||||
super + w
|
||||
disp && wallpaper && statusbar
|
||||
disp && wallpaper && statusbar && keyboard
|
||||
|
||||
super + {_,shift + }n
|
||||
nws {local,national}
|
||||
|
||||
super + ctrl + n
|
||||
net
|
||||
|
||||
super + ctrl + t
|
||||
st -e htop
|
||||
super + m
|
||||
mode mouse
|
||||
|
||||
{XF86AudioRaiseVolume,XF86AudioLowerVolume}
|
||||
vol {inc,dec}
|
||||
|
||||
super + b
|
||||
fire
|
||||
|
||||
super + shift + b
|
||||
fire -P
|
||||
|
||||
super + ctrl + b
|
||||
chromium
|
||||
|
||||
super + {_,shift + }v
|
||||
vol {inc,dec}
|
||||
|
||||
# bspwm
|
||||
super + q
|
||||
bspc node -c
|
||||
|
|
Loading…
Reference in New Issue