installer: remove unused reference to self

This commit is contained in:
Primrose 2025-06-12 10:33:46 +02:00
parent 0422a27504
commit 807fa3b4ee
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -1,57 +1,54 @@
let #
self = import ../../default.nix {}; # Note:
# # I could've import the wifi configuration and use it here, but I haven't
# Note: # figured out an elegant (enough) way to do it while keeping my secrets
# I could've import the wifi configuration and use it here, but I haven't # encrypted.
# figured out an elegant (enough) way to do it while keeping my secrets #
# encrypted. {
# pkgs,
in modulesPath,
{ ...
pkgs, }: {
modulesPath, imports = [
... ../nixosModules/common/system-nixconf.nix
}: { ../nixosModules/extra/layouts
imports = [
../nixosModules/common/system-nixconf.nix
../nixosModules/extra/layouts
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
# ./installer/tungsten.nix # ./installer/tungsten.nix
];
nix.settings = {
extra-substituters = ["https://leana8959.cachix.org"];
extra-trusted-substituters = ["https://leana8959.cachix.org"];
extra-trusted-public-keys = ["leana8959.cachix.org-1:CxQSAp8lcgMv8Me459of0jdXRW2tcyeYRKTiiUq8z0M="];
experimental-features = ["nix-command" "flakes"];
};
nixpkgs = {
overlays = map import [
../overlays/agenix.nix
../overlays/disko.nix
../overlays/nur.nix
../overlays/nix-tree.nix
../packages/overlay.nix
]; ];
};
nix.settings = { isoImage.squashfsCompression = "zstd -Xcompression-level 3";
extra-substituters = ["https://leana8959.cachix.org"];
extra-trusted-substituters = ["https://leana8959.cachix.org"];
extra-trusted-public-keys = ["leana8959.cachix.org-1:CxQSAp8lcgMv8Me459of0jdXRW2tcyeYRKTiiUq8z0M="];
experimental-features = ["nix-command" "flakes"];
};
nixpkgs = { environment.systemPackages = [
overlays = map import [ pkgs.disko
../overlays/agenix.nix pkgs.git
../overlays/disko.nix pkgs.pastebinit # for sharing cli output & debugging
../overlays/nur.nix pkgs.hdparm # to ATA secure wipe disks
../overlays/nix-tree.nix pkgs.btop
];
../packages/overlay.nix networking.firewall.allowedTCPPorts = [8080]; # in case you wanna nc
];
};
isoImage.squashfsCompression = "zstd -Xcompression-level 3"; programs.tmux.enable = true;
users.users.nixos.shell = pkgs.fish;
environment.systemPackages = [ programs.fish.enable = true;
pkgs.disko }
pkgs.git
pkgs.pastebinit # for sharing cli output & debugging
pkgs.hdparm # to ATA secure wipe disks
pkgs.btop
];
networking.firewall.allowedTCPPorts = [8080]; # in case you wanna nc
programs.tmux.enable = true;
users.users.nixos.shell = pkgs.fish;
programs.fish.enable = true;
}