chore: nixfmt *

This commit is contained in:
steveej 2022-10-31 11:04:38 +01:00
parent aae3fd4090
commit 47c5c9dc56
161 changed files with 2693 additions and 3029 deletions

View file

@ -1,6 +1,4 @@
{ pkgs
, ...
}:
{ pkgs, ... }:
{
boot.kernelPackages = pkgs.linuxPackages;
@ -16,9 +14,6 @@
boot.tmpOnTmpfs = true;
# Workaround for nm-pptp to enforce module load
boot.kernelModules = [
"nf_conntrack_proto_gre"
"nf_conntrack_pptp"
];
boot.kernelModules = [ "nf_conntrack_proto_gre" "nf_conntrack_pptp" ];
}

View file

@ -3,11 +3,5 @@
{
nixpkgs.overlays = builtins.attrValues (import ../../../overlays);
imports = [
./boot.nix
./pkg.nix
./user.nix
./system.nix
./hw.nix
];
imports = [ ./boot.nix ./pkg.nix ./user.nix ./system.nix ./hw.nix ];
}

View file

@ -3,12 +3,6 @@
{
hardware.trackpoint.emulateWheel = true;
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"usb_storage"
"sd_mod"
"rtsx_pci_sdmmc"
"cryptd"
];
boot.initrd.availableKernelModules =
[ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" "cryptd" ];
}

View file

@ -1,19 +1,17 @@
{ config
, pkgs
, ... }:
{ config, pkgs, ... }:
{
imports = [
"${<home-manager-module>}/nixos"
];
home-manager.users.root = import ../../../home-manager/configuration/text-minimal.nix { inherit pkgs; };
imports = [ "${<home-manager-module>}/nixos" ];
home-manager.users.root =
import ../../../home-manager/configuration/text-minimal.nix {
inherit pkgs;
};
nixpkgs.config = {
allowBroken = false;
allowUnfree = true;
packageOverrides = pkgs: with pkgs; {
};
packageOverrides = pkgs: with pkgs; { };
};
environment.systemPackages = with pkgs; [

View file

@ -1,8 +1,4 @@
{ config
, pkgs
, lib
, ...
}:
{ config, pkgs, lib, ... }:
{
nix.binaryCachePublicKeys = [
@ -30,20 +26,14 @@
}
'';
environment.variables = {
NIX_PATH = lib.mkForce pkgs.nixPath;
};
environment.variables = { NIX_PATH = lib.mkForce pkgs.nixPath; };
# Fonts, I18N, Date ...
fonts.fonts = [
pkgs.corefonts
];
fonts.fonts = [ pkgs.corefonts ];
console.font = "lat9w-16";
i18n = {
defaultLocale = "en_US.UTF-8";
};
i18n = { defaultLocale = "en_US.UTF-8"; };
time.timeZone = "Europe/Berlin";
services.gpm.enable = true;

View file

@ -1,6 +1,4 @@
{ config
, pkgs
, ... }:
{ config, pkgs, ... }:
let
passwords = import ../../../variables/passwords.crypt.nix;
@ -9,9 +7,7 @@ in {
users.mutableUsers = false;
users.extraUsers.root = mkRoot { };
users.extraUsers.steveej = mkUser {
uid = 1000;
};
users.extraUsers.steveej = mkUser { uid = 1000; };
security.pam.u2f.enable = true;
security.pam.services.steveej.u2fAuth = true;