uwu
This commit is contained in:
parent
4c27a575a3
commit
703c40aa3c
5 changed files with 443 additions and 435 deletions
|
|
@ -6,11 +6,6 @@
|
||||||
mountConfig = {Options = "noauto,noatime,async,users,rw,x-systemd.automount,credentials=${config.age.secrets.uwuraid.path},gid=users,file_mode=0770,dir_mode=0770";};
|
mountConfig = {Options = "noauto,noatime,async,users,rw,x-systemd.automount,credentials=${config.age.secrets.uwuraid.path},gid=users,file_mode=0770,dir_mode=0770";};
|
||||||
};
|
};
|
||||||
in [
|
in [
|
||||||
(opts
|
|
||||||
// {
|
|
||||||
what = "//100.97.47.81/anime";
|
|
||||||
where = "/mnt/uwuraid/anime";
|
|
||||||
})
|
|
||||||
(opts
|
(opts
|
||||||
// {
|
// {
|
||||||
what = "//100.97.47.81/backup";
|
what = "//100.97.47.81/backup";
|
||||||
|
|
@ -56,7 +51,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in [
|
in [
|
||||||
(opts // {where = "/mnt/uwuraid/anime";})
|
|
||||||
(opts // {where = "/mnt/uwuraid/backup";})
|
(opts // {where = "/mnt/uwuraid/backup";})
|
||||||
(opts // {where = "/mnt/uwuraid/everything";})
|
(opts // {where = "/mnt/uwuraid/everything";})
|
||||||
(opts // {where = "/mnt/uwuraid/downloads";})
|
(opts // {where = "/mnt/uwuraid/downloads";})
|
||||||
|
|
|
||||||
|
|
@ -81,6 +81,7 @@
|
||||||
kdePackages.konsole
|
kdePackages.konsole
|
||||||
kdePackages.gwenview
|
kdePackages.gwenview
|
||||||
kdePackages.kate
|
kdePackages.kate
|
||||||
|
kdePackages.xwaylandvideobridge
|
||||||
xterm
|
xterm
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -189,7 +189,9 @@
|
||||||
{
|
{
|
||||||
name = "nix";
|
name = "nix";
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
formatter = {command = "alejandra";};
|
formatter = {
|
||||||
|
command = "alejandra";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "toml";
|
name = "toml";
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,8 @@ def jm --wrapped [-r: string = "@", ...rest] {
|
||||||
}
|
}
|
||||||
|
|
||||||
alias la = ls -a
|
alias la = ls -a
|
||||||
|
alias ll = ls -l
|
||||||
|
alias lal = ls -la
|
||||||
alias ccp = cp -prv
|
alias ccp = cp -prv
|
||||||
alias mvp = mv-full -pv
|
alias mvp = mv-full -pv
|
||||||
|
|
||||||
|
|
@ -58,3 +60,12 @@ def --env c [path: path = "~"] {
|
||||||
def l --wrapped [path: path = ".", ...rest] {
|
def l --wrapped [path: path = ".", ...rest] {
|
||||||
ls ...$rest $path | sort-by type name -i -n
|
ls ...$rest $path | sort-by type name -i -n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias list-automounts = systemctl list-units --type=automount
|
||||||
|
|
||||||
|
def remount [] {
|
||||||
|
let reload = list-automounts | detect columns -n | get column0 | input list --multi
|
||||||
|
for mount in $reload {
|
||||||
|
systemctl resart $mount
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue