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 = {
domain = mkDefault "kyouma.net";
dhcpcd.enable = false;
nftables.enable = mkDefault true;
firewall.logRefusedConnections = mkDefault false;
};
systemd.network.enable = true;
networking.dhcpcd.enable = false;
services.resolved = {
enable = true;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
{ config, inputs, lib, pkgs, ... }: {
{ inputs, pkgs, ... }: {
imports = [
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" ];
security.dhparams.enable = true;
security.dhparams.params.nginx = {};

View file

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

View file

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