Allow insecure libsoup in Citrix package import set during evaluation
This commit is contained in:
parent
43d40cc6d0
commit
0c5f0e56e1
3 changed files with 12 additions and 5 deletions
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
|
@ -4,6 +4,7 @@
|
||||||
"cp": true,
|
"cp": true,
|
||||||
"mkdir": true,
|
"mkdir": true,
|
||||||
"git add": true,
|
"git add": true,
|
||||||
"git commit": true
|
"git commit": true,
|
||||||
|
"just": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
4
TODO.md
4
TODO.md
|
|
@ -1,8 +1,8 @@
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
- [ ] Refactor {workstation,server,pi-server}/default.nix to share as much as
|
- [x] Refactor {workstation,server,pi-server}/default.nix to share as much as
|
||||||
possible
|
possible
|
||||||
- [ ] do not do mail sync on servers
|
- [ ] do not do mail sync on servers
|
||||||
- [ ] Get vim reset up
|
- [x] Get vim reset up
|
||||||
- [ ] evaluation warning: 'system' has been renamed to/replaced by
|
- [ ] evaluation warning: 'system' has been renamed to/replaced by
|
||||||
'stdenv.hostPlatform.system'
|
'stdenv.hostPlatform.system'
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,18 @@
|
||||||
{ lib, config, pkgs, inputs, outputs, home-manager, ... }:
|
{ lib, config, pkgs, inputs, outputs, home-manager, ... }:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.roles.citrix;
|
cfg = config.roles.citrix;
|
||||||
citrixPkgs = import inputs.nixpkgs { system = pkgs.system; config = pkgs.config // { permittedInsecurePackages = ["libsoup-2.74.3"]; }; };
|
citrixPkgs = import inputs.nixpkgs {
|
||||||
|
system = pkgs.system;
|
||||||
|
config = pkgs.config // {
|
||||||
|
allowUnfree = true;
|
||||||
|
allowInsecure = true;
|
||||||
|
permittedInsecurePackages = ["libsoup-2.74.3"];
|
||||||
|
};
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
options.roles.citrix = {enable = lib.mkEnableOption "citrix tools";};
|
options.roles.citrix = {enable = lib.mkEnableOption "citrix tools";};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home-manager.users.don.home.packages = with citrixPkgs; [citrix_workspace];
|
home-manager.users.don.home.packages = with citrixPkgs; [citrix_workspace];
|
||||||
home-manager.users.don.nixpkgs.config.permittedInsecurePackages = ["libsoup-2.74.3"];
|
|
||||||
home-manager.users.don.home.file."ICAClient" = {
|
home-manager.users.don.home.file."ICAClient" = {
|
||||||
recursive = true;
|
recursive = true;
|
||||||
source = ./files/citrix;
|
source = ./files/citrix;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue