Merged Host/Home Opt into SysOpt
All checks were successful
Nix Build / build-nixos (push) Successful in 5m27s
All checks were successful
Nix Build / build-nixos (push) Successful in 5m27s
This commit is contained in:
33
systems/iriy/cfg.nix
Normal file
33
systems/iriy/cfg.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
syscfg = {
|
||||
hostname = "iriy";
|
||||
defaultUser = "sora";
|
||||
users = [{
|
||||
username = "sora";
|
||||
git = {
|
||||
email = "soraefir+git@helcel";
|
||||
username = "soraefir";
|
||||
key = "4E241635F8EDD2919D2FB44CA362EA0491E2EEA0";
|
||||
};
|
||||
}];
|
||||
make = {
|
||||
gui = true;
|
||||
cli = true;
|
||||
virt = true;
|
||||
power = false;
|
||||
game = true;
|
||||
develop = true;
|
||||
};
|
||||
net = {
|
||||
wlp = {
|
||||
enable = true;
|
||||
nif = "wlp11s0";
|
||||
};
|
||||
wg = {
|
||||
enable = true;
|
||||
ip4 = "10.10.1.7/32";
|
||||
ip6 = "fd10:10:10::7/128";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -1,33 +1,8 @@
|
||||
{ config, inputs, ... }: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./hardware.nix
|
||||
# inputs.hardware.common-cpu-amd
|
||||
# inputs.hardware.common-gpu-amd
|
||||
];
|
||||
|
||||
hostcfg = {
|
||||
hostname = "iriy";
|
||||
username = "sora";
|
||||
make = {
|
||||
gui = true;
|
||||
cli = true;
|
||||
virt = true;
|
||||
power = false;
|
||||
game = true;
|
||||
develop = true;
|
||||
};
|
||||
net = {
|
||||
wlp = {
|
||||
enable = true;
|
||||
nif = "wlp11s0";
|
||||
};
|
||||
wg = {
|
||||
enable = true;
|
||||
ip4 = "10.10.1.7/32";
|
||||
ip6 = "fd10:10:10::7/128";
|
||||
pk = config.sops.secrets.iriy_wg_priv.path;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
{ config, lib, pkgs, modulesPath, ... }: {
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot.initrd.availableKernelModules =
|
@ -1,15 +0,0 @@
|
||||
{ ... }: {
|
||||
config.homecfg = {
|
||||
username = "sora";
|
||||
make = {
|
||||
gui = true;
|
||||
cli = true;
|
||||
game = true;
|
||||
};
|
||||
git = {
|
||||
email = "soraefir+git@pm.me";
|
||||
username = "soraefir";
|
||||
key = "4E241635F8EDD2919D2FB44CA362EA0491E2EEA0";
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user