mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
make package set self referential collapse redundant files for package plumbing rework packages overlay and simplify scope update altiosevka font make altiosevka an overlay instead note invert package logic scope overlay unify package overlay logic fix overlay reference
57 lines
1.4 KiB
Nix
57 lines
1.4 KiB
Nix
let
|
|
self = import ../../default.nix {};
|
|
#
|
|
# Note:
|
|
# I could've import the wifi configuration and use it here, but I haven't
|
|
# figured out an elegant (enough) way to do it while keeping my secrets
|
|
# encrypted.
|
|
#
|
|
in
|
|
{
|
|
pkgs,
|
|
modulesPath,
|
|
...
|
|
}: {
|
|
imports = [
|
|
../nixosModules/common/system-nixconf.nix
|
|
../nixosModules/extra/layouts
|
|
|
|
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.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
|
|
];
|
|
};
|
|
|
|
isoImage.squashfsCompression = "zstd -Xcompression-level 3";
|
|
|
|
environment.systemPackages = [
|
|
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;
|
|
}
|