NixOS + home-manager configs, mirrored from GitLab SaaS. gitlab.com/andreijiroh-dev/nixops-config
nix-flake nixos home-manager nixpkgs nix-flakes
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(global): implement more tweaks on ISO image generation

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>

+32 -28
+3 -22
.github/workflows/flake-ci.yml
··· 48 48 cancel-in-progress: false 49 49 group: recoverykit-iso-builds 50 50 needs: [update-lockfile] 51 - name: Build custom recovery/minimal ISO 51 + name: Build custom Live CD ISO 52 52 runs-on: ubuntu-latest 53 53 steps: 54 54 - uses: actions/checkout@v4 ··· 83 83 - name: Prep dist dir 84 84 run: mkdir dist 85 85 86 - - name: Build amd64 minimal ISO file 86 + - name: Build custom live ISO 87 87 run: | 88 88 set -xe 89 89 90 90 echo ::group::Build log 91 - nix build --impure .#nixosConfigurations.live-cd-graphical.config.system.build.isoImage -vv --show-trace 92 - echo ::endgroup:: 93 - 94 - echo ::group::Post-build inspection 95 - echo "${PWD}/result:" 96 - ls -Al result 97 - 98 - echo "${PWD}/result/iso:" 99 - ls -Al result/iso 100 - echo ::endgroup:: 101 - 102 - # temporary hackaround for permission errors 103 - sudo cp result/iso/*.iso ./dist/ -rv 104 - 105 - - name: Build custom live graphical ISO 106 - run: | 107 - set -xe 108 - 109 - echo ::group::Build log 110 - nix build --impure .#nixosConfigurations.live-cd-graphical.config.system.build.isoImage -vv --show-trace 91 + nix build .#live-cd -vv --show-trace 111 92 echo ::endgroup:: 112 93 113 94 echo ::group::Post-build inspection
+26 -2
flake.nix
··· 136 136 137 137 # Optionally make one the default to support `nix profile add .#` 138 138 default = pkgs.callPackage ./pkgs/coolify-compose.nix { }; 139 + 140 + live-cd = (nixpkgs.lib.nixosSystem { 141 + inherit system; 142 + modules = [ 143 + ({ ... }: { 144 + _module.args = { inherit self nix4vscode; }; 145 + }) 146 + nix-ld.nixosModules.nix-ld 147 + determinate.nixosModules.default 148 + home-manager.nixosModules.home-manager 149 + vscode-server.nixosModules.default 150 + chaotic.nixosModules.default 151 + ./hosts/live-cd/kde-plasma.nix 152 + ]; 153 + specialArgs = { 154 + inherit 155 + zen-browser 156 + nix4vscode 157 + self 158 + chaotic 159 + nixpkgs 160 + ; 161 + }; 162 + }).config.system.build.isoImage; 139 163 }; 140 164 141 165 # If you want app-style outputs, you can also define apps here: ··· 274 298 }; 275 299 276 300 live-cd-minimal = nixpkgs.lib.nixosSystem { 277 - system = builtins.currentSystem; 301 + system = "x86_64-linux"; 278 302 modules = [ 279 303 ( 280 304 { ... }: ··· 301 325 }; 302 326 303 327 live-cd-graphical = nixpkgs.lib.nixosSystem { 304 - system = builtins.currentSystem; 328 + system = "x86_64-linux"; 305 329 modules = [ 306 330 ( 307 331 { ... }:
+3 -3
hosts/live-cd/base.nix
··· 19 19 ]; 20 20 isoImage.showConfiguration = lib.mkDefault true; 21 21 isoImage.configurationName = lib.mkDefault "(Linux ${config.boot.kernelPackages.kernel.version})"; 22 - system.nixos.tags = [ "livecd" ]; 23 - system.nixos.release = "unstable-rolling"; 24 - system.nixos.codeName = "Rolling unstable Live CD builds via CI"; 22 + #system.nixos.tags = [ "livecd" ]; 23 + #system.nixos.release = "unstable-rolling"; 24 + #system.nixos.codeName = "Rolling unstable Live CD builds via CI"; 25 25 26 26 networking = { 27 27 hostName = "multichaos-livecd";
-1
hosts/live-cd/kde-plasma.nix
··· 5 5 ./base.nix 6 6 ]; 7 7 isoImage.edition = "graphical"; 8 - isoImage.showConfiguration = lib.mkDefault false; 9 8 10 9 specialisation.plasma.configuration = { 11 10 imports = [