added fwscripts
This commit is contained in:
1 parent
51f15e0652
commit
5c4edfb283
2 files changed
+16
No files matched your search
Executable
+8
@@ -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
|
||||
}
|
||||
@@ -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}
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user