chore: NixOS | cleanup unused vars and references

This commit is contained in:
2025-01-31 16:48:48 +05:00
parent 17a31970dd
commit 699511e864
3 changed files with 9 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page, on # 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`). # https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, meta, ... }: { pkgs, meta, ... }:
{ {
imports = imports =
@@ -165,5 +165,4 @@
# #
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
system.stateVersion = "24.05"; # Did you read the comment? system.stateVersion = "24.05"; # Did you read the comment?
} }

View File

@@ -8,7 +8,7 @@
disko.inputs.nixpkgs.follows = "nixpkgs"; disko.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = { self, nixpkgs, disko, ... }@inputs: let outputs = { nixpkgs, disko, ... }: let
nodes = [ nodes = [
"homelab-0" "homelab-0"
"homelab-1" "homelab-1"
@@ -23,12 +23,12 @@
}; };
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
# Modules # Modules
disko.nixosModules.disko disko.nixosModules.disko
./hardware-configuration.nix ./hardware-configuration.nix
./disko-config.nix ./disko-config.nix
./configuration.nix ./configuration.nix
]; ];
}; };
}) nodes); }) nodes);
}; };

View File

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