-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
153 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# by https://github.com/danth/stylix/blob/master/.github/workflows/docs.yml | ||
name: Release | ||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
build: | ||
name: Release | ||
permissions: | ||
contents: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
extra-conf: | | ||
extra-experimental-features = nix-command flakes | ||
- name: Set up cache | ||
uses: DeterminateSystems/magic-nix-cache-action@main | ||
- name: Build ISO | ||
run: nix build github:${{ github.repository }}/${{ github.sha }}#iso | ||
- name: Prepare ISO for upload | ||
run: | | ||
cp -r --dereference --no-preserve=mode,ownership result/ public/ | ||
- name: upload ISO | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
path: path/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
pkgs, | ||
lib, | ||
modulesPath, | ||
self, | ||
... | ||
}: | ||
{ | ||
|
||
imports = [ "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ]; | ||
nixpkgs.hostPlatform = { | ||
system = "x86_64-linux"; | ||
}; | ||
|
||
environment.systemPackages = with pkgs; [ | ||
neovim | ||
disko | ||
git | ||
vesktop | ||
vscodium | ||
firefox | ||
kitty | ||
]; | ||
networking = { | ||
wireless.enable = false; | ||
networkmanager.enable = true; | ||
}; | ||
|
||
services.greetd = { | ||
enable = true; | ||
settings = { | ||
initial_session = { | ||
command = "${pkgs.hyprland}/bin/Hyprland"; | ||
user = "nixos"; | ||
}; | ||
}; | ||
}; | ||
|
||
isoImage = { | ||
isoName = lib.mkForce "DashNix.iso"; | ||
makeEfiBootable = true; | ||
makeUsbBootable = true; | ||
contents = [ | ||
{ | ||
source = "${self}/example"; | ||
target = "example-config"; | ||
} | ||
]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/nix/store/3y1kplrb4rnks5hpb3n9c0r3x5x3lw54-dashNix-book | ||
/nix/store/9snhsj18w6vyi4f25sq93az859yigcdp-DashNix.iso |