use config to get home

This commit is contained in:
Ivan Kirilov Dimitrov 2024-07-05 18:32:04 +02:00
parent 9d672f7832
commit ca57494834
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294

View File

@ -1,8 +1,8 @@
toplevel@{ moduleWithSystem, ... }: { toplevel@{ moduleWithSystem, ... }: {
flake.homeManagerModules = { flake.homeManagerModules = {
base = moduleWithSystem ( base = moduleWithSystem (
top@{ config, ... }: top@{ ... }:
perSystem@{ pkgs, ... }: { perSystem@{ pkgs, config, ... }: {
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;
password-store = { password-store = {
@ -221,8 +221,8 @@ toplevel@{ moduleWithSystem, ... }: {
} }
); );
swayland = moduleWithSystem ( swayland = moduleWithSystem (
top@{ config, ... }: top@{ ... }:
perSystem@{ pkgs, ... }: { perSystem@{ pkgs, config, ... }: {
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;
systemd.enable = true; systemd.enable = true;