forked from jan-leila/nix-config
fixed eve not importing packages.nix
This commit is contained in:
parent
198e4c4c5b
commit
6c7b40e10e
2 changed files with 7 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
{osConfig, ...}: let
|
{osConfig, ...}: let
|
||||||
userConfig = osConfig.host.users.eve;
|
userConfig = osConfig.host.users.eve;
|
||||||
in {
|
in {
|
||||||
nixpkgs.config = {
|
imports = [
|
||||||
allowUnfree = true;
|
./packages.nix
|
||||||
};
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = userConfig.name;
|
username = userConfig.name;
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
userConfig = osConfig.host.users.eve;
|
userConfig = osConfig.host.users.eve;
|
||||||
in {
|
in {
|
||||||
config = {
|
config = {
|
||||||
|
nixpkgs.config = {
|
||||||
|
allowUnfree = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Packages that can be installed without any extra configuration
|
# Packages that can be installed without any extra configuration
|
||||||
# See https://search.nixos.org/packages for all options
|
# See https://search.nixos.org/packages for all options
|
||||||
home.packages = lib.lists.optionals userConfig.isDesktopUser (
|
home.packages = lib.lists.optionals userConfig.isDesktopUser (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue