flake-parts: Almost done with yggdrasil

This commit is contained in:
Christoph Hollizeck 2025-10-28 00:17:33 +01:00
parent d579c8ad2c
commit ebc8a545c8
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
43 changed files with 2650 additions and 135 deletions

View file

@ -0,0 +1,30 @@
topLevel: {
flake.modules = {
nixos._1password =
{ ... }:
{
programs = {
_1password.enable = true;
_1password-gui = {
enable = true;
polkitPolicyOwners = [ topLevel.config.flake.meta.users.cholli.username ];
};
};
};
homeManager.cholli =
{ lib, osConfig, ... }:
{
home.file = lib.mkIf osConfig.programs._1password.enable {
".ssh/config".text = ''
Host *
ForwardAgent yes
IdentityAgent /home/cholli/.1password/agent.sock
Host loptland
Hostname christophhollizeck.dev
'';
};
};
};
}