Compare commits
10 commits
1a37a82af9
...
071736afcf
Author | SHA1 | Date | |
---|---|---|---|
071736afcf | |||
395c4f63b7 | |||
dc3a9097f5 | |||
f96b9959b5 | |||
6a5938be3f | |||
24c40e685e | |||
70421d5ecb | |||
33c4fb6314 | |||
cc7230d92f | |||
29e3f7d597 |
18 changed files with 49 additions and 108 deletions
|
@ -209,7 +209,6 @@
|
|||
hooks = {
|
||||
nixpkgs-fmt.enable = true;
|
||||
deadnix.enable = true;
|
||||
statix.enable = true;
|
||||
black.enable = true;
|
||||
shellcheck = {
|
||||
enable = true;
|
||||
|
|
|
@ -1700,6 +1700,16 @@ Register =nushell= LSP with eglot
|
|||
'(nushell-ts-mode . ("nu" "--lsp"))))
|
||||
#+end_src
|
||||
|
||||
*** hare
|
||||
|
||||
[[https://git.sr.ht/~bbuccianti/hare-mode][hare-mode]] for [[https://harelang.org][hare]] support.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package hare-mode
|
||||
:ensure nil ;; It's installed outside emacs
|
||||
)
|
||||
#+end_src
|
||||
|
||||
* Org
|
||||
|
||||
** Main org setup
|
||||
|
|
|
@ -23,6 +23,17 @@ with lib; let
|
|||
};
|
||||
};
|
||||
|
||||
hare-mode = pkgs.emacsPackages.trivialBuild {
|
||||
pname = "hare-mode";
|
||||
version = "unstable-2022-04-27";
|
||||
src = pkgs.fetchFromSourcehut {
|
||||
owner = "~bbuccianti";
|
||||
repo = "hare-mode";
|
||||
rev = "bb7b2faccb5939b0c8d4ffa6a6e28a0d2bc93dd6";
|
||||
sha256 = "SOnsNDWKL077AgTdpd9zZPhiyv8d/snllzTy53qlco8=";
|
||||
};
|
||||
};
|
||||
|
||||
emacsWithPackages = pkgs.emacsWithPackagesFromUsePackage {
|
||||
config =
|
||||
let
|
||||
|
@ -35,6 +46,7 @@ with lib; let
|
|||
alwaysEnsure = true;
|
||||
alwaysTangle = true;
|
||||
extraEmacsPackages = epkgs: with epkgs; [
|
||||
hare-mode
|
||||
vterm
|
||||
(treesit-grammars.with-grammars (p: with p; [
|
||||
tree-sitter-bash
|
||||
|
|
|
@ -55,6 +55,8 @@
|
|||
systemd.network = {
|
||||
enable = true;
|
||||
|
||||
wait-online.anyInterface = true;
|
||||
|
||||
networks = {
|
||||
"40-eth0" = {
|
||||
matchConfig = {
|
||||
|
|
|
@ -1,63 +0,0 @@
|
|||
{ self, ... }:
|
||||
{ modulesPath, ... }: {
|
||||
imports = [
|
||||
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
||||
../../users/root
|
||||
../../users/erwin
|
||||
];
|
||||
|
||||
eboskma = {
|
||||
users.erwin = {
|
||||
enable = true;
|
||||
server = true;
|
||||
};
|
||||
podman.enable = true;
|
||||
# drone.enable = true;
|
||||
nix-common = {
|
||||
enable = true;
|
||||
remote-builders = true;
|
||||
};
|
||||
woodpecker.enable = true;
|
||||
};
|
||||
|
||||
boot.isContainer = true;
|
||||
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
|
||||
system.configurationRevision = self.inputs.nixpkgs.lib.mkIf (self ? rev) self.rev;
|
||||
|
||||
# networking = {
|
||||
# hostName = "drone";
|
||||
# useDHCP = false;
|
||||
|
||||
# interfaces = {
|
||||
# eth0 = {
|
||||
# ipv4.addresses = [
|
||||
# {
|
||||
# address = "10.0.0.202";
|
||||
# prefixLength = 24;
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
|
||||
# defaultGateway = "10.0.0.1";
|
||||
# nameservers = [ "10.0.0.254" ];
|
||||
# };
|
||||
|
||||
proxmoxLXC = {
|
||||
privileged = true;
|
||||
};
|
||||
|
||||
security.sudo.execWheelOnly = true;
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
sops.defaultSopsFile = ./secrets.yaml;
|
||||
sops.secrets = {
|
||||
woodpecker-server = { };
|
||||
woodpecker-agent = { };
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
drone: ENC[AES256_GCM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51Ex0HkQozduqusDGaENWR+zBOTgRhgIrwQlDSHh8UgLTzOgN8hpEqR8fFVsiWCcCAuOFjDNyczywtbbu2jNHzG6FMz2fdXy7p1dRmyTq1sFjoMEkJM5Ix8oRB8zWV+O3l6XE7Uw1vD3QbOsJiqcbWFoNw==,iv:VIlHVVvuBSZiO/tMgd/4HpT2uecn1WqJE60SkHaX+80=,tag:+xfTfq2FgSrPUVXeH4tJkQ==,type:str]
|
||||
woodpecker-agent: ENC[AES256_GCM,data:YO9MCMIPVOEU+6euiCHuAN+tFFs8JkRRmb9+AIhMEuQE2ObajfJZ3NN5LsccIT9z1axA/gfjLrxM,iv:UDimHs2cKyCvy0XGdDzgX2ry114qz3V1KaXlXL3yYgI=,tag:OGITUerrT0nWU85fxcpEig==,type:str]
|
||||
sops:
|
||||
kms: []
|
||||
gcp_kms: []
|
||||
azure_kv: []
|
||||
hc_vault: []
|
||||
age:
|
||||
- recipient: age1h7ddyj66gcqt5vnzphjfn6y5tul79q0glcdl0et9w44z2evl999qe02wht
|
||||
enc: |
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBpNmcxQ1Y5RG9MVHEzdnNr
|
||||
RmlJQ1hPdnNCY3lYUWVvTkZhZXo0RVhoN0hnCjJGTkFFdVc5Wk5NYU91dy9BQUp4
|
||||
MFVQa0tTZU1RVGw3MW1VSXVQbmlxbjgKLS0tIFRneitlYVk1MFk2MzVIM3F5VmND
|
||||
L1RyYWdDY2luRXFURXk0VFFJd2lLaXMKy5wkq+jCbIHbmRz5634R0NNHKe+UoI7C
|
||||
DWtdxyloAP/yjxAviEOYPiU3uFU1HOois1fTs4do6aH+KjpSBTzKtA==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
- recipient: age1435gxhlpu55pp86r8pullhc6wg43nv6qm5l3g2vl5000xhn8apdqtlf8cg
|
||||
enc: |
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBaZG5ScG1pRG9wNXU0UkNE
|
||||
UE1weWgrYUdML1FZaWFTV0FYeGY5R1h5UWhNCnRJRzdFZzlLV0J3L0ZUdnZIQTZl
|
||||
RENaNTFIK2lzOGxyaUo5SmlDZXRFMXcKLS0tIDEzdVlYenpielVSeDBzbXVVTzVI
|
||||
VC9JN21xdGtNT3Z5aXMzYkxNUUVHelUKvkXny/4jgq8WUAHyIJC7yiiAXWiJtO/H
|
||||
N/460b+VNHCu72soV/eeGSeuZ0Nlm3s/x+/gqagO5SRVy5I1oeFIgQ==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
- recipient: age1q0dfxz58vt4zxwx2etqy8xycf4l0p5nujpznh53kd0fwwc28ms7q6qrhct
|
||||
enc: |
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBEU29ITG81c3dWQzA2SUVh
|
||||
OHV2RlpkZ2gvVnVXQ3MwY0NIZFdLL1BtVFhZCkN3TXJQelE4VlRuK0V3SWxFR1Rs
|
||||
VWJLN2ZZMHFucVlxY0REZG5PVmpHVVUKLS0tIEpvc0VOQ0FHVnJDQ1Z1anZybTNV
|
||||
UHFBcS9PbGRkNzk1R1ppYUIwOGFhaTgKNOmhKLNm3HZ1xU/xY3ImDqiLDSqZvw/V
|
||||
w5IaQNmgUt/TDBCxkLcnyynHkmgwMUZjRihIukC7yvxncHc2hQrrDA==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
lastmodified: "2023-06-12T09:28:02Z"
|
||||
mac: ENC[AES256_GCM,data:mE0O44Sa+RMqRoCqXftn3GuPFLHiyGn3tVlYgBGc973nP7mz5ZwClNgja1gk+MNolnztsrwgso5ZiNpriyI7pGKd/dG6DJQrGixqhRvgyNyIESGEuN9n6bfhYNNSzV1yRb9V6Z7iELkut03gvVU9by0MosJ7SJPMyDyZZ4tMFeA=,iv:rzrvGwJQAdbMcHQ7U/JFB08V7o2keLI1kUrUs9RaClA=,tag:UpE7ZeG7S32CNKsgT+rMMQ==,type:str]
|
||||
pgp: []
|
||||
unencrypted_suffix: _unencrypted
|
||||
version: 3.7.3
|
|
@ -44,6 +44,8 @@
|
|||
systemd.network = {
|
||||
enable = true;
|
||||
|
||||
wait-online.anyInterface = true;
|
||||
|
||||
networks = {
|
||||
"40-eth0" = {
|
||||
matchConfig = {
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
"nix:docker://ghcr.io/eboskma/forgejo-nix-runner:latest"
|
||||
];
|
||||
settings = {
|
||||
log = {
|
||||
level = "info";
|
||||
};
|
||||
runner = {
|
||||
capacity = 1;
|
||||
};
|
||||
|
|
|
@ -48,6 +48,8 @@
|
|||
systemd.network = {
|
||||
enable = true;
|
||||
|
||||
wait-online.anyInterface = true;
|
||||
|
||||
networks = {
|
||||
"40-eth0" = {
|
||||
matchConfig = {
|
||||
|
|
|
@ -74,7 +74,11 @@ in
|
|||
ALLOWED_HOST_LIST = "external,10.0.0.202/32,ci.datarift.nl,10.0.0.210/32";
|
||||
};
|
||||
|
||||
# Experimental Actions
|
||||
cron = {
|
||||
ENABLED = true;
|
||||
RUN_AT_START = true;
|
||||
};
|
||||
|
||||
actions = {
|
||||
ENABLED = true;
|
||||
};
|
||||
|
|
|
@ -45,6 +45,8 @@
|
|||
network = {
|
||||
enable = true;
|
||||
|
||||
wait-online.anyInterface = true;
|
||||
|
||||
networks = {
|
||||
"40-eth0" = {
|
||||
matchConfig = {
|
||||
|
|
|
@ -41,6 +41,8 @@
|
|||
systemd.network = {
|
||||
enable = true;
|
||||
|
||||
wait-online.anyInterface = true;
|
||||
|
||||
networks = {
|
||||
"40-eth0" = {
|
||||
matchConfig = {
|
||||
|
|
|
@ -41,6 +41,8 @@
|
|||
network = {
|
||||
enable = true;
|
||||
|
||||
wait-online.anyInterface = true;
|
||||
|
||||
networks = {
|
||||
"40-eth0" = {
|
||||
matchConfig = {
|
||||
|
|
|
@ -53,6 +53,8 @@
|
|||
systemd.network = {
|
||||
enable = true;
|
||||
|
||||
wait-online.anyInterface = true;
|
||||
|
||||
networks = {
|
||||
"40-eth0" = {
|
||||
matchConfig = {
|
||||
|
|
|
@ -8,7 +8,7 @@ mkDerivation {
|
|||
|
||||
src = builtins.fetchurl {
|
||||
url = "https://probe.rs/files/69-probe-rs.rules";
|
||||
sha256 = "LkWFZVCL8h5MAd5T89CApjsjuKS2aw8OZFWFx+OrGkk=";
|
||||
sha256 = "1dLTJ0S5Fxs0y3yme7blGqUG8RwQj/BkZV8PIrmX5gI=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
|
|
@ -50,6 +50,7 @@ in
|
|||
"https://marcus7070.cachix.org"
|
||||
"https://devenv.cachix.org"
|
||||
"https://elixir-tools.cachix.org"
|
||||
"https://staging.attic.rs/attic-ci"
|
||||
];
|
||||
|
||||
trusted-public-keys = [
|
||||
|
@ -57,6 +58,7 @@ in
|
|||
"marcus7070.cachix.org-1:JawxHSgnYsgNYJmNqZwvLjI4NcOwrcEZDToWlT3WwXw="
|
||||
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
|
||||
"elixir-tools.cachix.org-1:GfK9E139Ysi+YWeS1oNN9OaTfQjqpLwlBaz+/73tBjU="
|
||||
"attic-ci:U5Sey4mUxwBXM3iFapmP0/ogODXywKLRNgRPQpEXxbo="
|
||||
];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
|
|
|
@ -25,6 +25,7 @@ in
|
|||
WOODPECKER_SERVER = "localhost:9000";
|
||||
WOODPECKER_MAX_PROCS = "2";
|
||||
WOODPECKER_BACKEND = "docker";
|
||||
WOODPECKER_BACKEND_DOCKER_NETWORK = "podman";
|
||||
DOCKER_HOST = "unix:///run/podman/podman.sock";
|
||||
};
|
||||
environmentFile = [ config.sops.secrets.woodpecker-agent.path ];
|
||||
|
|
|
@ -23,4 +23,5 @@ _final: prev: {
|
|||
});
|
||||
|
||||
incus-ui = prev.pkgs.callPackage ../pkgs/incus-ui { };
|
||||
openfga = prev.pkgs.callPackage ../pkgs/openfga { };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue