diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-03-18 18:30:42 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-03-18 18:30:42 +0100 |
commit | 012fc8e4f399af06ab013ba136fe1d2cffb913f1 (patch) | |
tree | 30067e9c9420fea0a9150234a01bd43208a9d18c /overrides/default.nix | |
parent | 95a16e591e9e26158ebf1604e5cb2c82dfcf2856 (diff) |
Refactor overrides into my base profile.
Just moving the overrides into the base profile isn't enough here, as we wouldn't be able to refer to packages anymore, because the global nixpkgs.config override is now gone. Instead, we're now putting pkgs.vuizvui.* into the NixOS module system by a new profiles/common.nix, which is used unconditionally for all machines. Of course, the result of this is that we now need to change all references to vuizvui-related packages, which also is a good thing, because we will no longer shadow existing packages from upstream nixpkgs. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'overrides/default.nix')
-rw-r--r-- | overrides/default.nix | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/overrides/default.nix b/overrides/default.nix deleted file mode 100644 index 479a222c..00000000 --- a/overrides/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -pkgs: - -with pkgs.lib; - -let - allPackages = (import ../pkgs { pkgs = everything; }) // misc; - everything = pkgs // allPackages // drvOverrides // argOverrides; - - mapOverride = overrideFun: includePackages: let - packages = pkgs // allPackages // includePackages; - overrideName = name: overrideFun (getAttr name packages); - in mapAttrs overrideName; - - # input attrset overrides using pkg.override - argOverrides = mapOverride (getAttr "override") drvOverrides { - netrw.checksumType = "mhash"; - pulseaudio.useSystemd = true; - w3m.graphicsSupport = true; - uqm.use3DOVideos = true; - uqm.useRemixPacks = true; - miro.enableBonjour = true; - }; - - # derivation overrides - drvOverrides = mapOverride overrideDerivation argOverrides {}; - - # misc - misc = {}; -in allPackages // drvOverrides // argOverrides |