Compare commits
No commits in common. "2b20a876cd78a3da7d25b62c49bc40bc69aafd26" and "7cb1b981ca7df030c29e6582d9efbb7e0b8cd38d" have entirely different histories.
2b20a876cd
...
7cb1b981ca
7 changed files with 16 additions and 57 deletions
|
@ -1,29 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.custom.containers.owncast;
|
|
||||||
in {
|
|
||||||
options.custom.containers.owncast.enable = mkOption {default = false;};
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
#?? arion-owncast pull
|
|
||||||
environment.shellAliases.arion-owncast = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.owncast.settings.out.dockerComposeYaml}";
|
|
||||||
|
|
||||||
virtualisation.arion.projects.owncast.settings.services = {
|
|
||||||
owncast.service = {
|
|
||||||
container_name = "owncast";
|
|
||||||
image = "owncast/owncast:0.1.3";
|
|
||||||
restart = "unless-stopped";
|
|
||||||
volumes = ["${config.custom.containers.directory}/owncast/data:/app/data"];
|
|
||||||
|
|
||||||
ports = [
|
|
||||||
"1935:1935"
|
|
||||||
"127.0.0.1:8800:8080"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -10,23 +10,17 @@ in {
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# https://github.com/direnv/direnv
|
# https://github.com/direnv/direnv
|
||||||
programs.direnv =
|
programs.direnv = {
|
||||||
{
|
enable = true;
|
||||||
enable = true;
|
loadInNixShell = false; # nix develop
|
||||||
loadInNixShell = false; # nix develop
|
silent = true;
|
||||||
}
|
};
|
||||||
// optionalAttrs (versionAtLeast version "24.11") {
|
|
||||||
silent = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager.users.${config.custom.username} = {
|
home-manager.users.${config.custom.username} = {
|
||||||
programs.direnv =
|
programs.direnv = {
|
||||||
{
|
enable = true;
|
||||||
enable = true;
|
silent = true;
|
||||||
}
|
};
|
||||||
// optionalAttrs (versionAtLeast version "24.11") {
|
|
||||||
silent = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,15 +23,13 @@ in {
|
||||||
services = {
|
services = {
|
||||||
gvfs.enable = true; # Trash dependency
|
gvfs.enable = true; # Trash dependency
|
||||||
|
|
||||||
gnome =
|
gnome = {
|
||||||
{
|
sushi.enable = true; # Quick preview with spacebar
|
||||||
sushi.enable = true; # Quick preview with spacebar
|
|
||||||
}
|
# File indexing
|
||||||
// optionalAttrs (versionAtLeast version "24.11") {
|
localsearch.enable = cfg.index;
|
||||||
# File indexing
|
tinysparql.enable = cfg.index;
|
||||||
localsearch.enable = cfg.index;
|
};
|
||||||
tinysparql.enable = cfg.index;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Alternative fix to services.gnome.core-utilities.enable
|
# Alternative fix to services.gnome.core-utilities.enable
|
||||||
|
|
|
@ -11,7 +11,5 @@ in {
|
||||||
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
|
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
|
||||||
# https://github.com/obsproject/obs-studio
|
# https://github.com/obsproject/obs-studio
|
||||||
programs.obs-studio.enable = true;
|
programs.obs-studio.enable = true;
|
||||||
|
|
||||||
xdg.configFile."obs-studio".source = config.home-manager.users.${config.custom.username}.lib.file.mkOutOfStoreSymlink "${config.custom.sync}/common/config/obs-studio";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,6 @@ in {
|
||||||
"application/x-shellscript" = gnome-text-editor;
|
"application/x-shellscript" = gnome-text-editor;
|
||||||
"application/x-trash" = gnome-text-editor;
|
"application/x-trash" = gnome-text-editor;
|
||||||
"application/x-xpinstall" = gnome-text-editor;
|
"application/x-xpinstall" = gnome-text-editor;
|
||||||
"application/x-wine-extension-ini" = gnome-text-editor;
|
|
||||||
"application/xhtml_xml" = gnome-text-editor;
|
"application/xhtml_xml" = gnome-text-editor;
|
||||||
"application/xhtml+xml" = gnome-text-editor;
|
"application/xhtml+xml" = gnome-text-editor;
|
||||||
"application/xml" = gnome-text-editor;
|
"application/xml" = gnome-text-editor;
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
mastodon.enable = true;
|
mastodon.enable = true;
|
||||||
netbox.enable = true;
|
netbox.enable = true;
|
||||||
nextcloud.enable = true;
|
nextcloud.enable = true;
|
||||||
owncast.enable = true;
|
|
||||||
redlib.enable = true;
|
redlib.enable = true;
|
||||||
searxng.enable = true;
|
searxng.enable = true;
|
||||||
};
|
};
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue