This commit is contained in:
Tao Tien 2024-09-05 15:18:19 -07:00
parent 3d202d60f0
commit 54fb7f4245
4 changed files with 24 additions and 4 deletions

View file

@ -83,4 +83,13 @@
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
'';
virtualisation.docker = {
enable = true;
storageDriver = "btrfs";
};
virtualisation.docker.rootless = {
enable = true;
setSocketVariable = true;
};
}

View file

@ -77,7 +77,7 @@ AttrKeyboardIntegration=internal";
# macropad
ACTION=="add", ATTRS{idVendor}="32ac", ATTRS{idProduct}="0013", ATTR{power/wakeup}="disabled"
#
ACTION=="add", ATTRS{idVendor}="32ac", ATTRS{idProduct}="", ATTR{power/wakeup}="disabled"
# ACTION=="add", ATTRS{idVendor}="32ac", ATTRS{idProduct}="", ATTR{power/wakeup}="disabled"
'';
boot.kernelPackages = pkgs.linuxPackages_latest;

3
systems/NOriscv.nix Normal file
View file

@ -0,0 +1,3 @@
{lib, ...}: {
nixpkgs.hostPlatform = "riscv64";
}

View file

@ -1,7 +1,7 @@
task
alias xo = xdg-open
alias h = hx (sk)
# alias h = hx (sk)
alias b = btm
alias cringe = sudo bootctl set-oneshot auto-windows
alias fetch = fastfetch
@ -10,13 +10,21 @@ alias pu = pueue
alias t = task
alias zl = zellij
alias snapper = snapper -c home
alias quiet = sudo ectool fanduty 42
alias quiet = sudo ectool fanduty 30
alias loud = sudo ectool autofanctrl
alias jd = jj diff
alias jc = jj desc
alias js = jj status
alias jp = jj git push
alias jm = jj branch set main
def h [] {
sk | complete |
if $in.exit_code == 0 {
$in.stdout | str trim | hx $in
}
}
def --env c [path: path = "~"] {
cd $path
l
@ -37,7 +45,7 @@ def l [
}
| sort-by type name -i -n
}
def srg [pattern] {
def srg [] {
sk --ansi -i -c 'rg --color=always --line-number "{}"'
}
alias nd = nix develop