Kernel modules troubleshoot

This commit is contained in:
2025-10-27 07:40:22 +00:00
parent 6f84bdefb4
commit 24a211330a
16 changed files with 350 additions and 106 deletions
+35
View File
@@ -0,0 +1,35 @@
# manages and downloads films
{
config,
lib,
pkgs,
...
}:
let
cfg = config.my.profiles.audiobookshelf;
in
{
options.my.profiles.actual = with lib; {
enable = mkEnableOption "Audio Book Service";
};
config = lib.mkIf cfg.enable {
services.actual = {
enable = true;
openFirewall = true;
settings = {
port = 40465;
hostname = "0.0.0.0";
};
};
environment.systemPackages = with pkgs; [
actual-server
];
systemd.services.actual = {
after = [ "network-online.target" ];
};
};
}
@@ -0,0 +1,33 @@
# manages and downloads films
{
config,
lib,
pkgs,
...
}:
let
cfg = config.my.profiles.audiobookshelf;
in
{
options.my.profiles.audiobookshelf = with lib; {
enable = mkEnableOption "Audio Book Service";
};
config = lib.mkIf cfg.enable {
services.audiobookshelf = {
enable = true;
openFirewall = true;
port = 63834;
host = "0.0.0.0";
};
environment.systemPackages = with pkgs; [
audiobookshelf
];
systemd.services.audiobookshelf = {
after = [ "network-online.target" ];
};
};
}
+2
View File
@@ -1,7 +1,9 @@
{ ... }:
{
imports = [
./actual
./apps
./audiobookshelf
./development
./hyprland
./zsh
+1 -1
View File
@@ -18,7 +18,7 @@ in
google-chrome
vscode
neovim
jetbrains.idea-ultimate
# jetbrains.idea-ultimate
go
(python3.withPackages (
ps: with ps; [
+4 -4
View File
@@ -14,14 +14,14 @@ in
};
config = lib.mkIf cfg.enable {
services.xserver = {
enable = true;
services = {
displayManager.sddm.enable = true;
desktopManager.plasma5.enable = true;
displayManager.sddm.wayland.enable = true;
desktopManager.plasma6.enable = true;
};
users.users.finn.packages = with pkgs; [
# Programms can be added here...
numix-icon-theme
];
};
}
}
+1 -3
View File
@@ -28,10 +28,8 @@ in
services.paperless = {
enable = true;
address = "0.0.0.0";
dataDir = "/home/finn/documents/paperless";
#inherit (cfg) port extraConfig;
port = cfg.port;
extraConfig = cfg.extraConfig;
# settings = cfg.extraConfig;
};
networking.firewall.allowedTCPPorts = [ cfg.port ];
};