huh
bump
This commit is contained in:
parent
15a359a954
commit
eb8c06c947
6 changed files with 173 additions and 161 deletions
|
|
@ -68,6 +68,7 @@
|
||||||
|
|
||||||
#rust
|
#rust
|
||||||
bacon
|
bacon
|
||||||
|
cargo-expand
|
||||||
cargo-feature
|
cargo-feature
|
||||||
cargo-generate
|
cargo-generate
|
||||||
cargo-watch
|
cargo-watch
|
||||||
|
|
|
||||||
|
|
@ -56,48 +56,48 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
# THE FINALS audio borked
|
# THE FINALS audio borked
|
||||||
services.pipewire.enable = !if_desktop;
|
# services.pipewire.enable = !if_desktop;
|
||||||
hardware.pulseaudio.enable = if_desktop;
|
# hardware.pulseaudio.enable = if_desktop;
|
||||||
hardware.pulseaudio.support32Bit = if_desktop;
|
# hardware.pulseaudio.support32Bit = if_desktop;
|
||||||
services.pipewire.extraConfig = {
|
# services.pipewire.extraConfig = {
|
||||||
pipewire."99-low-latency" = {
|
# pipewire."99-low-latency" = {
|
||||||
context.properties = {
|
# context.properties = {
|
||||||
default.allowed-rates = [44100 48000 96000 192000];
|
# default.allowed-rates = [44100 48000 96000 192000];
|
||||||
default.clock.rate = 192000;
|
# default.clock.rate = 192000;
|
||||||
default.clock.quantum = 32;
|
# default.clock.quantum = 32;
|
||||||
default.clock.min-quantum = 32;
|
# default.clock.min-quantum = 32;
|
||||||
default.clock.max-quantum = 32;
|
# default.clock.max-quantum = 32;
|
||||||
};
|
# };
|
||||||
context.modules = [
|
# context.modules = [
|
||||||
{
|
# {
|
||||||
name = "libpipewire-module-rt";
|
# name = "libpipewire-module-rt";
|
||||||
args = {
|
# args = {
|
||||||
nice.level = -12;
|
# nice.level = -12;
|
||||||
rt.prio = 89;
|
# rt.prio = 89;
|
||||||
rt.time.soft = 200000;
|
# rt.time.soft = 200000;
|
||||||
rt.time.hard = 200000;
|
# rt.time.hard = 200000;
|
||||||
};
|
# };
|
||||||
flags = ["ifexists nofail"];
|
# flags = ["ifexists nofail"];
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
pipewire-pulse."99-low-latency" = {
|
# pipewire-pulse."99-low-latency" = {
|
||||||
context.modules = [
|
# context.modules = [
|
||||||
{
|
# {
|
||||||
name = "libpipewire-module-protocol-pulse";
|
# name = "libpipewire-module-protocol-pulse";
|
||||||
args = {
|
# args = {
|
||||||
pulse.min.req = "32/192000";
|
# pulse.min.req = "32/192000";
|
||||||
pulse.default.req = "32/192000";
|
# pulse.default.req = "32/192000";
|
||||||
pulse.max.req = "32/192000";
|
# pulse.max.req = "32/192000";
|
||||||
pulse.min.quantum = "32/192000";
|
# pulse.min.quantum = "32/192000";
|
||||||
pulse.max.quantum = "32/192000";
|
# pulse.max.quantum = "32/192000";
|
||||||
};
|
# };
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
stream.properties = {
|
# stream.properties = {
|
||||||
node.latency = "32/192000";
|
# node.latency = "32/192000";
|
||||||
resample.quality = 1;
|
# resample.quality = 1;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,95 +1,95 @@
|
||||||
{config, ...}: {
|
{config, ...}: {
|
||||||
age.secrets.uwuraid.file = ../secrets/uwuraid.age;
|
age.secrets.uwuraid.file = ../secrets/uwuraid.age;
|
||||||
# systemd.mounts = let
|
systemd.mounts = let
|
||||||
# opts = {
|
opts = {
|
||||||
# type = "cifs";
|
type = "cifs";
|
||||||
# mountConfig = {Options = "x-systemd.automount,users,noauto,credentials=${config.age.secrets.uwuraid.path},noatime,uid=1000,gid=100";};
|
mountConfig = {Options = "x-systemd.automount,users,noauto,credentials=${config.age.secrets.uwuraid.path},noatime,uid=1000,gid=100";};
|
||||||
# };
|
};
|
||||||
# in [
|
in [
|
||||||
|
(opts
|
||||||
|
// {
|
||||||
|
what = "//100.97.47.81/anime";
|
||||||
|
where = "/mnt/uwuraid/anime";
|
||||||
|
})
|
||||||
# (opts
|
# (opts
|
||||||
# // {
|
# // {
|
||||||
# what = "//100.97.47.81/anime";
|
# what = "//100.97.47.81/appdata";
|
||||||
# where = "/mnt/uwuraid/anime";
|
# where = "/mnt/uwuraid/appdata";
|
||||||
# })
|
# })
|
||||||
# # (opts
|
(opts
|
||||||
# # // {
|
// {
|
||||||
# # what = "//100.97.47.81/appdata";
|
what = "//100.97.47.81/backup";
|
||||||
# # where = "/mnt/uwuraid/appdata";
|
where = "/mnt/uwuraid/backup";
|
||||||
# # })
|
})
|
||||||
|
(opts
|
||||||
|
// {
|
||||||
|
what = "//100.97.47.81/everything";
|
||||||
|
where = "/mnt/uwuraid/everything";
|
||||||
|
})
|
||||||
|
(opts
|
||||||
|
// {
|
||||||
|
what = "//100.97.47.81/games";
|
||||||
|
where = "/mnt/uwuraid/games";
|
||||||
|
})
|
||||||
# (opts
|
# (opts
|
||||||
# // {
|
# // {
|
||||||
# what = "//100.97.47.81/backup";
|
# what = "//100.97.47.81/isos";
|
||||||
# where = "/mnt/uwuraid/backup";
|
# where = "/mnt/uwuraid/isos";
|
||||||
# })
|
# })
|
||||||
# (opts
|
# (opts
|
||||||
# // {
|
# // {
|
||||||
# what = "//100.97.47.81/everything";
|
# what = "//100.97.47.81/jellyfin";
|
||||||
# where = "/mnt/uwuraid/everything";
|
# where = "/mnt/uwuraid/jellyfin";
|
||||||
# })
|
# })
|
||||||
|
(opts
|
||||||
|
// {
|
||||||
|
what = "//100.97.47.81/movies";
|
||||||
|
where = "/mnt/uwuraid/movies";
|
||||||
|
})
|
||||||
|
(opts
|
||||||
|
// {
|
||||||
|
what = "//100.97.47.81/music";
|
||||||
|
where = "/mnt/uwuraid/music";
|
||||||
|
})
|
||||||
|
(opts
|
||||||
|
// {
|
||||||
|
what = "//100.97.47.81/photos";
|
||||||
|
where = "/mnt/uwuraid/photos";
|
||||||
|
})
|
||||||
|
(opts
|
||||||
|
// {
|
||||||
|
what = "//100.97.47.81/syncthing";
|
||||||
|
where = "/mnt/uwuraid/syncthing";
|
||||||
|
})
|
||||||
# (opts
|
# (opts
|
||||||
# // {
|
# // {
|
||||||
# what = "//100.97.47.81/games";
|
# what = "//100.97.47.81/television";
|
||||||
# where = "/mnt/uwuraid/games";
|
# where = "/mnt/uwuraid/television";
|
||||||
# })
|
# })
|
||||||
# # (opts
|
(opts
|
||||||
# # // {
|
// {
|
||||||
# # what = "//100.97.47.81/isos";
|
what = "//100.97.47.81/virginia";
|
||||||
# # where = "/mnt/uwuraid/isos";
|
where = "/mnt/uwuraid/virginia";
|
||||||
# # })
|
})
|
||||||
# # (opts
|
];
|
||||||
# # // {
|
systemd.automounts = let
|
||||||
# # what = "//100.97.47.81/jellyfin";
|
opts = {
|
||||||
# # where = "/mnt/uwuraid/jellyfin";
|
wantedBy = ["multi-user.target"];
|
||||||
# # })
|
automountConfig = {TimeoutIdleSec = "60";};
|
||||||
# (opts
|
};
|
||||||
# // {
|
in [
|
||||||
# what = "//100.97.47.81/movies";
|
(opts // {where = "/mnt/uwuraid/anime";})
|
||||||
# where = "/mnt/uwuraid/movies";
|
# (opts // {where = "/mnt/uwuraid/appdata";})
|
||||||
# })
|
(opts // {where = "/mnt/uwuraid/backup";})
|
||||||
# (opts
|
(opts // {where = "/mnt/uwuraid/everything";})
|
||||||
# // {
|
(opts // {where = "/mnt/uwuraid/games";})
|
||||||
# what = "//100.97.47.81/music";
|
# (opts // {where = "/mnt/uwuraid/isos";})
|
||||||
# where = "/mnt/uwuraid/music";
|
# (opts // { where = "/mnt/uwuraid/jellyfin"; })
|
||||||
# })
|
(opts // {where = "/mnt/uwuraid/movies";})
|
||||||
# (opts
|
(opts // {where = "/mnt/uwuraid/music";})
|
||||||
# // {
|
(opts // {where = "/mnt/uwuraid/photos";})
|
||||||
# what = "//100.97.47.81/photos";
|
(opts // {where = "/mnt/uwuraid/syncthing";})
|
||||||
# where = "/mnt/uwuraid/photos";
|
(opts // {where = "/mnt/uwuraid/virginia";})
|
||||||
# })
|
# (opts // {where = "/mnt/uwuraid/television";})
|
||||||
# (opts
|
];
|
||||||
# // {
|
|
||||||
# what = "//100.97.47.81/syncthing";
|
|
||||||
# where = "/mnt/uwuraid/syncthing";
|
|
||||||
# })
|
|
||||||
# # (opts
|
|
||||||
# # // {
|
|
||||||
# # what = "//100.97.47.81/television";
|
|
||||||
# # where = "/mnt/uwuraid/television";
|
|
||||||
# # })
|
|
||||||
# (opts
|
|
||||||
# // {
|
|
||||||
# what = "//100.97.47.81/virginia";
|
|
||||||
# where = "/mnt/uwuraid/virginia";
|
|
||||||
# })
|
|
||||||
# ];
|
|
||||||
# systemd.automounts = let
|
|
||||||
# opts = {
|
|
||||||
# wantedBy = ["multi-user.target"];
|
|
||||||
# automountConfig = {TimeoutIdleSec = "60";};
|
|
||||||
# };
|
|
||||||
# in [
|
|
||||||
# (opts // {where = "/mnt/uwuraid/anime";})
|
|
||||||
# # (opts // {where = "/mnt/uwuraid/appdata";})
|
|
||||||
# (opts // {where = "/mnt/uwuraid/backup";})
|
|
||||||
# (opts // {where = "/mnt/uwuraid/everything";})
|
|
||||||
# (opts // {where = "/mnt/uwuraid/games";})
|
|
||||||
# # (opts // {where = "/mnt/uwuraid/isos";})
|
|
||||||
# # (opts // { where = "/mnt/uwuraid/jellyfin"; })
|
|
||||||
# (opts // {where = "/mnt/uwuraid/movies";})
|
|
||||||
# (opts // {where = "/mnt/uwuraid/music";})
|
|
||||||
# (opts // {where = "/mnt/uwuraid/photos";})
|
|
||||||
# (opts // {where = "/mnt/uwuraid/syncthing";})
|
|
||||||
# (opts // {where = "/mnt/uwuraid/virginia";})
|
|
||||||
# # (opts // {where = "/mnt/uwuraid/television";})
|
|
||||||
# ];
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
48
flake.lock
generated
48
flake.lock
generated
|
|
@ -89,11 +89,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728334376,
|
"lastModified": 1728763831,
|
||||||
"narHash": "sha256-CTKEKPzD/j8FK6H4DO3EjyixZd3HHvgAgfnCwpGFP5c=",
|
"narHash": "sha256-KOp33tls7jRAhcmu77aVxKpSMou8QgK0BC+Y3sYLuGo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "d39ee334984fcdae6244f5a8e6ab857479cbaefe",
|
"rev": "b6215392ec3bd05e9ebfbb2f7945c414096fce8f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -224,11 +224,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728337164,
|
"lastModified": 1728791962,
|
||||||
"narHash": "sha256-VdRTjJFyq4Q9U7Z/UoC2Q5jK8vSo6E86lHc2OanXtvc=",
|
"narHash": "sha256-nr5QiXwQcZmf6/auC1UpX8iAtINMtdi2mH+OkqJQVmU=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "038630363e7de57c36c417fd2f5d7c14773403e4",
|
"rev": "64c6325b28ebd708653dd41d88f306023f296184",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -326,11 +326,11 @@
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728351368,
|
"lastModified": 1728783352,
|
||||||
"narHash": "sha256-Ig/OSUMhCGFs/p0riUz8wqKMMg4dj9Rj756bGZWULDY=",
|
"narHash": "sha256-9U5sXyy5i8N2iL6dROw8vAAhbbBAVWmKuNbEZj6CzSQ=",
|
||||||
"owner": "lilyinstarlight",
|
"owner": "lilyinstarlight",
|
||||||
"repo": "nixos-cosmic",
|
"repo": "nixos-cosmic",
|
||||||
"rev": "b2c490e0fdd4ba63ea42bbd0f0fe928abb0af73a",
|
"rev": "f545d4fc6c01afb04b9108f59d16160dcfa0a971",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -341,11 +341,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728269138,
|
"lastModified": 1728729581,
|
||||||
"narHash": "sha256-oKxDImsOvgUZMY4NwXVyUc/c1HiU2qInX+b5BU0yXls=",
|
"narHash": "sha256-oazkQ/z7r43YkDLLQdMg8oIB3CwWNb+2ZrYOxtLEWTQ=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "ecfcd787f373f43307d764762e139a7cdeb9c22b",
|
"rev": "a8dd1b21995964b115b1e3ec639dd6ce24ab9806",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -404,11 +404,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728193676,
|
"lastModified": 1728627514,
|
||||||
"narHash": "sha256-PbDWAIjKJdlVg+qQRhzdSor04bAPApDqIv2DofTyynk=",
|
"narHash": "sha256-r+SF9AnHrTg+bk6YszoKfV9lgyw+yaFUQe0dOjI0Z2o=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "ecbc1ca8ffd6aea8372ad16be9ebbb39889e55b6",
|
"rev": "c505ebf777526041d792a49d5f6dd4095ea391a7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -464,11 +464,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728241625,
|
"lastModified": 1728492678,
|
||||||
"narHash": "sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw=",
|
"narHash": "sha256-9UTxR8eukdg+XZeHgxW5hQA9fIKHsKCdOIUycTryeVw=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c31898adf5a8ed202ce5bea9f347b1c6871f32d1",
|
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -485,11 +485,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1727917089,
|
"lastModified": 1728750492,
|
||||||
"narHash": "sha256-XWNBGf8Z03sqA5/m99X6XTFbHGNuVx1gMaMQJbdDIrY=",
|
"narHash": "sha256-9IHlIsH4gLqQjS2lFbEnsl/ItdqzBBLWLsyXS0k0jf8=",
|
||||||
"owner": "pjones",
|
"owner": "pjones",
|
||||||
"repo": "plasma-manager",
|
"repo": "plasma-manager",
|
||||||
"rev": "bc14b17bff1557de8f103172508f896a87bb9cdb",
|
"rev": "c6d4b6f3e0138c08f37d66fcfbcbe37dab08f108",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -519,11 +519,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728268235,
|
"lastModified": 1728700003,
|
||||||
"narHash": "sha256-lJMFnMO4maJuNO6PQ5fZesrTmglze3UFTTBuKGwR1Nw=",
|
"narHash": "sha256-Ox1pvEHxLK6lAdaKQW21Zvk65SPDag+cD8YA444R/og=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "25685cc2c7054efc31351c172ae77b21814f2d42",
|
"rev": "fc1e58ebabe0cef4442eedea07556ff0c9eafcfe",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,10 @@
|
||||||
name = "sql";
|
name = "sql";
|
||||||
language-servers = ["sqls"];
|
language-servers = ["sqls"];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "go";
|
||||||
|
formatter.command = "goimports";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "arduino";
|
name = "arduino";
|
||||||
grammar = "arduino";
|
grammar = "arduino";
|
||||||
|
|
@ -187,6 +191,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
language-server = {
|
language-server = {
|
||||||
|
rust-analyzer.config.check.command = "clippy";
|
||||||
# gas = {
|
# gas = {
|
||||||
# command = "asm-lsp";
|
# command = "asm-lsp";
|
||||||
# };
|
# };
|
||||||
|
|
@ -198,6 +203,11 @@
|
||||||
command = "boxxy";
|
command = "boxxy";
|
||||||
args = ["arduino-language-server" "-cli" "arduino-cli" "-cli-config" "~/.local/share/arduino/cli/arduino-cli.yaml" "-jobs" "0"];
|
args = ["arduino-language-server" "-cli" "arduino-cli" "-cli-config" "~/.local/share/arduino/cli/arduino-cli.yaml" "-jobs" "0"];
|
||||||
};
|
};
|
||||||
|
# gopls = {
|
||||||
|
# config = {
|
||||||
|
# unusedVariable = false;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
sqls = {
|
sqls = {
|
||||||
command = "sqls";
|
command = "sqls";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,8 @@ alias jd = jj diff
|
||||||
alias jc = jj desc
|
alias jc = jj desc
|
||||||
alias js = jj status
|
alias js = jj status
|
||||||
alias jp = jj git push
|
alias jp = jj git push
|
||||||
alias jm = jj branch set main
|
alias jm = jj bookmark set main
|
||||||
|
alias jg = jj git clone --colocate
|
||||||
|
|
||||||
def h [] {
|
def h [] {
|
||||||
sk | complete |
|
sk | complete |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue