this repo has no description
0
fork

Configure Feed

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

build: switch to Nix Flake

+98 -27
+1
.envrc
··· 1 + use flake
+61
flake.lock
··· 1 + { 2 + "nodes": { 3 + "flake-utils": { 4 + "inputs": { 5 + "systems": "systems" 6 + }, 7 + "locked": { 8 + "lastModified": 1694529238, 9 + "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", 10 + "owner": "numtide", 11 + "repo": "flake-utils", 12 + "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", 13 + "type": "github" 14 + }, 15 + "original": { 16 + "owner": "numtide", 17 + "repo": "flake-utils", 18 + "type": "github" 19 + } 20 + }, 21 + "nixpkgs": { 22 + "locked": { 23 + "lastModified": 1698846319, 24 + "narHash": "sha256-4jyW/dqFBVpWFnhl0nvP6EN4lP7/ZqPxYRjl6var0Oc=", 25 + "owner": "NixOS", 26 + "repo": "nixpkgs", 27 + "rev": "34bdaaf1f0b7fb6d9091472edc968ff10a8c2857", 28 + "type": "github" 29 + }, 30 + "original": { 31 + "owner": "NixOS", 32 + "ref": "nixos-23.05", 33 + "repo": "nixpkgs", 34 + "type": "github" 35 + } 36 + }, 37 + "root": { 38 + "inputs": { 39 + "flake-utils": "flake-utils", 40 + "nixpkgs": "nixpkgs" 41 + } 42 + }, 43 + "systems": { 44 + "locked": { 45 + "lastModified": 1681028828, 46 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 47 + "owner": "nix-systems", 48 + "repo": "default", 49 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 50 + "type": "github" 51 + }, 52 + "original": { 53 + "owner": "nix-systems", 54 + "repo": "default", 55 + "type": "github" 56 + } 57 + } 58 + }, 59 + "root": "root", 60 + "version": 7 61 + }
+36
flake.nix
··· 1 + { 2 + description = "Horus"; 3 + 4 + inputs = { 5 + nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; 6 + flake-utils.url = "github:numtide/flake-utils"; 7 + }; 8 + 9 + outputs = { self, nixpkgs, flake-utils }: 10 + flake-utils.lib.eachDefaultSystem (system: 11 + with nixpkgs.legacyPackages.${system}; 12 + { 13 + devShells.default = mkShell { 14 + packages = [ 15 + ansible 16 + ansible-lint 17 + git 18 + gnumake 19 + k9s 20 + kubectl 21 + neovim 22 + oci-cli 23 + openssh 24 + pre-commit 25 + shellcheck 26 + terraform 27 + yamllint 28 + 29 + (python3.withPackages (p: with p; [ 30 + kubernetes 31 + ])) 32 + ]; 33 + }; 34 + } 35 + ); 36 + }
-27
shell.nix
··· 1 - # https://status.nixos.org (nixos-22.11) 2 - { pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/a558f7ac29f5.tar.gz") {} }: 3 - 4 - let 5 - python-packages = pkgs.python3.withPackages (p: with p; [ 6 - kubernetes 7 - ]); 8 - in 9 - pkgs.mkShell { 10 - buildInputs = with pkgs; [ 11 - ansible 12 - ansible-lint 13 - git 14 - gnumake 15 - k9s 16 - kubectl 17 - neovim 18 - oci-cli 19 - openssh 20 - pre-commit 21 - shellcheck 22 - terraform 23 - yamllint 24 - 25 - python-packages 26 - ]; 27 - }