apply statix lints
Signed-off-by: fau <fau@faukah.com> Change-Id: I6a6a696442c7de5f519287ef8b3d80668973ef48
This commit is contained in:
parent
6ae25f23cf
commit
03067acb8d
5 changed files with 37 additions and 40 deletions
|
@ -27,7 +27,7 @@ in
|
|||
directory = config.users.users.${username}.home;
|
||||
clobberFiles = mkForce true;
|
||||
};
|
||||
extraModules = ((listFilesRecursive ./.) |> filter (hasSuffix ".hjem.nix"));
|
||||
extraModules = (listFilesRecursive ./.) |> filter (hasSuffix ".hjem.nix");
|
||||
specialArgs = {
|
||||
inherit sources;
|
||||
};
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
# We have to disable this and use nix-index instead. (Rust >>> Pearl)
|
||||
|
|
|
@ -20,43 +20,41 @@ in
|
|||
readOnly = true;
|
||||
};
|
||||
|
||||
config.nixpkgs.pkgs = (
|
||||
import sources.nixpkgs {
|
||||
hostPlatform = pkgs.stdenv.hostPlatform;
|
||||
overlays = [ ];
|
||||
config = {
|
||||
# Configuration reference:
|
||||
# <https://nixos.org/manual/nixpkgs/unstable/#chap-packageconfig>
|
||||
# Disallow broken packages to be built.
|
||||
allowBroken = false;
|
||||
config.nixpkgs.pkgs = import sources.nixpkgs {
|
||||
inherit (pkgs.stdenv) hostPlatform;
|
||||
overlays = [ ];
|
||||
config = {
|
||||
# Configuration reference:
|
||||
# <https://nixos.org/manual/nixpkgs/unstable/#chap-packageconfig>
|
||||
# Disallow broken packages to be built.
|
||||
allowBroken = false;
|
||||
|
||||
allowUnsupportedSystem = true;
|
||||
allowUnsupportedSystem = true;
|
||||
|
||||
# Warn when config contains an unrecognized attribute.
|
||||
# This might be useful for getting a better configuration.
|
||||
warnUndeclaredOptions = true;
|
||||
# Warn when config contains an unrecognized attribute.
|
||||
# This might be useful for getting a better configuration.
|
||||
warnUndeclaredOptions = true;
|
||||
|
||||
# Allow unfree packages
|
||||
allowUnfree = true;
|
||||
# Allow unfree packages
|
||||
allowUnfree = true;
|
||||
|
||||
# Permitted insecure packages in a system.
|
||||
# Default to none, add more as necessary.
|
||||
# Matrix also likes using deprecated libraries, which tend to go into this list.
|
||||
# permittedInsecurePackages = [];
|
||||
# Permitted insecure packages in a system.
|
||||
# Default to none, add more as necessary.
|
||||
# Matrix also likes using deprecated libraries, which tend to go into this list.
|
||||
# permittedInsecurePackages = [];
|
||||
|
||||
# Whether to set enableParallelBuilding to true by default while
|
||||
# building nixpkgs packages. Changing the default causes a mass rebuild.
|
||||
enableParallelBuildingByDefault = false;
|
||||
# Whether to set enableParallelBuilding to true by default while
|
||||
# building nixpkgs packages. Changing the default causes a mass rebuild.
|
||||
enableParallelBuildingByDefault = false;
|
||||
|
||||
# Whether to expose old attribute names for compatibility.
|
||||
# This improves backwards compatibility,
|
||||
# which I could not care less about in my configuration.
|
||||
allowAliases = false;
|
||||
# Whether to expose old attribute names for compatibility.
|
||||
# This improves backwards compatibility,
|
||||
# which I could not care less about in my configuration.
|
||||
allowAliases = false;
|
||||
|
||||
# List of derivation warnings to display while rebuilding.
|
||||
# See: <https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/check-meta.nix>
|
||||
showDerivationWarnings = [ ];
|
||||
};
|
||||
}
|
||||
);
|
||||
# List of derivation warnings to display while rebuilding.
|
||||
# See: <https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/check-meta.nix>
|
||||
showDerivationWarnings = [ ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue