From 2f9175860ef1d5a6095204eaf1dfce0414ebe135 Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Sun, 24 Nov 2024 22:26:46 -0700 Subject: [PATCH] Go back to unstable with pinned libreoffice (thanks hydra cache server or whatever) --- flake.lock | 69 +++++++++++++++++++------------ flake.nix | 8 ++-- home-manager/modules/packages.nix | 4 +- 3 files changed, 50 insertions(+), 31 deletions(-) diff --git a/flake.lock b/flake.lock index 02282b0..f23a42b 100755 --- a/flake.lock +++ b/flake.lock @@ -25,11 +25,11 @@ }, "locked": { "dir": "/pkgs/firefox-addons", - "lastModified": 1732398293, - "narHash": "sha256-OaO0TA1ydBPcaJmQHjfgY01RdoNGQ6f5Yq8Ng11m844=", + "lastModified": 1732479769, + "narHash": "sha256-barZy95JsQt4G9EDZ7RNrjgTneelXXfSzRLJJvokjsI=", "owner": "rycee", "repo": "nur-expressions", - "rev": "205947bac77611261b32113bb54df0668b2acf98", + "rev": "80bf66046d8b8624c5991a0c8e512b211acce2b2", "type": "gitlab" }, "original": { @@ -50,11 +50,11 @@ ] }, "locked": { - "lastModified": 1732365372, - "narHash": "sha256-QBvVgs3uOEfy4OycdzA9rSYVJA98vSC2/DR1wSvw1Xw=", + "lastModified": 1732497628, + "narHash": "sha256-r6vHlGeHoG51e9c77V5wadv6tnBD8bQnzTspH0Hn/3A=", "owner": "nix-community", "repo": "flake-firefox-nightly", - "rev": "ab62b76590187f8b82fc47ecd86e57629cd0a3df", + "rev": "60ff5970ff90ef231cf8ecc140ea269fb5df2a11", "type": "github" }, "original": { @@ -152,16 +152,16 @@ ] }, "locked": { - "lastModified": 1732319136, - "narHash": "sha256-wpmPl6FkAF9Jj5C/rzANgpUjfzQrUYOn267LnzKU2uI=", + "lastModified": 1732482255, + "narHash": "sha256-GUffLwzawz5WRVfWaWCg78n/HrBJrOG7QadFY6rtV8A=", "owner": "nix-community", "repo": "home-manager", - "rev": "f8831cc700030e11fc91da9ef6270593e6440edc", + "rev": "a9953635d7f34e7358d5189751110f87e3ac17da", "type": "github" }, "original": { "owner": "nix-community", - "ref": "release-24.11", + "ref": "master", "repo": "home-manager", "type": "github" } @@ -172,11 +172,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1731845570, - "narHash": "sha256-5reOtlm18XLnh3ezruPOg2wQO+MB7ztsFaIzSUAzeh8=", + "lastModified": 1732450403, + "narHash": "sha256-qYjJeHYUHDgfDsvMpIf9TRz0oAoMwvYP75XHObDjWIg=", "owner": "nix-community", "repo": "lib-aggregate", - "rev": "7a1d37b2b16f32536628df9cea6a2003d79a49f9", + "rev": "c817444fb8a3042c26be57d8640fb744bc1b516c", "type": "github" }, "original": { @@ -223,27 +223,43 @@ }, "nixpkgs": { "locked": { - "lastModified": 1731603435, - "narHash": "sha256-CqCX4JG7UiHvkrBTpYC3wcEurvbtTADLbo3Ns2CEoL8=", + "lastModified": 1732014248, + "narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8b27c1239e5c421a2bbc2c65d52e4a6fbf2ff296", + "rev": "23e89b7da85c3640bbc2173fe04f4bd114342367", "type": "github" }, "original": { "owner": "NixOS", - "ref": "24.11-beta", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-24-11": { + "locked": { + "lastModified": 1732350895, + "narHash": "sha256-GcOQbOgmwlsRhpLGSwZJwLbo3pu9ochMETuRSS1xpz4=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "0c582677378f2d9ffcb01490af2f2c678dcb29d3", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-24.11", "repo": "nixpkgs", "type": "github" } }, "nixpkgs-lib": { "locked": { - "lastModified": 1731805462, - "narHash": "sha256-yhEMW4MBi+IAyEJyiKbnFvY1uARyMKJpLUhkczI49wk=", + "lastModified": 1732410305, + "narHash": "sha256-/hxIKRTBsdrnudJWDGaBN8wIjHovqVAVxXdi8ByVtck=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "b9f04e3cf71c23bea21d2768051e6b3068d44734", + "rev": "87b6978992e2eb605732fba842cad0a7e14b2047", "type": "github" }, "original": { @@ -262,11 +278,11 @@ ] }, "locked": { - "lastModified": 1731193165, - "narHash": "sha256-pGF8L5g9QpkQtJP9JmNIRNZfcyhJHf7uT+d8tqI1h6Y=", + "lastModified": 1732465698, + "narHash": "sha256-xiue+Kj2Jm8PwyZQcHl4CaYmMIgo5oi37hVHqiw2Unk=", "owner": "nix-community", "repo": "plasma-manager", - "rev": "f33173b9d22e554a6f869626bc01808d35995257", + "rev": "16d65cd02b5de665d1bcfec1616c02c71a1014a6", "type": "github" }, "original": { @@ -282,6 +298,7 @@ "home-manager": "home-manager", "nixos-grub-themes": "nixos-grub-themes", "nixpkgs": "nixpkgs", + "nixpkgs-24-11": "nixpkgs-24-11", "plasma-manager": "plasma-manager", "sddm-sugar-candy-nix": "sddm-sugar-candy-nix", "vscode-extensions": "vscode-extensions" @@ -346,11 +363,11 @@ ] }, "locked": { - "lastModified": 1732413494, - "narHash": "sha256-KcKOpa6da8/9MfGYRqUJhwK9Q2rNrLXxqZMQoojJTvA=", + "lastModified": 1732499683, + "narHash": "sha256-Hw95rpgNiyAL4v9pJF2756PMud6O0p/1XQixs5f/Shk=", "owner": "nix-community", "repo": "nix-vscode-extensions", - "rev": "aa61c826513046837049bca77493ad06dda37012", + "rev": "b376bfa567fd25f9f22b6f51ffaa4f84d0b7c72f", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 7497a33..9d02a00 100755 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,8 @@ inputs = { # General NixOS config - nixpkgs.url = "github:NixOS/nixpkgs/24.11-beta"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs-24-11.url = "github:NixOS/nixpkgs/nixos-24.11"; # NixOS Grub Themes (hyperfluent) nixos-grub-themes = { url = "github:jeslie0/nixos-grub-themes"; @@ -16,7 +17,7 @@ }; # Home Manager + Plasma home-manager = { - url = "github:nix-community/home-manager/release-24.11"; + url = "github:nix-community/home-manager/master"; inputs.nixpkgs.follows = "nixpkgs"; }; plasma-manager = { @@ -46,6 +47,7 @@ outputs = inputs@{ nixpkgs, home-manager, plasma-manager, ... }: let system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; in { nixosConfigurations.ty-nixos = nixpkgs.lib.nixosSystem { inherit system; @@ -65,7 +67,7 @@ # Add home manager configuration compatibility to the main flake homeConfigurations."ty" = home-manager.lib.homeManagerConfiguration { - pkgs = nixpkgs.legacyPackages.${system}; + inherit pkgs; # Specify your home configuration modules here, for example, # the path to your home.nix. diff --git a/home-manager/modules/packages.nix b/home-manager/modules/packages.nix index 85810ce..5c77f28 100755 --- a/home-manager/modules/packages.nix +++ b/home-manager/modules/packages.nix @@ -1,9 +1,9 @@ { pkgs, inputs, system, ... }: { - home.packages = (with pkgs; [ + home.packages = (with pkgs; [ # Documents logseq - libreoffice-qt6-fresh + inputs.nixpkgs-24-11.legacyPackages.${system}.libreoffice-qt6-fresh # Lock to 24.11 as the build is failing as of 11/24/24 on unstable # Video jellyfin-media-player