forked from pub-solar/os
Merge branch 'main' into fix/set-nix-dram-default
This commit is contained in:
commit
5dd0a5badb
|
@ -6,7 +6,6 @@
|
||||||
# interface that has the local link to the target machine
|
# interface that has the local link to the target machine
|
||||||
imports = [
|
imports = [
|
||||||
# profiles.networking
|
# profiles.networking
|
||||||
profiles.core
|
|
||||||
profiles.users.root # make sure to configure ssh keys
|
profiles.users.root # make sure to configure ssh keys
|
||||||
profiles.users.pub-solar
|
profiles.users.pub-solar
|
||||||
profiles.base-user
|
profiles.base-user
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
|
@ -10,18 +10,12 @@ in
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
./i18n.nix
|
./i18n.nix
|
||||||
./modules.nix
|
|
||||||
./networking.nix
|
./networking.nix
|
||||||
./nix.nix
|
./nix.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
pub-solar.terminal-life.enable = true;
|
|
||||||
pub-solar.audio.enable = lib.mkIf (!cfg.lite) true;
|
|
||||||
pub-solar.crypto.enable = lib.mkIf (!cfg.lite) true;
|
|
||||||
pub-solar.devops.enable = lib.mkIf (!cfg.lite) true;
|
|
||||||
|
|
||||||
options.pub-solar.core = {
|
options.pub-solar.core = {
|
||||||
lite = mkOption {
|
lite = mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
|
@ -31,4 +25,13 @@ in
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = {
|
||||||
|
pub-solar = {
|
||||||
|
terminal-life.enable = true;
|
||||||
|
audio.enable = lib.mkIf (!cfg.lite) true;
|
||||||
|
crypto.enable = lib.mkIf (!cfg.lite) true;
|
||||||
|
devops.enable = lib.mkIf (!cfg.lite) true;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue