Format nix files

finchie
Sep 9, 2025, 1:09 PM
KJICRZV4XXP7MRGJWOL7PWYZYE6AG5HYU46LBPWOEVWQOVETRRNQC

Dependencies

  • [2] 6I2HQYU2 Add basic flake configuration
  • [3] 5FI47NSA Migrate to home-manager
  • [4] VVNVU6K7 Auto-format Nix code
  • [5] QBAINJHV Add cosmic binary cache
  • [6] RKLWZOVS Update hardware-configuration.nix to reflect new swap partition
  • [7] BMJ2QCKK Set nushell to default shell
  • [8] MDC4P4ZA Migrate to `lix`
  • [9] NTULMTAW Re-generate `hardware-configuration.nix`
  • [10] CMWNEOZC Add support for `OSX-KVM`
  • [11] TQ5VEAMA Remove unused Nix module imports
  • [12] RSQ7CKAZ Move home-manager packages into `pkgs/` directory
  • [13] U2HEKHAE Reformat `flake.nix`
  • [14] ZN5J7PT2 Add `quickemu` package
  • [15] PKH5OS6U Add Wild linker
  • [16] KTK4RG7M Add miri
  • [17] QXOFXGCV Migrate from `nixos-comsic` flake to `nixpkgs`
  • [18] 2JDOVACY Fix `wild` linker
  • [19] CAXXDOVK Temporary disable `wild` overlay to prevent build errors
  • [20] IQGCSPOV Update `lix` config to latest recommendations
  • [21] AADTWDP7 Enable docker
  • [22] CRYZPNKD Move nixos-specific files into `nixos/` directory

