Compare commits

..

No commits in common. "7f59c589a7f00945ad5b8c4d2b857410e0b6eac4" and "730e886d5d5c6a9336f469776ae69ac5b9e4e1da" have entirely different histories.

6 changed files with 212 additions and 226 deletions

View File

@ -34,12 +34,6 @@ inputs:
programs.fish = { programs.fish = {
enable = true; enable = true;
shellAliases = {
ls = "lsd";
la = "ls -a";
lla = "ls -la";
lt = "ls --tree";
};
plugins = [ plugins = [
{ {
name = "done"; name = "done";

View File

@ -375,8 +375,7 @@ in
modules = modules =
let let
checkWttr = "${pkgs.bash}/bin/bash -c '! (${pkgs.curl}/bin/curl wttr.in/${cfg.location}?format=+ | ${pkgs.gnugrep}/bin/grep \\'^Unknown location;\\')'"; checkWttr = "${pkgs.bash}/bin/bash -c '! (${pkgs.curl}/bin/curl wttr.in/${cfg.location}?format=+ | ${pkgs.gnugrep}/bin/grep \\'^Unknown location;\\')'";
in in {
{
"custom/left-arrow-dark" = { "custom/left-arrow-dark" = {
format = ""; format = "";
tooltip = false; tooltip = false;

View File

@ -172,23 +172,19 @@ in
Service = { Service = {
Type = "simple"; Type = "simple";
ExecStart = ExecStart = let
let
steamStart = pkgs.writeShellScript "steam-start" '' steamStart = pkgs.writeShellScript "steam-start" ''
${pkgs.systemd}/bin/systemctl --user stop scc ${pkgs.systemd}/bin/systemctl --user stop scc
# no sleep is needed here because steam is slow as fuck lol # no sleep is needed here because steam is slow as fuck lol
/run/current-system/sw/bin/steam /run/current-system/sw/bin/steam
''; '';
in in "${steamStart}";
"${steamStart}"; ExecStop = let
ExecStop =
let
steamStop = pkgs.writeShellScript "steam-stop" '' steamStop = pkgs.writeShellScript "steam-stop" ''
${pkgs.coreutils}/bin/sleep 5 # give time for controller to reset ${pkgs.coreutils}/bin/sleep 5 # give time for controller to reset
${pkgs.systemd}/bin/systemctl --user start scc ${pkgs.systemd}/bin/systemctl --user start scc
''; '';
in in "${steamStop}";
"${steamStop}";
}; };
Install = { WantedBy = [ "graphical-session.target" ]; }; Install = { WantedBy = [ "graphical-session.target" ]; };

View File

@ -24,6 +24,8 @@ in
home.packages = with pkgs; [ home.packages = with pkgs; [
zsh-powerlevel9k zsh-powerlevel9k
ncurses.dev
lsd
fzf # also needed for fzf.vim fzf # also needed for fzf.vim
xclip # needed for nvim xclip # needed for nvim
nixpkgs-fmt nixpkgs-fmt
@ -296,6 +298,7 @@ in
bp = "npm version patch && npm publish && git push"; bp = "npm version patch && npm publish && git push";
sc = "${sc}"; sc = "${sc}";
allgm8 = "${allgm8}"; allgm8 = "${allgm8}";
ls = "lsd";
}; };
xdg.configFile."nvim-qt/nvim-qt.conf".text = '' xdg.configFile."nvim-qt/nvim-qt.conf".text = ''

View File

@ -56,7 +56,7 @@ in
} }
{ {
name = "libpipewire-module-access"; name = "libpipewire-module-access";
args = { }; args = {};
} }
{ name = "libpipewire-module-adapter"; } { name = "libpipewire-module-adapter"; }
{ name = "libpipewire-module-link-factory"; } { name = "libpipewire-module-link-factory"; }

View File

@ -176,20 +176,14 @@ in
# Steam remote play # Steam remote play
27036 27036
# Sunshine/moonlight streaming # Sunshine/moonlight streaming
47984 47984 47989 48010
47989
48010
]; ];
networking.firewall.allowedUDPPorts = [ networking.firewall.allowedUDPPorts = [
# Used for upnp or something? # Used for upnp or something?
1900 1900
# Sunshine/moonlight streaming # Sunshine/moonlight streaming
47998 47998 47999 48000 48002 48010
47999
48000
48002
48010
]; ];
# Shit breaks without this lol # Shit breaks without this lol