Compare commits
2 commits
d6f2c33a09
...
131c18230a
Author | SHA1 | Date | |
---|---|---|---|
fruchti | 131c18230a | ||
fruchti | f678ad57f8 |
|
@ -38,7 +38,7 @@
|
|||
xsel
|
||||
];
|
||||
|
||||
fonts.fonts = with pkgs; [
|
||||
fonts.packages = with pkgs; [
|
||||
vollkorn
|
||||
alegreya alegreya-sans
|
||||
b612
|
||||
|
|
|
@ -21,6 +21,24 @@ in
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.kernelParams = [ "acpi=force" "reboot=bios" ];
|
||||
|
||||
boot.initrd.kernelModules = [ "i915" ];
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
||||
};
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
(if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then vaapiIntel else intel-vaapi-driver)
|
||||
libvdpau-va-gl
|
||||
vaapiVdpau
|
||||
# intel-media-driver
|
||||
];
|
||||
};
|
||||
environment.variables = {
|
||||
VDPAU_DRIVER = "va_gl";
|
||||
};
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
|
||||
networking.hostName = "Rupert";
|
||||
|
||||
users.users = {
|
||||
|
@ -56,6 +74,7 @@ in
|
|||
services.flatpak.enable = true;
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
xdg.portal.enable = true;
|
||||
xdg.portal.config.common.default = "*";
|
||||
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
|
|
|
@ -5,7 +5,6 @@ in
|
|||
{
|
||||
services.hedgedoc = {
|
||||
enable = true;
|
||||
workDir = "/data/hedgedoc";
|
||||
environmentFile = "/secrets/hedgedoc.env";
|
||||
settings = {
|
||||
port = 7000;
|
||||
|
|
|
@ -6,7 +6,7 @@ in
|
|||
services.nextcloud = {
|
||||
enable = true;
|
||||
https = true;
|
||||
package = pkgs.nextcloud26;
|
||||
package = pkgs.nextcloud27;
|
||||
hostName = hostName;
|
||||
datadir = "/data/nextcloud";
|
||||
config = {
|
||||
|
@ -19,7 +19,6 @@ in
|
|||
];
|
||||
};
|
||||
caching.redis = true;
|
||||
enableBrokenCiphersForSSE = false;
|
||||
};
|
||||
|
||||
services.postgresql = {
|
||||
|
@ -27,16 +26,14 @@ in
|
|||
ensureUsers = [
|
||||
{
|
||||
name = "nextcloud";
|
||||
ensurePermissions = {
|
||||
"DATABASE nextcloud" = "ALL PRIVILEGES";
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "superuser";
|
||||
ensurePermissions = {
|
||||
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
|
||||
};
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
# {
|
||||
# name = "superuser";
|
||||
# ensurePermissions = {
|
||||
# "ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
|
||||
# };
|
||||
# }
|
||||
];
|
||||
ensureDatabases = [ "nextcloud" ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue