Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed May 2, 2024
1 parent 9ae18e5 commit 1de9823
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 17 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This repository contains configuration files for building a custom NixOS ISO. The ISO is based on the `nixpkgs-unstable` repository and includes the latest Zen kernel (6.8+) with support for the latest filesystems, including `bcachefs`, `btrfs`, `ext4`.

Two types of ISO can be built:-

* Graphical
* Minimal

Expand All @@ -23,12 +24,15 @@ git clone https://github.com/JohnRTitor/nix-iso.git
cd nix-iso
```

- For building full graphical ISO
```
* For building full graphical ISO

```bash
nix build .#nixosConfigurations.nixos-iso.config.system.build.isoImage
```
- For building minimal ISO
```

* For building minimal ISO

```bash
nix build .#nixosConfigurations.nixos-minimal.config.system.build.isoImage
```

Expand Down
15 changes: 7 additions & 8 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

{
description = "Unstable NixOS custom installation media";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
outputs =
{ self, nixpkgs }:
let
Expand Down
4 changes: 2 additions & 2 deletions graphical-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"cifs"
"bcachefs"
"ext4"
] ++ lib.optionals (zfsSupport) [ "zfs" ];
] ++ lib.optionals zfsSupport [ "zfs" ];

networking.hostName = "nixos-iso"; # set live session hostname

Expand All @@ -46,7 +46,7 @@

nixpkgs.config.allowUnfree = true;
# Set environment variable for allowing non-free packages
environment.sessionVariables = rec {
environment.sessionVariables = {
NIXPKGS_ALLOW_UNFREE = "1";
};

Expand Down
4 changes: 2 additions & 2 deletions minimal-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"ntfs"
"bcachefs"
"ext4"
] ++ lib.optionals (zfsSupport) [ "zfs" ];
] ++ lib.optionals zfsSupport [ "zfs" ];

networking.hostName = "nixos-minimal"; # set live session hostname
# Wireless network and wired network is enabled by default

nixpkgs.config.allowUnfree = true;
# Set environment variable for allowing non-free packages
environment.sessionVariables = rec {
environment.sessionVariables = {
NIXPKGS_ALLOW_UNFREE = "1";
};

Expand Down

0 comments on commit 1de9823

Please sign in to comment.