This commit is contained in:
Shelvacu
2024-07-25 17:40:04 -07:00
parent 0354a47c12
commit 0d20e797ba
4 changed files with 17 additions and 1 deletions

View File

@@ -13,6 +13,17 @@ in {
set -x
mosh -- $1 sudo screen -Rd
'')
(writeScriptBin "rmln" ''
set -eo pipefail
for arg in "$@"; do
if [[ "$arg" != "-*" ]] && [[ ! -L "$arg" ]]; then
echo "$0: $arg is not a symlink" 1>&2
exit 1
fi
done
rm $@
'')
(writeShellFunction "nd" ''
declare -a args
args=("$@")

4
fw/android.nix Normal file
View File

@@ -0,0 +1,4 @@
{ pkgs, ... }: {
vacu.packages = [ pkgs.android-stufio ];
users.users.shelvacu.extraGroups = [ "kvm" ];
}

View File

@@ -3,6 +3,7 @@
../common/nixos.nix
inputs.nixos-hardware.nixosModules.framework-16-7040-amd
./apex.nix
./android.nix
];
#boot.loader.grub.configurationLimit = 5;
system.nixos.tags = [ "host-${config.networking.hostName}" ];

View File

@@ -35,7 +35,7 @@
services.xserver.enable = false;
environment.systemPackages = with pkgs; [
vacu.packages = with pkgs; [
zfs
smartmontools
openvpn