mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
profiles: raspi init, aarch64 init, oracle/common improved, shared
This commit is contained in:
parent
70e56f4e3f
commit
4102b381f0
10 changed files with 118 additions and 159 deletions
|
|
@ -1,8 +1,12 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, meta, ... }:
|
||||
|
||||
{
|
||||
security.sudo.wheelNeedsPassword = lib.mkForce false;
|
||||
|
||||
imports = with meta; [
|
||||
users.kat.base
|
||||
];
|
||||
|
||||
users.users.root = {
|
||||
hashedPassword =
|
||||
"$6$i28yOXoo$/WokLdKds5ZHtJHcuyGrH2WaDQQk/2Pj0xRGLgS8UcmY2oMv3fw2j/85PRpsJJwCB2GBRYRK5LlvdTleHd3mB.";
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
{ config, meta, ... }: {
|
||||
imports = with meta; [
|
||||
users.kat.base
|
||||
users.hexchen
|
||||
users.arc
|
||||
];
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, meta, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
|
|
@ -7,6 +7,7 @@ with lib;
|
|||
deploy.profile = {
|
||||
gui = mkEnableOption "Graphical System";
|
||||
vfio = mkEnableOption "VFIO";
|
||||
shared = mkEnableOption "Shared System";
|
||||
trusted = mkEnableOption "Trusted Submodule";
|
||||
cross = {
|
||||
enable = mkEnableOption "cross/emulated compilation";
|
||||
|
|
@ -33,6 +34,7 @@ with lib;
|
|||
ryzen = mkEnableOption "AMD Ryzen CPU";
|
||||
ms-7b86 = mkEnableOption "MSI B450-A Pro Max";
|
||||
rm-310 = mkEnableOption "Intel DQ67OW";
|
||||
raspi = mkEnableOption "Raspberry Pi 1 Model B+";
|
||||
oracle = {
|
||||
common = mkEnableOption "OCI";
|
||||
ubuntu = mkEnableOption "Canonical Ubuntu Base Image";
|
||||
|
|
@ -49,7 +51,10 @@ with lib;
|
|||
options.deploy.profile = {
|
||||
gui = mkEnableOption "Graphical System";
|
||||
vfio = mkEnableOption "VFIO";
|
||||
trusted = mkEnableOption "Trusted Submodule";
|
||||
shared = mkEnableOption "Shared System";
|
||||
trusted = mkEnableOption "Trusted Submodule" // {
|
||||
default = meta.trusted ? secrets;
|
||||
};
|
||||
cross = {
|
||||
enable = mkEnableOption "cross/emulated compilation";
|
||||
aarch64 = mkOption {
|
||||
|
|
@ -75,6 +80,7 @@ with lib;
|
|||
ryzen = mkEnableOption "AMD Ryzen CPU";
|
||||
ms-7b86 = mkEnableOption "MSI B450-A Pro Max";
|
||||
rm-310 = mkEnableOption "Intel DQ67OW";
|
||||
raspi = mkEnableOption "Raspberry Pi 1 Model B+";
|
||||
oracle = {
|
||||
common = mkEnableOption "OCI";
|
||||
ubuntu = mkEnableOption "Canonical Ubuntu Base Image";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue