pin new version of veracrypt as older one is crashing

This commit is contained in:
Cyryl Płotnicki 2023-11-18 13:08:25 +00:00
parent 7b7e58bdec
commit c2bcecf2af
2 changed files with 29 additions and 16 deletions

View file

@ -1,23 +1,24 @@
{
description = "NixOS configuration with flakes";
outputs = {
self,
flake-utils,
flake-compat,
home-manager,
nixpkgs-nixos-unstable,
nixpkgs-master,
nixpkgs-stable,
darwin,
nixos-hardware,
nur,
sops,
nil,
helix,
alejandra,
nixpkgs-rust-analyzer,
endless-sky,
darwin,
disko,
endless-sky,
flake-compat,
flake-utils,
helix,
home-manager,
nil,
nixos-hardware,
nixpkgs-master,
nixpkgs-nixos-unstable,
nixpkgs-rust-analyzer,
nixpkgs-stable,
nur,
self,
sops,
veracrypt,
} @ inputs: let
mkServer = pkgs: system: hostname:
pkgs.lib.nixosSystem {
@ -103,6 +104,10 @@
inherit system;
config = {allowUnfree = true;};
};
nixpkgs-veracrypt = import veracrypt {
inherit system;
config = {allowUnfree = true;};
};
};
};
mkShell = packageSet: system: let
@ -245,6 +250,13 @@
ref = "2100c4926200b1ebbee032ad22113597195932f2";
};
veracrypt = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
ref = "2bbbf414fed6ab89cd971f5645da692dad6d9420";
};
nixos-hardware = {
type = "github";
owner = "NixOS";

View file

@ -4,6 +4,7 @@
lib,
inputs,
nixpkgs-nixos-unstable-and-unfree,
nixpkgs-veracrypt,
...
}: let
stateVersion = "23.05";
@ -36,7 +37,7 @@ in {
tmux
usbutils
wget
nixpkgs-nixos-unstable-and-unfree.veracrypt
nixpkgs-veracrypt.veracrypt
];
i18n.defaultLocale = "en_GB.UTF-8";