mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-25 04:02:11 +02:00
hosts: drop iso
As alluded to in the previous commit, I don't actually have a need to create a custom iso due to the power of Nix and NixOS.
This commit is contained in:
parent
4a04454547
commit
d286dd6474
@ -78,12 +78,6 @@
|
|||||||
specialArgs.nix-config = self;
|
specialArgs.nix-config = self;
|
||||||
modules = listFilesRecursive ./hosts/laptop;
|
modules = listFilesRecursive ./hosts/laptop;
|
||||||
};
|
};
|
||||||
|
|
||||||
iso = nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
specialArgs.nix-config = self;
|
|
||||||
modules = listFilesRecursive ./hosts/iso;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
|
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
modulesPath,
|
|
||||||
nix-config,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
inherit (builtins) attrValues;
|
|
||||||
|
|
||||||
username = "nixos";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
|
|
||||||
|
|
||||||
nix-config.inputs.home-manager.nixosModules.home-manager
|
|
||||||
] ++ (with nix-config.nixosModules; [
|
|
||||||
stylix
|
|
||||||
fonts
|
|
||||||
desktop
|
|
||||||
librewolf
|
|
||||||
shell
|
|
||||||
]);
|
|
||||||
|
|
||||||
nixpkgs.overlays = attrValues nix-config.overlays;
|
|
||||||
environment.systemPackages = attrValues nix-config.packages.${pkgs.system};
|
|
||||||
|
|
||||||
home-manager = {
|
|
||||||
useGlobalPkgs = true;
|
|
||||||
useUserPackages = true;
|
|
||||||
|
|
||||||
sharedModules =
|
|
||||||
attrValues nix-config.homeModules
|
|
||||||
++ lib.singleton {
|
|
||||||
home.stateVersion = "24.11";
|
|
||||||
};
|
|
||||||
|
|
||||||
users.${username}.home = {
|
|
||||||
inherit username;
|
|
||||||
|
|
||||||
homeDirectory = "/home/${username}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
isoImage.squashfsCompression = "gzip -Xcompression-level 1";
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user