my nixos configuration
0
fork

Configure Feed

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

actions.nix maybe

Thunder e6aa8253 37104fad

+61 -48
+44 -43
flake/actions.nix
··· 13 13 14 14 buildAllHosts = map (n: { 15 15 name = "Build ${n}"; 16 - run = "nix build --accept-flake-config .#nixosConfigurations.${n}.config.system.build.toplevel" 17 - } ) (attrNames config.flake.nixosConfigurations); 16 + run = "nix build --accept-flake-config .#nixosConfigurations.${n}.config.system.build.toplevel"; 17 + }) (attrNames config.flake.nixosConfigurations); 18 18 in { 19 19 ".github/workflows/update-flake.yaml" = { 20 20 jobs.update = { 21 - steps = [ 22 - { 23 - uses = "actions/checkout@v5"; 24 - } 25 - { 26 - uses = "wimpysworld/nothing-but-nix@v6"; 27 - "with".hatchet-protocol = "rampage"; 28 - } 29 - { 30 - name = "Lix Installer"; 31 - run = "curl --proto '=https' --tlsv1.2 -sSf -L https://install.lix.systems/lix | sh -s -- install --no-confirm --extra-conf 'trusted-users = root runner'"; 32 - } 33 - { 34 - name = "Cachix"; 35 - uses = "cachix/cachix-action@v16"; 36 - "with" = { 37 - name = "meowos"; 38 - authToken = "$${{ secrets.CACHIX_AUTH_TOKEN }}"; 39 - }; 40 - } 41 - { 42 - name = "Update Flake Inputs"; 43 - run = "nix flake update --accept-flake-config"; 44 - } 45 - ] ++ 46 - buildAllHosts 47 - ++ [ 48 - { 49 - name = "Commit"; 50 - uses = "stefanzweifel/git-auto-commit-action@v5"; 51 - "with" = { 52 - commit_message = "chore(deps): bump flake.lock"; 53 - commit_user_name = "Flake Bot Update"; 54 - commit_author = "Flake Bot Update <actions@github.com>"; 55 - branch = "main"; 56 - file_pattern = "flake.lock"; 57 - skip_dirty_check = false; 58 - skip_fetch = true; 59 - }; 60 - } 61 - ]; 21 + steps = 22 + [ 23 + { 24 + uses = "actions/checkout@v5"; 25 + } 26 + { 27 + uses = "wimpysworld/nothing-but-nix@v6"; 28 + "with".hatchet-protocol = "rampage"; 29 + } 30 + { 31 + name = "Lix Installer"; 32 + run = "curl --proto '=https' --tlsv1.2 -sSf -L https://install.lix.systems/lix | sh -s -- install --no-confirm --extra-conf 'trusted-users = root runner'"; 33 + } 34 + { 35 + name = "Cachix"; 36 + uses = "cachix/cachix-action@v16"; 37 + "with" = { 38 + name = "meowos"; 39 + authToken = "$${{ secrets.CACHIX_AUTH_TOKEN }}"; 40 + }; 41 + } 42 + { 43 + name = "Update Flake Inputs"; 44 + run = "nix flake update --accept-flake-config"; 45 + } 46 + ] 47 + ++ buildAllHosts 48 + ++ [ 49 + { 50 + name = "Commit"; 51 + uses = "stefanzweifel/git-auto-commit-action@v5"; 52 + "with" = { 53 + commit_message = "chore(deps): bump flake.lock"; 54 + commit_user_name = "Flake Bot Update"; 55 + commit_author = "Flake Bot Update <actions@github.com>"; 56 + branch = "main"; 57 + file_pattern = "flake.lock"; 58 + skip_dirty_check = false; 59 + skip_fetch = true; 60 + }; 61 + } 62 + ]; 62 63 }; 63 64 }; 64 65 };
+13 -1
flake/default.nix
··· 10 10 ]; 11 11 12 12 systems = [ 13 - "linux-x86_64" 13 + "x86_64-linux" 14 14 ]; 15 + 16 + perSystem = { 17 + config, 18 + pkgs, 19 + ... 20 + }: { 21 + devShells.default = pkgs.mkShell { 22 + packages = with pkgs; [ 23 + just 24 + ]; 25 + }; 26 + }; 15 27 }
+4 -4
flake/pkgs.nix
··· 4 4 withSystem, 5 5 ... 6 6 }: { 7 - imports = [ 8 - inputs.pkgs-by-name.flakeModule 9 - ]; 7 + # imports = [ 8 + # inputs.pkgs-by-name.flakeModule 9 + # ]; 10 10 11 - perSystem.pkgsDirectory = "${inputs.self.outPath}/pkgs"; 11 + # perSystem.pkgsDirectory = "${inputs.self.outPath}/pkgs"; 12 12 13 13 # flake = { 14 14 # overlays.default = final: prev: