docker
This commit is contained in:
parent
3d202d60f0
commit
54fb7f4245
4 changed files with 24 additions and 4 deletions
|
|
@ -83,4 +83,13 @@
|
||||||
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
||||||
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
|
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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ AttrKeyboardIntegration=internal";
|
||||||
# macropad
|
# macropad
|
||||||
ACTION=="add", ATTRS{idVendor}="32ac", ATTRS{idProduct}="0013", ATTR{power/wakeup}="disabled"
|
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;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
|
||||||
3
systems/NOriscv.nix
Normal file
3
systems/NOriscv.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
nixpkgs.hostPlatform = "riscv64";
|
||||||
|
}
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
task
|
task
|
||||||
|
|
||||||
alias xo = xdg-open
|
alias xo = xdg-open
|
||||||
alias h = hx (sk)
|
# alias h = hx (sk)
|
||||||
alias b = btm
|
alias b = btm
|
||||||
alias cringe = sudo bootctl set-oneshot auto-windows
|
alias cringe = sudo bootctl set-oneshot auto-windows
|
||||||
alias fetch = fastfetch
|
alias fetch = fastfetch
|
||||||
|
|
@ -10,13 +10,21 @@ alias pu = pueue
|
||||||
alias t = task
|
alias t = task
|
||||||
alias zl = zellij
|
alias zl = zellij
|
||||||
alias snapper = snapper -c home
|
alias snapper = snapper -c home
|
||||||
alias quiet = sudo ectool fanduty 42
|
alias quiet = sudo ectool fanduty 30
|
||||||
alias loud = sudo ectool autofanctrl
|
alias loud = sudo ectool autofanctrl
|
||||||
alias jd = jj diff
|
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 branch set main
|
||||||
|
|
||||||
|
def h [] {
|
||||||
|
sk | complete |
|
||||||
|
if $in.exit_code == 0 {
|
||||||
|
$in.stdout | str trim | hx $in
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
def --env c [path: path = "~"] {
|
def --env c [path: path = "~"] {
|
||||||
cd $path
|
cd $path
|
||||||
l
|
l
|
||||||
|
|
@ -37,7 +45,7 @@ def l [
|
||||||
}
|
}
|
||||||
| sort-by type name -i -n
|
| sort-by type name -i -n
|
||||||
}
|
}
|
||||||
def srg [pattern] {
|
def srg [] {
|
||||||
sk --ansi -i -c 'rg --color=always --line-number "{}"'
|
sk --ansi -i -c 'rg --color=always --line-number "{}"'
|
||||||
}
|
}
|
||||||
alias nd = nix develop
|
alias nd = nix develop
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue