1
0
Fork 0
forked from emily/nixfiles

Remove unused bindings config files

This commit is contained in:
emily 2024-06-12 15:00:55 +02:00
parent 7696430491
commit 114beec6ec
Signed by untrusted user: emily
GPG key ID: F6F4C66207FCF995
23 changed files with 27 additions and 27 deletions

View file

@ -1,12 +1,12 @@
{ config, lib, ... }: with lib; { { lib, ... }: with lib; {
networking = { networking = {
domain = mkDefault "kyouma.net"; domain = mkDefault "kyouma.net";
dhcpcd.enable = false;
nftables.enable = mkDefault true; nftables.enable = mkDefault true;
firewall.logRefusedConnections = mkDefault false; firewall.logRefusedConnections = mkDefault false;
}; };
systemd.network.enable = true; systemd.network.enable = true;
networking.dhcpcd.enable = false;
services.resolved = { services.resolved = {
enable = true; enable = true;

View file

@ -1,4 +1,4 @@
{ modulesPath, config, lib, inputs, pkgs, ... }: { { modulesPath, inputs, pkgs, ... }: {
imports = [ imports = [
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { { ... }: {
imports = [ imports = [
../../common ../../common
../../profiles/headless.nix ../../profiles/headless.nix

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { pkgs, ... }:
let let
landingPage = pkgs.writeTextDir "index.html" '' landingPage = pkgs.writeTextDir "index.html" ''
<!DOCTYPE html> <!DOCTYPE html>

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, inputs, ... }: { { lib, ... }: {
imports = [ imports = [
../../common ../../common
../../profiles/kartoffel.nix ../../profiles/kartoffel.nix

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { { ... }: {
imports = [ imports = [
../../common ../../common
../../profiles/builder.nix ../../profiles/builder.nix

View file

@ -1,4 +1,4 @@
{ config, inputs, ... }: { { inputs, ... }: {
imports = [ imports = [
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
]; ];

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, modulesPath, ... }: { { modulesPath, ... }: {
imports = imports = [
[ (modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_scsi" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_scsi" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];

View file

@ -1,4 +1,4 @@
{ config, inputs, lib, pkgs, ... }: { { lib, pkgs, ... }: {
imports = [ imports = [
../../common ../../common
../../profiles/rpi.nix ../../profiles/rpi.nix

View file

@ -1,4 +1,4 @@
{ config, lib, inputs, ... }: { { lib, inputs, ... }: {
imports = [ imports = [
"${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix" "${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
./configuration.nix ./configuration.nix

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { { ... }: {
imports = [ imports = [
../../common ../../common
../../profiles/headless.nix ../../profiles/headless.nix

View file

@ -1,4 +1,4 @@
{ config, inputs, ... }: { { inputs, ... }: {
imports = [ imports = [
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
]; ];

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, ... }: { modulesPath, ... }:
{ {
imports = imports =

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, ... }: { modulesPath, ... }:
{ {
imports = imports =

View file

@ -1,4 +1,4 @@
{ config, inputs, lib, pkgs, ... }: { { config, inputs, lib, ... }: {
imports = [ imports = [
inputs.fernglas.nixosModules.default inputs.fernglas.nixosModules.default
inputs.kyouma-www.nixosModules.default inputs.kyouma-www.nixosModules.default

View file

@ -6,7 +6,7 @@
min-free = ${builtins.toString (4096 * 1024 * 1024)} min-free = ${builtins.toString (4096 * 1024 * 1024)}
max-free = ${builtins.toString (8192 * 1024 * 1024)} max-free = ${builtins.toString (8192 * 1024 * 1024)}
max-substitution-jobs = 20 max-substitution-jobs = 20
max-silent-time = 3600 max-silent-time = 7200
''; '';
users.users.build = { users.users.build = {
isNormalUser = true; isNormalUser = true;

View file

@ -1,4 +1,4 @@
{config, pkgs, inputs, ... }: { { pkgs, inputs, ... }: {
home-manager.users.emily.imports = [ home-manager.users.emily.imports = [
inputs.nixvim.homeManagerModules.nixvim inputs.nixvim.homeManagerModules.nixvim
]; ];

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { { ... }: {
services.resolved = { services.resolved = {
extraConfig = '' extraConfig = ''
DNS = [2a0f:be01::1] DNS = [2a0f:be01::1]

View file

@ -1,4 +1,4 @@
{ lib, modulesPath, ... }: { { modulesPath, ... }: {
imports = [ imports = [
(modulesPath + "/virtualisation/proxmox-lxc.nix") (modulesPath + "/virtualisation/proxmox-lxc.nix")
]; ];

View file

@ -1,4 +1,4 @@
{ config, inputs, lib, pkgs, ... }: { { inputs, pkgs, ... }: {
imports = [ imports = [
inputs.nixos-hardware.nixosModules.raspberry-pi-4 inputs.nixos-hardware.nixosModules.raspberry-pi-4
]; ];

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: with lib; { { config, lib, ... }: with lib; {
kyouma.deployment.tags = [ "web" ]; kyouma.deployment.tags = [ "web" ];
security.dhparams.enable = true; security.dhparams.enable = true;
security.dhparams.params.nginx = {}; security.dhparams.params.nginx = {};

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { { config, pkgs, ... }: {
services.mastodon = { services.mastodon = {
enable = true; enable = true;
package = pkgs.nyastodon; package = pkgs.nyastodon;

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { { config, ... }: {
sops.secrets."services/vaultwarden/environmentFile" = { sops.secrets."services/vaultwarden/environmentFile" = {
sopsFile = ../../secrets/services/vaultwarden.yaml; sopsFile = ../../secrets/services/vaultwarden.yaml;
owner = "vaultwarden"; owner = "vaultwarden";