Compare commits
2 Commits
730e886d5d
...
7f59c589a7
Author | SHA1 | Date | |
---|---|---|---|
7f59c589a7 | |||
47f0cd1be2 |
@ -34,6 +34,12 @@ inputs:
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
ls = "lsd";
|
||||
la = "ls -a";
|
||||
lla = "ls -la";
|
||||
lt = "ls --tree";
|
||||
};
|
||||
plugins = [
|
||||
{
|
||||
name = "done";
|
||||
|
@ -375,7 +375,8 @@ in
|
||||
modules =
|
||||
let
|
||||
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" = {
|
||||
format = "";
|
||||
tooltip = false;
|
||||
|
@ -172,19 +172,23 @@ in
|
||||
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = let
|
||||
ExecStart =
|
||||
let
|
||||
steamStart = pkgs.writeShellScript "steam-start" ''
|
||||
${pkgs.systemd}/bin/systemctl --user stop scc
|
||||
# no sleep is needed here because steam is slow as fuck lol
|
||||
/run/current-system/sw/bin/steam
|
||||
'';
|
||||
in "${steamStart}";
|
||||
ExecStop = let
|
||||
in
|
||||
"${steamStart}";
|
||||
ExecStop =
|
||||
let
|
||||
steamStop = pkgs.writeShellScript "steam-stop" ''
|
||||
${pkgs.coreutils}/bin/sleep 5 # give time for controller to reset
|
||||
${pkgs.systemd}/bin/systemctl --user start scc
|
||||
'';
|
||||
in "${steamStop}";
|
||||
in
|
||||
"${steamStop}";
|
||||
};
|
||||
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
|
@ -24,8 +24,6 @@ in
|
||||
|
||||
home.packages = with pkgs; [
|
||||
zsh-powerlevel9k
|
||||
ncurses.dev
|
||||
lsd
|
||||
fzf # also needed for fzf.vim
|
||||
xclip # needed for nvim
|
||||
nixpkgs-fmt
|
||||
@ -298,7 +296,6 @@ in
|
||||
bp = "npm version patch && npm publish && git push";
|
||||
sc = "${sc}";
|
||||
allgm8 = "${allgm8}";
|
||||
ls = "lsd";
|
||||
};
|
||||
|
||||
xdg.configFile."nvim-qt/nvim-qt.conf".text = ''
|
||||
|
@ -56,7 +56,7 @@ in
|
||||
}
|
||||
{
|
||||
name = "libpipewire-module-access";
|
||||
args = {};
|
||||
args = { };
|
||||
}
|
||||
{ name = "libpipewire-module-adapter"; }
|
||||
{ name = "libpipewire-module-link-factory"; }
|
||||
|
@ -176,14 +176,20 @@ in
|
||||
# Steam remote play
|
||||
27036
|
||||
# Sunshine/moonlight streaming
|
||||
47984 47989 48010
|
||||
47984
|
||||
47989
|
||||
48010
|
||||
];
|
||||
|
||||
networking.firewall.allowedUDPPorts = [
|
||||
# Used for upnp or something?
|
||||
1900
|
||||
# Sunshine/moonlight streaming
|
||||
47998 47999 48000 48002 48010
|
||||
47998
|
||||
47999
|
||||
48000
|
||||
48002
|
||||
48010
|
||||
];
|
||||
|
||||
# Shit breaks without this lol
|
||||
|
Loading…
Reference in New Issue
Block a user