forked from jan-leila/nix-config
added home manager configurations to output
This commit is contained in:
parent
90f0c114b3
commit
3fdee879c7
9 changed files with 45 additions and 32 deletions
|
@ -4,7 +4,7 @@
|
|||
osConfig,
|
||||
...
|
||||
}: let
|
||||
cfg = osConfig.host.users.eve;
|
||||
userConfig = osConfig.host.users.eve;
|
||||
in {
|
||||
imports = [
|
||||
../../home-modules
|
||||
|
@ -12,7 +12,7 @@ in {
|
|||
|
||||
config = {
|
||||
home = {
|
||||
username = "eve";
|
||||
username = userConfig.name;
|
||||
homeDirectory = osConfig.users.users.eve.home;
|
||||
|
||||
# This value determines the Home Manager release that your configuration is
|
||||
|
@ -58,7 +58,7 @@ in {
|
|||
# EDITOR = "emacs";
|
||||
};
|
||||
|
||||
packages = lib.lists.optionals cfg.isDesktopUser (
|
||||
packages = lib.lists.optionals userConfig.isDesktopUser (
|
||||
with pkgs; [
|
||||
firefox
|
||||
bitwarden
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue