nix: migrate more packages into the overlay
This commit is contained in:
parent
d38563f4a1
commit
619b19ebc8
5 changed files with 25 additions and 30 deletions
|
@ -53,8 +53,6 @@ in {
|
|||
] ++ [
|
||||
pkgs.libffi
|
||||
]);
|
||||
|
||||
staruml = callPackage ../../pkgs/staruml.nix { inherit (gnome2) GConf; libgcrypt = libgcrypt_1_5; };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -7,25 +7,13 @@ in {
|
|||
programs.home-manager.enable = true;
|
||||
programs.home-manager.path = https://github.com/rycee/home-manager/archive/master.tar.gz;
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(import ../../overlay.nix)
|
||||
];
|
||||
|
||||
nixpkgs.config = {
|
||||
allowBroken = true;
|
||||
allowUnfree = true;
|
||||
|
||||
# TODO: move this to a pkgs overlay
|
||||
packageOverrides = pkgs: with pkgs; {
|
||||
busyboxStatic = busybox.override {
|
||||
enableStatic = true;
|
||||
extraConfig = ''
|
||||
CONFIG_STATIC y
|
||||
CONFIG_INSTALL_APPLET_DONT y
|
||||
CONFIG_INSTALL_APPLET_SYMLINKS n
|
||||
'';
|
||||
};
|
||||
|
||||
dropbearStatic = dropbear.override {
|
||||
enableStatic = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.keyboard = {
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
# TODO: clean up the impurity in here
|
||||
|
||||
in {
|
||||
home.sessionVariables = {
|
||||
|
|
|
@ -11,14 +11,6 @@
|
|||
allowUnfree = true;
|
||||
|
||||
packageOverrides = pkgs: with pkgs; {
|
||||
busyboxStatic = busybox.override {
|
||||
enableStatic = true;
|
||||
extraConfig = ''
|
||||
CONFIG_STATIC y
|
||||
CONFIG_INSTALL_APPLET_DONT y
|
||||
CONFIG_INSTALL_APPLET_SYMLINKS n
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,5 +1,21 @@
|
|||
self: super: {
|
||||
duplicay = super.callPackage ./pkgs/duplicacy {};
|
||||
mfcl3770cdw = super.callPackage ./pkgs/mfcl3770cdw.nix {};
|
||||
let
|
||||
|
||||
in self: super: {
|
||||
|
||||
duplicacy = super.callPackage ./pkgs/duplicacy {};
|
||||
just = super.callPackage ./pkgs/just.nix {};
|
||||
mfcl3770cdw = super.callPackage ./pkgs/mfcl3770cdw.nix {};
|
||||
staruml = super.callPackage ./pkgs/staruml.nix { inherit (super.gnome2) GConf; libgcrypt = super.libgcrypt_1_5; };
|
||||
|
||||
busyboxStatic = super.busybox.override {
|
||||
enableStatic = true;
|
||||
extraConfig = ''
|
||||
CONFIG_STATIC y
|
||||
CONFIG_INSTALL_APPLET_DONT y
|
||||
CONFIG_INSTALL_APPLET_SYMLINKS n
|
||||
'';
|
||||
};
|
||||
dropbearStatic = super.dropbear.override {
|
||||
enableStatic = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue