This commit is contained in:
Jade 2023-01-06 14:22:42 +01:00
parent 01c4ebfb58
commit 823137a55f
2 changed files with 12 additions and 5 deletions

View file

@ -60,6 +60,7 @@ with builtins;
nixpkgs.config.packageOverrides = pkgs: { nixpkgs.config.packageOverrides = pkgs: {
sudo = pkgs.sudo.override { withInsults = true; }; sudo = pkgs.sudo.override { withInsults = true; };
blender-hip = pkgs.blender-hip.override { spaceNavSupport = true; };
}; };
security.sudo.extraConfig = "Defaults insults"; security.sudo.extraConfig = "Defaults insults";
@ -117,19 +118,21 @@ with builtins;
services.pipewire = { services.pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; #alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
jack.enable = true;
}; };
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.keyboard.uhk.enable = true; hardware.keyboard.uhk.enable = true;
hardware.spacenavd.enable = true;
environment.sessionVariables = rec { environment.sessionVariables = rec {
QT_QPA_PLATFORMTHEME = "qt5ct"; QT_QPA_PLATFORMTHEME = "qt5ct";
TERMINAL = "kitty"; TERMINAL = "kitty";
}; };
users.users.jade = {
users.users.jade = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "input" "uinput" "libvirtd" ]; extraGroups = [ "wheel" "input" "uinput" "libvirtd" ];
packages = with pkgs; [ packages = with pkgs; [
@ -157,12 +160,15 @@ with builtins;
firebird-emu obs-studio kdenlive openal firebird-emu obs-studio kdenlive openal
mullvad mullvad-vpn mullvad mullvad-vpn
sl lolcat ifuse sl lolcat ifuse
fspy spacenav-cube-example spacenavd libspnav
cava appimage-run cava appimage-run
#prismlauncher #prismlauncher
gitg gnome-builder gitg gnome-builder
gpick qdirstat file whois ffmpeg_5 scribus p7zip file nmap cmatrix tree socat libreoffice gpick qdirstat file whois ffmpeg_5 scribus p7zip file nmap cmatrix tree socat libreoffice
]; ];
programs.noisetorch.enable = true;
environment.pathsToLink = [ environment.pathsToLink = [
"/share/nix-direnv" "/share/nix-direnv"
]; ];

View file

@ -70,6 +70,7 @@ in with lib; {
{ command = "pkill pa-applet; pa-applet"; always = true; } { command = "pkill pa-applet; pa-applet"; always = true; }
{ command = "pkill oneko; oneko -tofocus -tora -position +-1+5 -fg palevioletred3 -bg pink -name 'Rose the desktop kitty'"; always = true; } { command = "pkill oneko; oneko -tofocus -tora -position +-1+5 -fg palevioletred3 -bg pink -name 'Rose the desktop kitty'"; always = true; }
{ command = "mullvad-vpn --background"; always = true; } { command = "mullvad-vpn --background"; always = true; }
{ command = "pkill polybar; polybar"; always = true; }
]; ];
# }}} # }}}
# Assigns {{{ # Assigns {{{
@ -247,7 +248,7 @@ in with lib; {
services.polybar = { services.polybar = {
enable = true; enable = true;
script = "pkill polybar; polybar &"; script = "";
settings = { settings = {
colors = { colors = {
background = "#282828"; background = "#282828";
@ -279,7 +280,7 @@ in with lib; {
cursor-click = "pointer"; cursor-click = "pointer";
cursor-scroll = "ns-resize"; cursor-scroll = "ns-resize";
enable-ipc = true; enable-ipc = true;
wm-restack = "i3wm"; wm-restack = "i3";
override-redirect = false; override-redirect = false;
}; };