restructure
This commit is contained in:
@@ -2,12 +2,7 @@
|
||||
|
||||
flake.nixosModules.code-server = { config, lib, ... }: {
|
||||
|
||||
options.sysconfig.containers.code-server.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.sysconfig.containers.code-server.enable {
|
||||
config = {
|
||||
|
||||
containers.code-server = {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user