From bf35d77d6619eacce8d1b5ffad672b0b13075cc5 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 17 Aug 2026 21:02:43 +0100 Subject: [PATCH] Downgrade nextcloud --- flake.lock | 17 +++++++++++++++++ flake.nix | 9 +++++++++ home/packages.nix | 4 ++-- system/boot.nix | 1 - 4 files changed, 28 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 4410a7a..90db1e8 100644 --- a/flake.lock +++ b/flake.lock @@ -302,6 +302,22 @@ "type": "github" } }, + "nixpkgs-stable": { + "locked": { + "lastModified": 1751274312, + "narHash": "sha256-/bVBlRpECLVzjV19t5KMdMFWSwKLtb5RyXdjz3LJT+g=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "50ab793786d9de88ee30ec4e4c24fb4236fc2674", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1764242076, @@ -423,6 +439,7 @@ "nix-gaming": "nix-gaming", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_6", + "nixpkgs-stable": "nixpkgs-stable", "psysonic": "psysonic", "try-cli": "try-cli", "voxtype": "voxtype", diff --git a/flake.nix b/flake.nix index e0bcf67..ca17530 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11"; nix-gaming.url = "github:fufexan/nix-gaming"; disko.url = "github:nix-community/disko/latest"; impermanence.url = "github:nix-community/impermanence"; @@ -45,6 +46,7 @@ outputs = { self, nixpkgs, + nixpkgs-stable, nix-gaming, impermanence, disko, @@ -59,6 +61,10 @@ inherit system; config.allowUnfree = true; }; + pkgs-stable = import nixpkgs-stable { + inherit system; + config.allowUnfree = true; + }; nix-gaming = inputs.nix-gaming.packages.${system}; mkHost = hostname: nixpkgs.lib.nixosSystem { @@ -74,6 +80,7 @@ users.chris = import ./home; extraSpecialArgs = { inherit inputs; + inherit pkgs-stable; inherit impermanence; inherit hostname; }; @@ -82,6 +89,7 @@ ]; specialArgs = { inherit inputs; + inherit pkgs-stable; inherit impermanence; inherit disko; inherit hostname; @@ -100,6 +108,7 @@ inherit pkgs; extraSpecialArgs = { inherit inputs; + inherit pkgs-stable; inherit impermanence; }; modules = [ diff --git a/home/packages.nix b/home/packages.nix index a58717a..d20f12b 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -1,4 +1,4 @@ -{ pkgs, inputs, nix-direnv, ... }: +{ pkgs, pkgs-stable, inputs, nix-direnv, ... }: let # krita-appimage = pkgs.callPackage ../packages/krita.nix { }; @@ -43,7 +43,7 @@ in atlauncher # Minecraft launcher mpv # Video player nautilus # Document viewer - nextcloud-client # Nextcloud sync client + pkgs-stable.nextcloud-client # Nextcloud sync client obsidian # Notes software inputs.psysonic.packages.${pkgs.system}.default # Music player signal-desktop # Messaging diff --git a/system/boot.nix b/system/boot.nix index 12c60ec..977ea34 100644 --- a/system/boot.nix +++ b/system/boot.nix @@ -57,7 +57,6 @@ in "splash" "video=DP-1:3840x2160@60" "video=DP-2:3840x2160@60" - "amdgpu.pcie_gen_cap=0x40000" ]; resumeDevice = "/dev/disk/by-partlabel/disk-${hostname}-root"; kernel.sysctl = {