enable kodi on wheatley, do some updates to stylix

This commit is contained in:
Lillian Violet 2025-03-19 21:45:06 +01:00
parent fa80e8ac67
commit 09f80f1e4f
6 changed files with 25 additions and 37 deletions

View file

@ -83,6 +83,7 @@
}; };
image = ./background.jpg; image = ./background.jpg;
cursor.package = pkgs.catppuccin-cursors; cursor.package = pkgs.catppuccin-cursors;
cursor.name = "macchiatoMauve"; cursor.name = "catppuccin-macchiato-mauve-cursors";
cursor.size = 16;
}; };
} }

View file

@ -35,7 +35,6 @@
git_branch.style = "bold blue"; git_branch.style = "bold blue";
directory.style = "bold blue"; directory.style = "bold blue";
direnv.disabled = false; direnv.disabled = false;
palette = "catppuccin_${flavor}";
} }
// builtins.fromTOML (builtins.readFile // builtins.fromTOML (builtins.readFile
(pkgs.fetchFromGitHub (pkgs.fetchFromGitHub

View file

@ -141,7 +141,7 @@
wayland.enable = true; wayland.enable = true;
}; };
displayManager.defaultSession = "plasma"; displayManager.defaultSession = "plasma";
desktopManager.plasma6.enable = true; xserver.desktopManager.plasma5.enable = true;
# Enable flatpak support # Enable flatpak support
flatpak.enable = true; flatpak.enable = true;
@ -212,6 +212,7 @@
# Virtual Microphone, built-in # Virtual Microphone, built-in
"snd-aloop" "snd-aloop"
]; ];
# Set initial kernel module settings # Set initial kernel module settings
extraModprobeConfig = '' extraModprobeConfig = ''
# exclusive_caps: Skype, Zoom, Teams etc. will only show device when actually streaming # exclusive_caps: Skype, Zoom, Teams etc. will only show device when actually streaming

View file

@ -99,7 +99,6 @@
}; };
rpcSecretFile = config.sops.secrets."rpcSecret".path; rpcSecretFile = config.sops.secrets."rpcSecret".path;
}; };
dnsmasq = { dnsmasq = {
enable = true; enable = true;
settings = { settings = {
@ -107,6 +106,7 @@
}; };
}; };
}; };
sops = { sops = {
# users.users = { # users.users = {
# ombi.extraGroups = ["radarr" "sonarr" "aria2"]; # ombi.extraGroups = ["radarr" "sonarr" "aria2"];
@ -312,41 +312,26 @@
type = "davfs"; type = "davfs";
} }
]; ];
users = {
users.aria2 = {
# #uses port 8096
# services.jellyfin.enable = true;
# users.groups.jellyfinmediaplayer = {};
# users.users.jellyfinmediaplayer.group = "jellyfinmediaplayer";
# users.users.jellyfin.extraGroups = ["jellyfinmediaplayer"];
# # Add stremio kiosk on wayland :)
# users.extraUsers.jellyfinmediaplayer.isNormalUser = true;
# services.cage.user = "jellyfinmediaplayer";
# services.cage.program = "${pkgs.jellyfin-media-player}/bin/jellyfinmediaplayer";
# services.cage.enable = true;
# services.cage.extraArguments = ["-f"];
group = "aria2";
isSystemUser = true;
};
groups.aria2 = {};
};
environment.systemPackages = [ environment.systemPackages = [
# (pkgs.kodi.withPackages (kodiPkgs: (pkgs.kodi.withPackages (kodiPkgs:
# with kodiPkgs; [ with kodiPkgs; [
# steam-controller steam-controller
# invidious invidious
# netflix netflix
# upnext upnext
# sponsorblock sponsorblock
# sendtokodi sendtokodi
# jellyfin jellyfin
# ])) ]))
pkgs.iptables pkgs.iptables
]; ];
users.extraUsers.kodi.isNormalUser = true;
services.cage.user = "kodi";
services.cage.program = "${pkgs.kodi-wayland}/bin/kodi-standalone";
services.cage.enable = true;
system.stateVersion = "25.05"; system.stateVersion = "25.05";
nixpkgs.hostPlatform = lib.mkForce "aarch64-linux"; nixpkgs.hostPlatform = lib.mkForce "aarch64-linux";
} }

View file

@ -3,7 +3,7 @@
sops.secrets."mailpass".owner = config.users.users.virtualMail.name; sops.secrets."mailpass".owner = config.users.users.virtualMail.name;
#Fix for the dovecot update #Fix for the dovecot update
services.dovecot2.sieve.extensions = ["fileinto"]; # services.dovecot2.sieve.extensions = ["fileinto"];
mailserver = { mailserver = {
enable = true; enable = true;

View file

@ -70,8 +70,8 @@
catppuccin = { catppuccin = {
flavor = "macchiato"; flavor = "macchiato";
tty.enable = true; tty.enable = true;
sddm.enable = true; # sddm.enable = true;
sddm.flavor = "macchiato"; # sddm.flavor = "macchiato";
forgejo.enable = true; forgejo.enable = true;
forgejo.flavor = "macchiato"; forgejo.flavor = "macchiato";
# plymouth.enable = false; # plymouth.enable = false;
@ -89,6 +89,7 @@
stylix = { stylix = {
enable = true; enable = true;
# targets.qt.platform = "kde6";
autoEnable = true; autoEnable = true;
base16Scheme = { base16Scheme = {
scheme = "Catppuccin Macchiato"; scheme = "Catppuccin Macchiato";
@ -113,6 +114,7 @@
image = ./background.jpg; image = ./background.jpg;
cursor.package = pkgs.catppuccin-cursors.macchiatoMauve; cursor.package = pkgs.catppuccin-cursors.macchiatoMauve;
cursor.name = "catppuccin-macchiato-mauve-cursors"; cursor.name = "catppuccin-macchiato-mauve-cursors";
cursor.size = 16;
homeManagerIntegration.followSystem = true; homeManagerIntegration.followSystem = true;
fonts = { fonts = {
serif = { serif = {