upd
This commit is contained in:
@@ -4,7 +4,6 @@ let
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../modules
|
||||
../share
|
||||
];
|
||||
|
||||
|
||||
@@ -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
|
||||
];
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
imports = [
|
||||
../../modules
|
||||
# ../../modules/apps/caddy
|
||||
../../modules/apps/jellyfin/jellyfin.nix
|
||||
../../modules/apps/paperless
|
||||
|
||||
@@ -147,6 +147,13 @@ in
|
||||
|
||||
permittedInsecurePackages = [
|
||||
# ...
|
||||
"authentik-2024.6.4" # todo: remove these
|
||||
"python3.12-authentik-django-2024.6.4"
|
||||
"authentik-webui-2024.6.4"
|
||||
"authentik-client-api-2024.6.4"
|
||||
"authentik-website-2024.6.4"
|
||||
"authentik-proxy-2024.6.4"
|
||||
"aspnetcore-runtime-wrapped-6.0.36"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user