migrated channel 24.05 to unstable

This commit is contained in:
2024-10-27 17:10:31 -06:00
parent 6b6b7e39b1
commit 37aa35daed
22 changed files with 131 additions and 557 deletions

View File

@@ -27,10 +27,9 @@
gamemode # optimizes linux to have better gaming performance
heroic # install epic games
protonup-qt # update proton-ge
# minecraft # minecraft official launcher
ns-usbloader # load games into my switch
grapejuice # roblox manager
(callPackage ../../pkgs/polymc/default.nix { }) # minecraft launcher
# minecraft # minecraft official launcher
# emulators
rpcs3 # ps3

View File

@@ -11,7 +11,7 @@
environment.variables.PYTHONSTARTUP = "\${XDG_CONFIG_HOME}/python/pythonrc";
users.users.jawz.packages = with pkgs; [
pipenv # python development workflow for humans
nodePackages.pyright # LSP
pyright # LSP
(python3.withPackages (
ps: with ps; [
black # Python code formatter

View File

@@ -4,8 +4,6 @@ let
setup = import ./setup.nix { inherit lib config; };
in
{
disabledModules = [ "services/web-apps/mealie.nix" ];
imports = [ ../../pkgs/mealie-service.nix ];
options.my.servers.mealie = setup.mkOptions "mealie" "mealie" 9925;
config = {
networking.firewall.allowedTCPPorts = lib.mkIf (!cfg.isLocal) [ cfg.port ];

View File

@@ -43,7 +43,7 @@ in
mediainfo
nodejs
perl
(python3.withPackages (ps: with ps; [ tensorflow ]))
(python311.withPackages (ps: with ps; [ tensorflow ]))
(perlPackages.buildPerlPackage rec {
pname = "Image-ExifTool";
version = "12.70";
@@ -84,7 +84,6 @@ in
adminpassFile = config.sops.secrets.nextcloud-adminpass.path;
dbtype = "pgsql";
dbhost = config.my.postgresSocket;
dbtableprefix = "oc_";
dbname = "nextcloud";
};
phpOptions = {
@@ -134,7 +133,10 @@ in
"OC\\Preview\\Movie"
];
};
# phpExtraExtensions = all: [ all.pdlib all.bz2 ];
phpExtraExtensions = all: [
all.pdlib
all.bz2
];
};
nginx.virtualHosts = {
"${config.services.nextcloud.hostName}" = lib.mkIf cfg.enableProxy {

View File

@@ -4,8 +4,6 @@ let
setup = import ./setup.nix { inherit lib config; };
in
{
disabledModules = [ "services/web-apps/shiori.nix" ];
imports = [ ../../pkgs/shiori-service.nix ];
options.my.servers.shiori = setup.mkOptions "shiori" "bookmarks" 4368;
config = lib.mkIf (config.my.servers.shiori.enable && config.my.servers.postgres.enable) {
networking.firewall.allowedTCPPorts = lib.mkIf (!cfg.isLocal) [ cfg.port ];

View File

@@ -10,10 +10,9 @@
boot.kernelParams = lib.mkIf (config.networking.hostName == "workstation") [ "nvidia-drm.fbdev=1" ];
services.xserver.videoDrivers = [ "nvidia" ];
hardware = {
opengl = {
graphics = {
enable = true;
driSupport = true;
driSupport32Bit = true;
enable32Bit = true;
extraPackages = with pkgs; [
nvidia-vaapi-driver
vaapiVdpau

View File

@@ -13,7 +13,7 @@ in
{
options.my.services.printing.enable = lib.mkEnableOption "enable";
config = lib.mkIf config.my.services.printing.enable {
users.users.jawz.packages = [ pkgs.gnome.simple-scan ];
users.users.jawz.packages = [ pkgs.simple-scan ];
services.printing = {
enable = true;
drivers = printingDrivers;

View File

@@ -10,7 +10,6 @@
config = lib.mkIf config.my.services.sound.enable {
hardware.pulseaudio.enable = false;
security.rtkit.enable = true; # make pipewire realtime-capable
sound.enable = false;
services.pipewire = {
enable = true;
alsa.enable = true;