upd
This commit is contained in:
@@ -14,18 +14,6 @@ let
|
||||
passwordFile = config.sops.secrets."desktop/matt_password".path;
|
||||
hostname = "matt-nixos";
|
||||
|
||||
resetNetworkScript = pkgs.writeScriptBin "reset-network" ''
|
||||
#!/usr/bin/env bash
|
||||
echo "checking network..."
|
||||
if nmcli -t -f STATE general | grep -q "connected"; then
|
||||
exit 0
|
||||
else
|
||||
echo "resetting network..."
|
||||
echo 1 | tee /sys/bus/pci/devices/0000\:09\:00.0/reset
|
||||
rmmod iwlwifi
|
||||
modprobe iwlwifi
|
||||
fi
|
||||
'';
|
||||
fixWifiScript = pkgs.writeScriptBin "fix-wifi" ''
|
||||
#!/usr/bin/env python3
|
||||
|
||||
@@ -105,6 +93,7 @@ in
|
||||
{
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
../../modules/apps/discover-wrapped
|
||||
./hardware-configuration.nix
|
||||
./boot.nix
|
||||
./filesystems.nix
|
||||
@@ -113,7 +102,7 @@ in
|
||||
../../share/amd
|
||||
# specialisations
|
||||
# ./cosmic
|
||||
./hyprland
|
||||
# ./hyprland
|
||||
./gnome
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user