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

View file

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