chore: cleanup redundant module declarations
This commit is contained in:
parent
c4dadd9f25
commit
7dde5410e4
9 changed files with 8 additions and 17 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
flake,
|
flake,
|
||||||
modulesPath,
|
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
|
@ -14,7 +13,6 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.arma.enable = true;
|
services.arma.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
flake,
|
flake,
|
||||||
modulesPath,
|
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
@ -12,7 +11,6 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
|
||||||
];
|
];
|
||||||
services.yggdrasil.persistentKeys = false;
|
services.yggdrasil.persistentKeys = false;
|
||||||
deploy = {
|
deploy = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
flake,
|
flake,
|
||||||
modulesPath,
|
|
||||||
# config,
|
# config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
@ -12,7 +11,6 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
|
||||||
];
|
];
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
flake,
|
flake,
|
||||||
modulesPath,
|
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
|
|
@ -14,7 +13,6 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
flake,
|
flake,
|
||||||
modulesPath,
|
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
|
@ -14,7 +13,6 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
|
||||||
];
|
];
|
||||||
nixpkgs.config.allowUnfreePredicate =
|
nixpkgs.config.allowUnfreePredicate =
|
||||||
pkg:
|
pkg:
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
flake,
|
flake,
|
||||||
modulesPath,
|
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
@ -13,7 +12,6 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
|
||||||
];
|
];
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "link-warden-tofu";
|
hostName = "link-warden-tofu";
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
flake,
|
flake,
|
||||||
modulesPath,
|
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
@ -12,7 +11,6 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
|
||||||
];
|
];
|
||||||
services.yggdrasil.persistentKeys = false;
|
services.yggdrasil.persistentKeys = false;
|
||||||
deploy = {
|
deploy = {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
flake,
|
flake,
|
||||||
modulesPath,
|
|
||||||
# config,
|
# config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
@ -13,7 +12,6 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
|
||||||
];
|
];
|
||||||
services = {
|
services = {
|
||||||
uptime-kuma = {
|
uptime-kuma = {
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,17 @@
|
||||||
{ flake, pkgs, ... }:
|
{
|
||||||
|
flake,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
with builtins;
|
with builtins;
|
||||||
map (fn: ./${fn}) (filter (fn: fn != "default.nix") (attrNames (readDir ./.)))
|
map (fn: ./${fn}) (filter (fn: fn != "default.nix") (attrNames (readDir ./.)))
|
||||||
++ [
|
++ [
|
||||||
flake.inputs.disko.nixosModules.default
|
flake.inputs.disko.nixosModules.default
|
||||||
|
|
||||||
|
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||||
];
|
];
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
nixpkgs.hostPlatform = "x86_64-linux";
|
nixpkgs.hostPlatform = "x86_64-linux";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue