homes: move shared modules to hosts
This commit is contained in:
parent
1ab225b553
commit
c2f4b59d90
|
@ -34,6 +34,10 @@ let
|
||||||
|
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
|
home-manager.sharedModules = [
|
||||||
|
materusCfg.configInputs.plasma-manager.homeManagerModules.plasma-manager
|
||||||
|
materusCfg.configInputs.sops-nix.homeManagerModules.sops
|
||||||
|
];
|
||||||
home-manager.users = (builtins.foldl' (a: b: a // b) { } (builtins.map
|
home-manager.users = (builtins.foldl' (a: b: a // b) { } (builtins.map
|
||||||
(user: {
|
(user: {
|
||||||
${user} = ({ ... }:
|
${user} = ({ ... }:
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
{ pkgs, materusArg, lib, ... }:
|
{ pkgs, materusArg, lib, ... }:
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./plasma.nix
|
||||||
|
];
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
home.homeDirectory = "/home/materus";
|
home.homeDirectory = "/home/materus";
|
||||||
|
|
||||||
|
@ -81,7 +84,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.papirus-icon-theme
|
|
||||||
materusArg.pkgs.ffmpeg_7-amf-full
|
materusArg.pkgs.ffmpeg_7-amf-full
|
||||||
(materusArg.pkgs.polymc-qt5.wrap { extraJDKs = [ pkgs.graalvm-ce ]; extraLibs = [ ]; })
|
(materusArg.pkgs.polymc-qt5.wrap { extraJDKs = [ pkgs.graalvm-ce ]; extraLibs = [ ]; })
|
||||||
pkgs.git-crypt
|
pkgs.git-crypt
|
||||||
|
|
|
@ -19,9 +19,6 @@ let
|
||||||
(materusFlake.selfPath + "/configurations/shared/home/${username}")
|
(materusFlake.selfPath + "/configurations/shared/home/${username}")
|
||||||
(materusFlake.selfPath + "/configurations/host/${host}/home/${username}")
|
(materusFlake.selfPath + "/configurations/host/${host}/home/${username}")
|
||||||
profiles.homeProfile
|
profiles.homeProfile
|
||||||
materusFlake.nixosConfigurations.${host}.materusCfg.configInputs.sops-nix.homeManagerModules.sops
|
|
||||||
materusFlake.nixosConfigurations.${host}.materusCfg.configInputs.plasma-manager.homeManagerModules.plasma-manager
|
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}]
|
}]
|
||||||
|
|
Loading…
Reference in New Issue