Compare commits

..

No commits in common. "eff1752c6437b2e0ff639e8877c4aad87f1ae948" and "d49a173439f897a0d9c4a3c32a4bed299033633c" have entirely different histories.

7 changed files with 82 additions and 17 deletions

View 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 .

View 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

View 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

View file

@ -38,7 +38,6 @@ in
jellyfin-media-player
krita
neofetch
nicotine-plus
nixpkgs-review
qmk
signal-desktop
@ -98,7 +97,6 @@ in
xdg.autoStart = {
packages = with pkgs; [
element-desktop
signal-desktop
firefox
discord
];

View file

@ -76,11 +76,6 @@ with lib;
};
};
# codecompanion = {
# enable = true;
#
# };
vimwiki = {
enable = true;
settings = {

View file

@ -59,16 +59,6 @@
key = "<leader>fr";
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
{
mode = "n";

View file

@ -102,6 +102,7 @@ in {
};
};
services = {
postfix.relayHost = "smtp.ziggozakelijk.nl";
postfix.relayPort = 587;