mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: ability to deploy oracle
This commit is contained in:
parent
eb789e65ed
commit
dad09ed8fd
2 changed files with 48 additions and 26 deletions
|
|
@ -78,18 +78,26 @@ let
|
|||
)
|
||||
);
|
||||
|
||||
mkHomeManagers = many (
|
||||
mkHomeManager (
|
||||
{ hostname, ... }:
|
||||
[
|
||||
{ home.stateVersion = "24.05"; }
|
||||
self.homeModules._
|
||||
./home/${hostname}
|
||||
nixpkgsRegistry
|
||||
self.homeModules.auto-gc # Enable user gc only when home-manager is used standalone
|
||||
]
|
||||
)
|
||||
);
|
||||
mkHomeManagers =
|
||||
let
|
||||
go = mkHomeManager (
|
||||
{ hostname, ... }:
|
||||
[
|
||||
{ home.stateVersion = "24.05"; }
|
||||
self.homeModules._
|
||||
./home/${hostname}
|
||||
nixpkgsRegistry
|
||||
self.homeModules.auto-gc # Enable user gc only when home-manager is used standalone
|
||||
]
|
||||
);
|
||||
in
|
||||
many (
|
||||
args@{ system, ... }:
|
||||
let
|
||||
config = go args;
|
||||
in
|
||||
config // { deploy = inputs.deploy-rs.lib.${system}.activate.home-manager config; }
|
||||
);
|
||||
in
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue