hopefully the last complete restructure of this repo
This commit is contained in:
38
system-config/flake.nix
Executable file
38
system-config/flake.nix
Executable file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
description = "Unified System Configuration";
|
||||
|
||||
inputs = {
|
||||
|
||||
prgms.url = "./programs";
|
||||
|
||||
sddm.url = "./services/sddm";
|
||||
|
||||
};
|
||||
|
||||
outputs = { self, ... }@attrs: {
|
||||
|
||||
nixosModule = { config, lib, pkgs, inputs, ... }: {
|
||||
imports = [
|
||||
./services
|
||||
./packages
|
||||
attrs.prgms.module
|
||||
attrs.sddm.module
|
||||
];
|
||||
|
||||
options = {
|
||||
sysconfig.opts = {
|
||||
host = lib.options.mkOption {
|
||||
type = lib.types.str;
|
||||
default = null;
|
||||
};
|
||||
username = lib.options.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "nathan";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user