Compare commits
No commits in common. "eff1752c6437b2e0ff639e8877c4aad87f1ae948" and "d49a173439f897a0d9c4a3c32a4bed299033633c" have entirely different histories.
eff1752c64
...
d49a173439
7 changed files with 82 additions and 17 deletions
22
.forgejo/workflows/lint.yml
Normal file
22
.forgejo/workflows/lint.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: Lint
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: docker
|
||||||
|
env:
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:js-20.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: https://github.com/cachix/install-nix-action@v22
|
||||||
|
env:
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
- run: |
|
||||||
|
sed -i '/^access-tokens/ d' /etc/nix/nix.conf
|
||||||
|
nix profile install 'nixpkgs#deadnix' 'nixpkgs#statix' 'nixpkgs#yamllint'
|
||||||
|
statix check .
|
||||||
|
deadnix -f
|
||||||
|
yamllint .
|
22
.forgejo/workflows/nix.yml
Normal file
22
.forgejo/workflows/nix.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: Nix
|
||||||
|
|
||||||
|
# on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: docker
|
||||||
|
env:
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:js-20.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Check Nix flake inputs
|
||||||
|
uses: https://github.com/DeterminateSystems/flake-checker-action@v5
|
||||||
|
- uses: https://github.com/cachix/install-nix-action@v22
|
||||||
|
env:
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
- name: Run `nix flake check`
|
||||||
|
run: |
|
||||||
|
sed -i '/^access-tokens/ d' /etc/nix/nix.conf
|
||||||
|
nix run '.#' -- -V
|
37
.forgejo/workflows/plex_update.yml
Normal file
37
.forgejo/workflows/plex_update.yml
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
name: Plex Update
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- ci
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:js-20.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: https://github.com/cachix/install-nix-action@v22
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
- env:
|
||||||
|
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
|
||||||
|
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
|
||||||
|
run: |
|
||||||
|
git config user.name "Forgejo Actions Bot"
|
||||||
|
git config user.email "<>"
|
||||||
|
|
||||||
|
# Run Update script
|
||||||
|
./pkgs/plex-pass/update.sh
|
||||||
|
|
||||||
|
git add ./pkgs/plex-pass/
|
||||||
|
|
||||||
|
# Push if changed
|
||||||
|
if git status ./nixos/pkgs/plex-pass/ | grep -q "to be committed"; then
|
||||||
|
git commit -m "Update Plex"
|
||||||
|
git push origin main
|
||||||
|
fi
|
|
@ -38,7 +38,6 @@ in
|
||||||
jellyfin-media-player
|
jellyfin-media-player
|
||||||
krita
|
krita
|
||||||
neofetch
|
neofetch
|
||||||
nicotine-plus
|
|
||||||
nixpkgs-review
|
nixpkgs-review
|
||||||
qmk
|
qmk
|
||||||
signal-desktop
|
signal-desktop
|
||||||
|
@ -98,7 +97,6 @@ in
|
||||||
xdg.autoStart = {
|
xdg.autoStart = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
element-desktop
|
element-desktop
|
||||||
signal-desktop
|
|
||||||
firefox
|
firefox
|
||||||
discord
|
discord
|
||||||
];
|
];
|
||||||
|
|
|
@ -76,11 +76,6 @@ with lib;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# codecompanion = {
|
|
||||||
# enable = true;
|
|
||||||
#
|
|
||||||
# };
|
|
||||||
|
|
||||||
vimwiki = {
|
vimwiki = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
@ -59,16 +59,6 @@
|
||||||
key = "<leader>fr";
|
key = "<leader>fr";
|
||||||
action = ":Telescope frecency<CR>";
|
action = ":Telescope frecency<CR>";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
mode = "n";
|
|
||||||
key = "<leader>zf";
|
|
||||||
action = ":Telescope spell_suggest<CR>";
|
|
||||||
}
|
|
||||||
# {
|
|
||||||
# mode = "n";
|
|
||||||
#key = "<leader>ob";
|
|
||||||
# action = mkRaw "require('obsidian_picker').obsidian_picker";
|
|
||||||
#}
|
|
||||||
# Commenting
|
# Commenting
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
|
|
|
@ -102,6 +102,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
|
|
||||||
postfix.relayHost = "smtp.ziggozakelijk.nl";
|
postfix.relayHost = "smtp.ziggozakelijk.nl";
|
||||||
postfix.relayPort = 587;
|
postfix.relayPort = 587;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue