feat(meta): use manifest to define system configurations
This commit is contained in:
parent
96321d4026
commit
084caa727b
18 changed files with 125 additions and 131 deletions
|
@ -1,11 +1,11 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
cfg = config.flake;
|
||||
inherit (config.manifest) admin;
|
||||
in
|
||||
{
|
||||
flake.modules.darwin.graphical.homebrew = {
|
||||
enable = true;
|
||||
user = cfg.admin.username;
|
||||
user = admin.username;
|
||||
onActivation.cleanup = "uninstall";
|
||||
brews = [
|
||||
"mise"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
cfg = config.flake;
|
||||
inherit (config.manifest) admin;
|
||||
in
|
||||
{
|
||||
allowedUnfreePackages = [
|
||||
|
@ -13,7 +13,7 @@ in
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
fonts.packages = [ pkgs.font-awesome ];
|
||||
services.getty.autologinUser = cfg.admin.username;
|
||||
services.getty.autologinUser = admin.username;
|
||||
# Start Hyprland at boot only if not connecting through SSH
|
||||
environment.loginShellInit = # sh
|
||||
''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue