diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-21 17:37:58 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-22 17:02:26 +0200 |
commit | 373aee2e8b55fb931527fd3efe0ba59ec21c2ad2 (patch) | |
tree | b2c23f13d4ff4864e450caaa814026b5f4af606d | |
parent | hm: consume mail module (diff) | |
download | nix-config-373aee2e8b55fb931527fd3efe0ba59ec21c2ad2.tar.gz nix-config-373aee2e8b55fb931527fd3efe0ba59ec21c2ad2.zip |
packages: pin calibre to working version
-rw-r--r-- | flake.lock | 17 | ||||
-rw-r--r-- | flake.nix | 3 | ||||
-rw-r--r-- | flake/nixosConfigurations/default.nix | 1 | ||||
-rw-r--r-- | hm/packages/default.nix | 8 |
4 files changed, 26 insertions, 3 deletions
diff --git a/flake.lock b/flake.lock index 59ddb4e..e9fcbfc 100644 --- a/flake.lock +++ b/flake.lock @@ -587,6 +587,22 @@ "type": "github" } }, + "nixpkgs-pinned": { + "locked": { + "lastModified": 1713248628, + "narHash": "sha256-NLznXB5AOnniUtZsyy/aPWOk8ussTuePp2acb9U+ISA=", + "owner": "NixOs", + "repo": "nixpkgs", + "rev": "5672bc9dbf9d88246ddab5ac454e82318d094bb8", + "type": "github" + }, + "original": { + "owner": "NixOs", + "repo": "nixpkgs", + "rev": "5672bc9dbf9d88246ddab5ac454e82318d094bb8", + "type": "github" + } + }, "nixpkgs-stable": { "locked": { "lastModified": 1704290814, @@ -720,6 +736,7 @@ "nix-github-actions": "nix-github-actions", "nixpkgs": "nixpkgs", "nixpkgs-lib": "nixpkgs-lib", + "nixpkgs-pinned": "nixpkgs-pinned", "nixpkgs-stable": "nixpkgs-stable", "nixvim": "nixvim", "prismlauncher": "prismlauncher", diff --git a/flake.nix b/flake.nix index b32e09f..f1012f1 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:NixOs/nixpkgs/nixos-unstable"; + nixpkgs-pinned.url = "github:NixOs/nixpkgs/5672bc9dbf9d88246ddab5ac454e82318d094bb8"; nixpkgs-stable.url = "github:NixOs/nixpkgs/nixos-23.05"; nixpkgs-lib.url = "github:NixOs/nixpkgs/nixos-unstable?dir=lib"; @@ -169,6 +170,7 @@ self, base16-tokyo-night-scheme, nixpkgs, + nixpkgs-pinned, home-manager, prismlauncher, lanzaboote, @@ -235,6 +237,7 @@ self base16-tokyo-night-scheme nixpkgs + nixpkgs-pinned home-manager prismlauncher lanzaboote diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix index bfe0e20..2be0ec1 100644 --- a/flake/nixosConfigurations/default.nix +++ b/flake/nixosConfigurations/default.nix @@ -2,6 +2,7 @@ self, base16-tokyo-night-scheme, nixpkgs, + nixpkgs-pinned, home-manager, prismlauncher, lanzaboote, diff --git a/hm/packages/default.nix b/hm/packages/default.nix index 2a0b75a..a3e3071 100644 --- a/hm/packages/default.nix +++ b/hm/packages/default.nix @@ -1,10 +1,12 @@ { - system, + nixpkgs-pinned, pkgs, prismlauncher, wl-togglescreens, ... -}: { +}: let + pkgs-pinned = nixpkgs-pinned.legacyPackages.${pkgs.system}; +in { home.packages = with pkgs; with pkgs.libsForQt5; with pkgs.gnome; [ @@ -61,7 +63,7 @@ texlive.combined.scheme-full # LaTeX texlab # latex language server - calibre # ebook management + pkgs-pinned.calibre # ebook management html-tidy # html formatter ltex-ls # lsp language server for languagetool |