mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nix: refactor modules pass 1
This commit is contained in:
parent
f91017271d
commit
ec7246e524
18 changed files with 122 additions and 124 deletions
36
nix/configurations/installer.nix
Normal file
36
nix/configurations/installer.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
let
|
||||
system = "x86_64-linux";
|
||||
self = import ../../default.nix {};
|
||||
in
|
||||
{
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
{
|
||||
nixpkgs = {
|
||||
hostPlatform = system;
|
||||
overlays = [self.overlays.default self.overlays.packages'];
|
||||
};
|
||||
}
|
||||
|
||||
../nixosModules/common/system-nixconf.nix
|
||||
../nixosModules/extra/layouts
|
||||
|
||||
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
|
||||
];
|
||||
isoImage.squashfsCompression = "zstd -Xcompression-level 3";
|
||||
environment.systemPackages = [
|
||||
pkgs.disko
|
||||
pkgs.fish
|
||||
pkgs.git
|
||||
pkgs.pastebinit # for sharing cli output & debugging
|
||||
pkgs.hdparm # to ATA secure wipe disks
|
||||
pkgs.btop
|
||||
pkgs.just # run my helpers
|
||||
];
|
||||
networking.firewall.allowedTCPPorts = [8080]; # in case you wanna nc
|
||||
users.users.nixos.shell = pkgs.fish;
|
||||
programs.fish.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue