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";};
|
||||
};
|
||||
in [
|
||||
(opts
|
||||
// {
|
||||
what = "//100.97.47.81/anime";
|
||||
where = "/mnt/uwuraid/anime";
|
||||
})
|
||||
(opts
|
||||
// {
|
||||
what = "//100.97.47.81/backup";
|
||||
|
|
@ -56,7 +51,6 @@
|
|||
};
|
||||
};
|
||||
in [
|
||||
(opts // {where = "/mnt/uwuraid/anime";})
|
||||
(opts // {where = "/mnt/uwuraid/backup";})
|
||||
(opts // {where = "/mnt/uwuraid/everything";})
|
||||
(opts // {where = "/mnt/uwuraid/downloads";})
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@
|
|||
kdePackages.konsole
|
||||
kdePackages.gwenview
|
||||
kdePackages.kate
|
||||
kdePackages.xwaylandvideobridge
|
||||
xterm
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -189,7 +189,9 @@
|
|||
{
|
||||
name = "nix";
|
||||
auto-format = true;
|
||||
formatter = {command = "alejandra";};
|
||||
formatter = {
|
||||
command = "alejandra";
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "toml";
|
||||
|
|
|
|||
|
|
@ -47,6 +47,8 @@ def jm --wrapped [-r: string = "@", ...rest] {
|
|||
}
|
||||
|
||||
alias la = ls -a
|
||||
alias ll = ls -l
|
||||
alias lal = ls -la
|
||||
alias ccp = cp -prv
|
||||
alias mvp = mv-full -pv
|
||||
|
||||
|
|
@ -58,3 +60,12 @@ def --env c [path: path = "~"] {
|
|||
def l --wrapped [path: path = ".", ...rest] {
|
||||
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