docs: Add documentation to recent headers

This commit is contained in:
Swarsel 2024-08-10 19:04:27 +02:00
parent 3155f78cda
commit 136c945cfa
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
6 changed files with 580 additions and 611 deletions

View file

@ -112,21 +112,7 @@
}
);
# pkgs for home-manager builds
# homepkgs = import nixpkgs { system = "x86_64-linux";
# overlays = [ inputs.emacs-overlay.overlay
# inputs.nur.overlay
# inputs.nixgl.overlay
# (final: _prev: {
# stable = import inputs.nixpkgs-stable {
# inherit (final) system config;
# };
# })
# ];
# config.allowUnfree = true;
# };
# # NixOS modules that can only be used on NixOS systems
# NixOS modules that can only be used on NixOS systems
nixModules = [
inputs.stylix.nixosModules.stylix
inputs.lanzaboote.nixosModules.lanzaboote
@ -162,7 +148,6 @@
(pkgs:
{
default = pkgs.mkShell {
# Enable experimental features without having to specify the argument
NIX_CONFIG = "experimental-features = nix-command flakes";
nativeBuildInputs = [ pkgs.nix pkgs.home-manager pkgs.git ];
};
@ -177,8 +162,6 @@
inputs.nixgl.overlay
];
# NixOS setups - run home-manager as a NixOS module for better compatibility
# another benefit - full rebuild on nixos-rebuild switch
# run rebuild using `nswitch`
@ -227,20 +210,6 @@
];
};
# winters = nixpkgs.lib.nixosSystem {
# specialArgs = { inherit inputs; };
# modules = nixModules ++ [
# inputs.nixos-hardware.nixosModules.framework-16-inch-7040-amd
# ./profiles/winters/nixos.nix
# inputs.home-manager.nixosModules.home-manager
# {
# home-manager.users.swarsel.imports = mixedModules ++ [
# ./profiles/winters/home.nix
# ];
# }
# ];
# };
nginx = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [