feat: add formatter

This commit is contained in:
danny 2026-01-10 12:46:40 +08:00
parent d036cf224a
commit cf005ff872
269 changed files with 369 additions and 226 deletions

0
system/dev/dn-lap/common/boot.nix Normal file → Executable file
View file

0
system/dev/dn-lap/common/default.nix Normal file → Executable file
View file

43
system/dev/dn-lap/common/hardware-configuration.nix Normal file → Executable file
View file

@ -1,28 +1,42 @@
# 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") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "uas" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.availableKernelModules = [
"xhci_pci"
"thunderbolt"
"nvme"
"uas"
"sd_mod"
"rtsx_pci_sdmmc"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
fileSystems."/boot" =
{
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [
{ device = "/dev/disk/by-label/swap"; }
@ -36,6 +50,5 @@
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

0
system/dev/dn-lap/default.nix Normal file → Executable file
View file

0
system/dev/dn-lap/games/default.nix Normal file → Executable file
View file

4
system/dev/dn-lap/home/default.nix Normal file → Executable file
View file

@ -55,10 +55,6 @@ in
imports = [
../../../../home/presets/basic.nix
(import ../../../../home/user/bitwarden.nix {
email = "danny@net.dn";
baseUrl = "https://bitwarden.net.dn";
})
# waybar
(import ../../../../home/user/waybar.nix {

0
system/dev/dn-lap/network/default.nix Normal file → Executable file
View file

0
system/dev/dn-lap/office/default.nix Normal file → Executable file
View file

0
system/dev/dn-lap/services/default.nix Normal file → Executable file
View file

0
system/dev/dn-lap/sops/default.nix Normal file → Executable file
View file

0
system/dev/dn-lap/sops/secret.yaml Normal file → Executable file
View file

0
system/dev/dn-lap/sops/sops-conf.nix Normal file → Executable file
View file

0
system/dev/dn-lap/utility/default.nix Normal file → Executable file
View file

0
system/dev/dn-lap/virtualisation/default.nix Normal file → Executable file
View file