cleanup: nixfmt everything

This commit is contained in:
Noa Aarts 2024-10-28 11:04:52 +01:00
parent a784ba021f
commit a4c5e7aca8
Signed by: noa
GPG key ID: 1850932741EFF672
22 changed files with 317 additions and 224 deletions

View file

@ -2,19 +2,26 @@
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ modulesPath, pkgs, inputs, lib, nix-colors, config, ... }:
{
imports =
[
# Include the results of the hardware scan.
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
./disk-config.nix
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
modulesPath,
pkgs,
inputs,
lib,
nix-colors,
config,
...
}:
{
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
./disk-config.nix
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
../../common
];
../../common
];
# LOVE me some blob
hardware.enableRedistributableFirmware = true;
@ -39,7 +46,12 @@
users.users = {
noa = {
isNormalUser = true;
extraGroups = [ "networkmanager" "wheel" "docker" "libvirt" ];
extraGroups = [
"networkmanager"
"wheel"
"docker"
"libvirt"
];
hashedPassword = "$6$rounds=512400$g/s4dcRttXi4ux6c$Z6pKnhJXcWxv0TBSMtvJu5.piETdUBSgBVN7oDPKiQV.lbTYz1r.0XQLwMYxzcvaaX0DL6Iw/SEUTiC2M50wC/";
openssh.authorizedKeys.keys = import ../../common/ssh-keys.nix;
};
@ -66,7 +78,6 @@
# enableSSHSupport = true;
# };
programs.zsh.enable = true;
home-manager = {
@ -153,7 +164,7 @@
github-runners = {
flurry-runner = {
enable = true;
extraPackages = with pkgs;[
extraPackages = with pkgs; [
nodejs
curl
];
@ -206,7 +217,6 @@
modules = [ pkgs.nginxModules.brotli ];
};
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
@ -253,7 +263,6 @@
};
};
security.acme = {
acceptTerms = true;
defaults.email = "noa@voorwaarts.nl";

View file

@ -1,15 +1,24 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports =
[
(modulesPath + "/installer/scan/not-detected.nix")
];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" ];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];

View file

@ -1,11 +1,16 @@
{ config, pkgs, mineflake, inputs, ... }:
{
config,
pkgs,
mineflake,
inputs,
...
}:
{
imports =
[
../../modules/applications
../../common/nvim/nvim.nix
];
imports = [
../../modules/applications
../../common/nvim/nvim.nix
];
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = "noa";
@ -56,8 +61,6 @@
enable = true;
};
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
home.file = {

View file

@ -1,10 +1,14 @@
{ config, pkgs, inputs, ... }:
{
config,
pkgs,
inputs,
...
}:
{
imports =
[
../../common/nvim/nvim.nix
];
imports = [
../../common/nvim/nvim.nix
];
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = "root";
@ -34,7 +38,6 @@
lsd
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
home.file = {