help
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
{ lib, pkgs, core_inputs, ... }: {
|
||||
{ config, lib, pkgs, core_inputs, ... }: {
|
||||
|
||||
imports = [
|
||||
./generic
|
||||
./laptop
|
||||
./homebox
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
sysconfig.laptop.enable = lib.mkDefault false;
|
||||
@@ -11,7 +12,6 @@
|
||||
sysconfig.generic.enable = lib.mkDefault true;
|
||||
|
||||
networking = {
|
||||
hostName = core_inputs.host;
|
||||
nameservers = [ "1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one" ];
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
@@ -1 +1,9 @@
|
||||
{}
|
||||
{ config, lib, ... }: {
|
||||
|
||||
options.sysconfig.generic.enable = {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.sysconfig.generic.enable {};
|
||||
}
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
|
||||
sysconfig.generic.enable = lib.mkForce false;
|
||||
|
||||
imports = [];
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
|
||||
sysconfig.generic.enable = lib.mkForce false;
|
||||
|
||||
imports = [];
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
nixosModule = { config, lib, pkgs, core_inputs, ... }: {
|
||||
imports = [
|
||||
./configuration/configuration.nix
|
||||
./configuration
|
||||
# inputs.diskoConfig.module
|
||||
# inputs.impermanenceConfig.module
|
||||
inputs.srvcs.module
|
||||
@@ -64,11 +64,11 @@
|
||||
}
|
||||
];
|
||||
|
||||
networking.hostname = config.sysconfig.opts.host;
|
||||
networking.hostName = lib.mkDefault config.sysconfig.opts.host;
|
||||
|
||||
users.users.${config.sysconfig.opts.username} = {
|
||||
#users.users.${config.sysconfig.opts.username} = {
|
||||
|
||||
};
|
||||
#};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ config, lib, ... }: {
|
||||
|
||||
options.sysconfig.opts.git.enable = lib.opions.mkOption {};
|
||||
options.sysconfig.opts.git.enable = lib.options.mkOption {};
|
||||
|
||||
config = lib.mkIf config.sysconfig.opts.git.enable {
|
||||
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
|
||||
config = lib.mkIf config.sysconfig.opts.sddm.enable {
|
||||
|
||||
imports = [];
|
||||
|
||||
qt.enable = true;
|
||||
|
||||
services.displayManager.sddm = {
|
||||
|
||||
Reference in New Issue
Block a user