NixOS 24.11

This commit is contained in:
ari committed 2024-12-03 12:45:35 -05:00
1 parent b70c1fa751
commit ff137d6ca1
9 files changed
+36 -36

No files matched your search

+4 -4
View File
@@ -40,8 +40,8 @@
alacritty = {
enable = true;
settings = {
import = [
"${pkgs.alacritty-theme}/nord.toml"
general.import = [
"${pkgs.alacritty-theme}/ayu_dark.toml"
];
window = {
title = "Terminal";
@@ -52,12 +52,12 @@
bold = { family = "Fira Code"; style = "Bold"; };
italic = { family = "Fira Code"; style = "Italic"; };
};
shell = {
terminal.shell = {
program = "/home/${user.name}/.nix-profile/bin/zsh";
args = [
"-l"
"-c"
"tmux attach || tmux"
"tmux"
];
};
};
+4
View File
@@ -14,6 +14,9 @@
# system utils
nfs-utils
lm_sensors
hwinfo
dig
# misc
glib-networking
@@ -22,6 +25,7 @@
# printer
system-config-printer
];
services.xserver.excludePackages = with pkgs; [
xterm
-1
View File
@@ -12,7 +12,6 @@ in
config = lib.mkIf cfg.enable {
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
+5 -7
View File
@@ -1,7 +1,5 @@
{ config, lib, ... }:
with lib;
let
cfg = config.skyg.nixos.server.services.jellyfin;
user = "jellyfin";
@@ -10,12 +8,12 @@ in
{
options = {
skyg.nixos.server.services.jellyfin = {
enable = mkEnableOption
enable = lib.mkEnableOption
"Enable Jellyfish";
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
users.users.${user} = {
uid = 7777;
isSystemUser = true;
@@ -33,9 +31,9 @@ in
services.jellyfin = {
inherit user group;
enable = true;
dataDir = "/mnt/apps/jellyfin/data";
cacheDir = "/mnt/apps/jellyfin/cache";
configDir = "/mnt/apps/jellyfin/config";
dataDir = "/mnt/apps/jellyfin/data";
cacheDir = "/mnt/apps/jellyfin/cache";
configDir = "/mnt/apps/jellyfin/config";
openFirewall = true;
};
fileSystems."/mnt/apps/jellyfin" = {