Use home-manager.useGlobalPkgs
This commit is contained in:
parent
7491646130
commit
fa849e1bd5
2 changed files with 7 additions and 19 deletions
|
@ -160,7 +160,12 @@
|
|||
|
||||
baseConfig
|
||||
home-manager.nixosModules.home-manager
|
||||
{ home-manager.useUserPackages = true; }
|
||||
{
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, lib, inputs, self-overlay, ... }:
|
||||
{ pkgs, config, lib, inputs, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.eboskma.users.erwin;
|
||||
|
@ -33,8 +33,6 @@ in
|
|||
EDITOR = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacsclient -c";
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
eboskma = {
|
||||
var.workSystem = true;
|
||||
programs = {
|
||||
|
@ -125,13 +123,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# home.keyboard = {
|
||||
# layout = "us,us";
|
||||
# variant = "colemak,";
|
||||
# model = "pc105";
|
||||
# options = [ "ctrl:nocaps" "eurosign:5" "lv5:ralt_switch" "lv3:rwin_switch" "grp:sclk_toggle" "grp_led:scroll" ];
|
||||
# };
|
||||
|
||||
home.packages = with pkgs; [
|
||||
atool
|
||||
bitwarden
|
||||
|
@ -239,14 +230,6 @@ in
|
|||
};
|
||||
|
||||
imports = [
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
self-overlay
|
||||
inputs.ha-now-playing.overlays.${pkgs.system}
|
||||
inputs.pamedia.overlays.${pkgs.system}
|
||||
inputs.emacs-overlay.overlay
|
||||
];
|
||||
}
|
||||
../../modules/options
|
||||
] ++ (map (mod: (../../home-manager/modules + "/${mod}")) (builtins.attrNames (builtins.readDir ../../home-manager/modules)));
|
||||
|
||||
|
|
Loading…
Reference in a new issue