Change contents

  • replacement in pkgs/rust.nix at line 1
    [12.51][12.52:69]()
    { pkgs, ... }: {
    [12.51]
    [12.69]
    { pkgs, ... }:
    {
  • replacement in pkgs/rust.nix at line 4
    [12.100][12.100:150]()
    (rust-bin.selectLatestNightlyWith (toolchain:
    [12.100]
    [12.150]
    (rust-bin.selectLatestNightlyWith (
    toolchain:
  • replacement in pkgs/rust.nix at line 7
    [12.185][16.0:21](),[16.21][16.21:93]()
    extensions =
    [ "llvm-tools" "rust-src" "rustc-codegen-cranelift" "miri" ];
    [12.185]
    [12.261]
    extensions = [
    "llvm-tools"
    "miri"
    "rust-src"
    "rustc-codegen-cranelift"
    ];
  • replacement in pkgs/rust.nix at line 21
    [12.529][12.529:539]()
    }))
    [12.529]
    [12.539]
    }
    ))
  • replacement in pkgs/development.nix at line 1
    [12.1110][14.0:17]()
    { pkgs, ... }: {
    [12.1110]
    [12.1128]
    { pkgs, ... }:
    {
  • replacement in pkgs/desktop.nix at line 1
    [12.1809][12.1810:1827]()
    { pkgs, ... }: {
    [12.1809]
    [12.1827]
    { pkgs, ... }:
    {
  • replacement in nixos/hardware-configuration.nix at line 4
    [2.240][11.16:51]()
    { config, lib, modulesPath, ... }:
    [2.240]
    [2.281]
    {
    config,
    lib,
    modulesPath,
    ...
    }:
  • replacement in nixos/hardware-configuration.nix at line 12
    [2.284][2.284:296](),[2.296][6.0:57](),[6.57][2.353:360](),[4.220][2.353:360](),[2.353][2.353:360]()
    imports =
    [ (modulesPath + "/installer/scan/not-detected.nix")
    ];
    [2.284]
    [2.360]
    imports = [
    (modulesPath + "/installer/scan/not-detected.nix")
    ];
  • replacement in nixos/hardware-configuration.nix at line 16
    [2.361][9.0:94]()
    boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
    [2.361]
    [2.466]
    boot.initrd.availableKernelModules = [
    "ehci_pci"
    "ahci"
    "usbhid"
    "usb_storage"
    "sd_mod"
    ];
  • edit in nixos/hardware-configuration.nix at line 26
    [2.575][2.575:596](),[2.596][6.144:217](),[6.217][2.669:699](),[4.300][2.669:699](),[2.669][2.669:699]()
    fileSystems."/" =
    { device = "/dev/disk/by-uuid/9a5c78da-3650-4895-8f6a-f3ccf194ad90";
    fsType = "ext4";
    };
  • replacement in nixos/hardware-configuration.nix at line 27
    [2.700][2.700:728](),[2.728][6.218:264](),[6.264][2.774:797](),[4.353][2.774:797](),[2.774][2.774:797](),[2.797][9.95:142](),[9.142][2.797:804](),[2.797][2.797:804]()
    fileSystems."/boot/efi" =
    { device = "/dev/disk/by-uuid/B8E0-2F59";
    fsType = "vfat";
    options = [ "fmask=0022" "dmask=0022" ];
    };
    [2.700]
    [2.804]
    fileSystems."/" = {
    device = "/dev/disk/by-uuid/9a5c78da-3650-4895-8f6a-f3ccf194ad90";
    fsType = "ext4";
    };
  • replacement in nixos/hardware-configuration.nix at line 32
    [2.805][6.265:358]()
    swapDevices =
    [ { device = "/dev/disk/by-uuid/537802d0-2a6d-4ca6-9c49-5bf6170180a2"; }
    [2.805]
    [6.358]
    fileSystems."/boot/efi" = {
    device = "/dev/disk/by-uuid/B8E0-2F59";
    fsType = "vfat";
    options = [
    "fmask=0022"
    "dmask=0022"
  • edit in nixos/hardware-configuration.nix at line 39
    [6.365]
    [2.826]
    };
    swapDevices = [
    { device = "/dev/disk/by-uuid/537802d0-2a6d-4ca6-9c49-5bf6170180a2"; }
    ];
  • replacement in nixos/configuration.nix at line 180
    [7.26][10.292:366]()
    extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" "kvm" ];
    [7.26]
    [2.8518]
    extraGroups = [
    "networkmanager"
    "wheel"
    "docker"
    "libvirtd"
    "kvm"
    ];
  • replacement in nixos/configuration.nix at line 197
    [2.9259][13.107:195]()
    steam =
    pkgs.steam.override { extraPkgs = pkgs: with pkgs; [ libgdiplus ]; };
    [2.9259]
    [2.9365]
    steam = pkgs.steam.override { extraPkgs = pkgs: with pkgs; [ libgdiplus ]; };
  • replacement in home.nix at line 2
    [3.131][12.2344:2430]()
    { ... }: {
    imports = [ ./pkgs/desktop.nix ./pkgs/development.nix ./pkgs/rust.nix ];
    [3.131]
    [3.154]
    { ... }:
    {
    imports = [
    ./pkgs/desktop.nix
    ./pkgs/development.nix
    ./pkgs/rust.nix
    ];
  • replacement in flake.nix at line 21
    [8.199][20.76:168]()
    url =
    "https://git.lix.systems/lix-project/nixos-module/archive/main.tar.gz";
    [8.199]
    [20.168]
    url = "https://git.lix.systems/lix-project/nixos-module/archive/main.tar.gz";
  • replacement in flake.nix at line 46
    [3.2137][20.211:281](),[18.71][3.2190:2383](),[19.190][3.2190:2383](),[5.192][3.2190:2383](),[17.212][3.2190:2383](),[20.281][3.2190:2383](),[8.381][3.2190:2383](),[3.2190][3.2190:2383](),[3.2383][13.587:623](),[13.623][3.2413:2462](),[3.2413][3.2413:2462](),[3.2462][13.624:666]()
    outputs = inputs@{ nixpkgs, home-manager, lix-module, lix, ... }: {
    nixosConfigurations = {
    # A gotcha: nixos is the HOSTNAME, need to change this eventually
    nixos = nixpkgs.lib.nixosSystem {
    system = "x86_64-linux";
    modules = [
    ./nixos/configuration.nix
    home-manager.nixosModules.home-manager
    lix-module.nixosModules.default
    [3.2137]
    [13.710]
    outputs =
    inputs@{
    nixpkgs,
    home-manager,
    lix-module,
    lix,
    ...
    }:
    {
    nixosConfigurations = {
    # A gotcha: nixos is the HOSTNAME, need to change this eventually
    nixos = nixpkgs.lib.nixosSystem {
    system = "x86_64-linux";
    modules = [
    ./nixos/configuration.nix
    home-manager.nixosModules.home-manager
    lix-module.nixosModules.default
  • replacement in flake.nix at line 64
    [13.711][13.711:750](),[13.750][3.2462:2642](),[3.2462][3.2462:2642]()
    # Home-manager configuration
    {
    home-manager.useGlobalPkgs = true;
    home-manager.useUserPackages = true;
    home-manager.users.finchie = import ./home.nix;
    }
    [13.711]
    [13.751]
    # Home-manager configuration
    {
    home-manager.useGlobalPkgs = true;
    home-manager.useUserPackages = true;
    home-manager.users.finchie = import ./home.nix;
    }
  • replacement in flake.nix at line 71
    [13.752][13.752:793](),[13.793][3.2655:2701](),[3.2655][3.2655:2701](),[3.2739][3.2739:2783](),[3.2783][3.2783:2821](),[3.2821][19.191:229](),[19.229][2.3158:3173](),[15.359][2.3158:3173](),[3.2821][2.3158:3173](),[2.3158][2.3158:3173](),[2.3173][13.794:806](),[5.238][3.2835:2846](),[13.806][3.2835:2846](),[3.2835][3.2835:2846]()
    # Nixpkgs overlays
    {
    nixpkgs.overlays = with inputs; [
    rust-overlay.overlays.default
    mozilla-overlay.overlay
    # wild.overlays.default
    ];
    }
    ];
    [13.752]
    [4.356]
    # Nixpkgs overlays
    {
    nixpkgs.overlays = with inputs; [
    rust-overlay.overlays.default
    mozilla-overlay.overlay
    # wild.overlays.default
    ];
    }
    ];
  • edit in flake.nix at line 81
    [4.357]
    [3.2855]
    };
  • edit in flake.nix at line 84
    [2.5643][2.5643:5648]()
    };