nixpkgs, home-manager: return nixpkgs config to flake.nix
This commit is contained in:
parent
39d73b4ed7
commit
48a5083a02
4 changed files with 20 additions and 31 deletions
|
@ -5,7 +5,6 @@
|
|||
./environment.nix
|
||||
./home-manager.nix
|
||||
./nginx.nix
|
||||
./nixpkgs.nix
|
||||
./openssh.nix
|
||||
./security.nix
|
||||
];
|
||||
|
|
|
@ -1,18 +1,13 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
home-manager.users = {
|
||||
qenya = { config, lib, pkgs, osConfig, ... }: {
|
||||
home.homeDirectory = osConfig.users.users.qenya.home;
|
||||
|
||||
users = {
|
||||
qenya = { config, lib, pkgs, osConfig, ... }: {
|
||||
home.homeDirectory = osConfig.users.users.qenya.home;
|
||||
|
||||
imports = [
|
||||
../home/qenya
|
||||
];
|
||||
};
|
||||
imports = [
|
||||
../home/qenya
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
packageOverrides = pkgs: {
|
||||
agenix = inputs.agenix.packages.${config.nixpkgs.hostPlatform.system}.default;
|
||||
};
|
||||
};
|
||||
|
||||
overlays = [ inputs.nur.overlay ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue