kardorf: more migration from nixos to home-manager
This commit is contained in:
22
flake.nix
22
flake.nix
@ -21,6 +21,7 @@
|
||||
};
|
||||
|
||||
nix-matlab.url = "gitlab:doronbehar/nix-matlab";
|
||||
nix-matlab.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = inputs:
|
||||
@ -29,6 +30,14 @@
|
||||
# Must always be ./.
|
||||
src = ./.;
|
||||
|
||||
# Add overlays for the `nixpkgs` channel.
|
||||
overlays = with inputs;
|
||||
[
|
||||
nix-matlab.overlay
|
||||
# my-inputs.overlays.my-overlay
|
||||
# TODO: add unstable here
|
||||
];
|
||||
|
||||
snowfall = {
|
||||
# The root of the snowfall config
|
||||
root = ./.;
|
||||
@ -41,25 +50,18 @@
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# Add overlays for the `nixpkgs` channel.
|
||||
overlays = with inputs; [
|
||||
nix-matlab.overlay
|
||||
# my-inputs.overlays.my-overlay
|
||||
# TODO: add unstable here
|
||||
];
|
||||
|
||||
# The attribute set specified here will be passed directly to NixPkgs when
|
||||
# instantiating the package set.
|
||||
channels-config = {
|
||||
# Allow unfree packages.
|
||||
allowUnfree = true;
|
||||
nvidia.acceptLicense = true;
|
||||
nvidia.acceptLicense = true;
|
||||
|
||||
# Allow certain insecure packages
|
||||
# permittedInsecurePackages = [ "firefox-100.0.0" ];
|
||||
# permittedInsecurePackages = [ "electron-24.8.6" ];
|
||||
permittedInsecurePackages = [ "schildichat-web-1.11.30-sc.2" "electron-25.9.0" ];
|
||||
permittedInsecurePackages =
|
||||
[ "schildichat-web-1.11.30-sc.2" "electron-25.9.0" ];
|
||||
|
||||
# Additional configuration for specific packages.
|
||||
config = {
|
||||
|
Reference in New Issue
Block a user