nix: globally import modules
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
2c5e2e7f36
commit
36f45eeca3
4 changed files with 5 additions and 8 deletions
|
@ -119,12 +119,17 @@
|
|||
inputs.arion.nixosModules.arion
|
||||
inputs.disko.nixosModules.disko
|
||||
inputs.fw-fanctrl.nixosModules.default
|
||||
inputs.jovian-nixos.nixosModules.default
|
||||
inputs.niri-flake.nixosModules.niri
|
||||
];
|
||||
|
||||
# TODO: Use home-manager.sharedModules for all options
|
||||
home-manager.sharedModules = [
|
||||
inputs."nix-index-database-${branch}".hmModules.nix-index
|
||||
inputs.ags.homeManagerModules.default
|
||||
inputs.anyrun.homeManagerModules.default
|
||||
inputs.nix-flatpak.homeManagerModules.nix-flatpak
|
||||
inputs.walker.homeManagerModules.default
|
||||
];
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
@ -10,8 +9,6 @@ in {
|
|||
options.custom.programs.ags.enable = mkOption {default = false;};
|
||||
|
||||
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
|
||||
imports = [inputs.ags.homeManagerModules.default];
|
||||
|
||||
# https://aylur.github.io/ags-docs
|
||||
# https://github.com/Aylur/ags
|
||||
programs.ags = {
|
||||
|
|
|
@ -24,8 +24,6 @@ in {
|
|||
];
|
||||
|
||||
home-manager.users.${config.custom.username} = {
|
||||
imports = [inputs.nix-flatpak.homeManagerModules.nix-flatpak];
|
||||
|
||||
# https://wiki.nixos.org/wiki/Flatpak
|
||||
# https://github.com/gmodena/nix-flatpak
|
||||
services.flatpak = {
|
||||
|
|
|
@ -1,13 +1,10 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
options,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [inputs.jovian-nixos.nixosModules.default];
|
||||
|
||||
custom = {
|
||||
minimal = true;
|
||||
profile = "console";
|
||||
|
|
Loading…
Add table
Reference in a new issue