loptland: babysteps
This commit is contained in:
parent
ef703ecbcf
commit
592faafe86
6 changed files with 202 additions and 7 deletions
|
|
@ -5,7 +5,69 @@
|
|||
let
|
||||
in
|
||||
{
|
||||
flake.modules.nixos."hosts/loptland" = {
|
||||
flake.modules.nixos."hosts/loptland" =
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
let
|
||||
sopsFile = ../../../secrets/secrets-loptland.yaml;
|
||||
|
||||
};
|
||||
in
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
services.qemuGuest.enable = true;
|
||||
|
||||
imports =
|
||||
with config.flake.modules.nixos;
|
||||
[
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
inputs.catppuccin.nixosModules.catppuccin
|
||||
|
||||
# System modules
|
||||
base
|
||||
server
|
||||
dev
|
||||
|
||||
# apps
|
||||
|
||||
# Users
|
||||
cholli
|
||||
]
|
||||
++ [
|
||||
{
|
||||
home-manager.users.cholli = {
|
||||
imports = with config.flake.modules.homeManager; [
|
||||
inputs.catppuccin.homeModules.catppuccin
|
||||
|
||||
# components
|
||||
base
|
||||
dev
|
||||
|
||||
# Activate all user based config
|
||||
cholli
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
];
|
||||
|
||||
sops = {
|
||||
secrets = {
|
||||
"forgejo/db/password" = {
|
||||
inherit sopsFile;
|
||||
};
|
||||
"forgejo/mail/password" = {
|
||||
inherit sopsFile;
|
||||
};
|
||||
"forgejo/mail/passwordHash" = {
|
||||
inherit sopsFile;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue