1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

Update to 23.11

Update to 23.11, updating nextcloud to version 27
This commit is contained in:
Stefan Ellmauthaler 2023-12-18 15:57:38 +01:00
parent 0b79367c3a
commit df41713399
Failed to extract signature
6 changed files with 18 additions and 19 deletions

16
flake.lock generated
View File

@ -194,16 +194,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1702195668, "lastModified": 1702814678,
"narHash": "sha256-Lxmjez0nfNBptdqV5GsXKm7Bb7swjGsrxiLxWJu0tL8=", "narHash": "sha256-zDtO0jV2QLoddUJinLlTQrQqCUW3dPiIWOSYgg98T7E=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "33110fb3c7fe6a94b98b641866a5eddb64b7c23f", "rev": "1488651d02c1a7a15e284210f0d380a62d8d8cef",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-23.05", "ref": "release-23.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -393,16 +393,16 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1702759837, "lastModified": 1702780907,
"narHash": "sha256-u3XeJVRe/Q975nwFE+6ALEwypMKJEELMJKDAhSKyq3M=", "narHash": "sha256-blbrBBXjjZt6OKTcYX1jpe9SRof2P9ZYWPzq22tzXAA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b2566f4f897ac6224e094b167d9488d03e157f28", "rev": "1e2e384c5b7c50dbf8e9c441a9e58d85f408b01f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-23.05", "ref": "nixos-23.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View File

@ -2,7 +2,7 @@
description = "Flake to define configurations of 'elss' - ellmauthaler stefan's systems"; description = "Flake to define configurations of 'elss' - ellmauthaler stefan's systems";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
#nix = { #nix = {
@ -14,7 +14,7 @@
nixos-hardware = {url = "github:NixOS/nixos-hardware/master";}; nixos-hardware = {url = "github:NixOS/nixos-hardware/master";};
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-23.05"; url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View File

@ -12,8 +12,8 @@ with lib; {
i18n.defaultLocale = "en_GB.UTF-8"; i18n.defaultLocale = "en_GB.UTF-8";
fonts = { fonts = {
enableDefaultFonts = true; enableDefaultPackages = true;
fonts = with pkgs; [ packages = with pkgs; [
hasklig hasklig
# corefonts # not free # corefonts # not free
liberation_ttf liberation_ttf

View File

@ -12,10 +12,9 @@ with lib; {
elss.server.sql.enable = mkDefault true; elss.server.sql.enable = mkDefault true;
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
package = pkgs.nextcloud26; package = pkgs.nextcloud27;
hostName = "cloudstore.ellmauthaler.net"; hostName = "cloudstore.ellmauthaler.net";
https = true; https = true;
enableBrokenCiphersForSSE = false;
config = { config = {
dbtype = "pgsql"; dbtype = "pgsql";
dbuser = "nextcloud"; dbuser = "nextcloud";

View File

@ -16,7 +16,7 @@ with lib; {
ensureUsers = [ ensureUsers = [
{ {
name = "nextcloud"; name = "nextcloud";
ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES"; ensureDBOwnership = true;
} }
]; ];
authentication = '' authentication = ''

View File

@ -19,9 +19,9 @@
''; '';
shellAliases = { shellAliases = {
cp = "cp -i"; cp = "cp -i";
ls = "exa --icons --git"; ls = "eza --icons --git";
ll = "exa --long --icons --binary --group"; ll = "eza --long --icons --binary --group";
llg = "exa --long --icons --grid --binary --group"; llg = "eza --long --icons --grid --binary --group";
lal = "ll --all"; lal = "ll --all";
lla = "ll --all"; lla = "ll --all";
emacsc = "emacsclient -n"; emacsc = "emacsclient -n";
@ -51,7 +51,7 @@
config = {theme = "ansi";}; config = {theme = "ansi";};
}; };
exa = { eza = {
enable = true; enable = true;
enableAliases = false; enableAliases = false;
}; };