This commit is contained in:
mjallen18
2024-12-12 13:00:21 -06:00
parent cd286b89b0
commit c259cb91de
7 changed files with 83 additions and 339 deletions

View File

@@ -4,7 +4,6 @@ let
in
{
imports = [
../modules
../share
];

View File

@@ -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
];

View File

@@ -1,6 +1,7 @@
{ config, ... }:
{
imports = [
../../modules
# ../../modules/apps/caddy
../../modules/apps/jellyfin/jellyfin.nix
../../modules/apps/paperless

View File

@@ -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"
];
};
};