added fwscripts

This commit is contained in:
ari committed 2024-05-29 15:24:58 -04:00
1 parent 51f15e0652
commit 5c4edfb283
2 files changed
+16

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
function restart-wifi {
echo "Removing mod for wifi module..."
sudo rmmod mt7921e
echo "Reloading mod for wifi module..."
sudo modprobe mt7921e
}
+8
View File
@@ -2,6 +2,10 @@
, dataDir ? "/mnt/Data"
}:
{ pkgs, lib, ... }:
let
zshFWBook = builtins.filterSource (p: t: true) ../configs/fwbook;
zshFunctions = zshFWBook + "/functions.sh";
in
{
imports =
[
@@ -69,4 +73,8 @@
rocmPackages.clr.icd
amdvlk
];
# Add Functions
home-manager.users.${user.name}.programs.zsh.initExtra = ''
source ${zshFunctions}
'';
}