chore: various stuff

This commit is contained in:
Nydragon 2024-10-26 01:51:22 +02:00
parent e4d058e47a
commit 1863240cd6
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE
8 changed files with 24 additions and 24 deletions

View file

@ -7,7 +7,7 @@ repos:
rev: v8.18.2
hooks:
- id: gitleaks
stages: [commit]
stages: [pre-commit]
- repo: local
hooks:
@ -17,7 +17,7 @@ repos:
language: system
files: .*\.nix$
args: [-c]
stages: [commit]
stages: [pre-commit]
- id: prettier
name: Check css, scss, js, ts and yaml formatting
@ -25,7 +25,7 @@ repos:
language: system
files: .*\.(css|scss|js|ts|yaml)$
args: [-c]
stages: [commit]
stages: [pre-commit]
- id: typos
name: Check for typos
@ -33,4 +33,4 @@ repos:
language: system
files: .*
exclude: .*\.(png|jpg|jpeg|age)
stages: [commit]
stages: [pre-commit]

View file

@ -21,7 +21,7 @@ lib.mkIf osConfig.programs.hyprland.enable {
exec-once = [
"${pkgs.nextcloud-client}/bin/nextcloud --background"
"${pkgs.kdeconnect}/bin/kdeconnect-indicator"
"${pkgs.kdePackages.kdeconnect-kde}/bin/kdeconnect-indicator"
"${pkgs.protonmail-bridge-gui}/bin/protonmail-bridge-gui --no-window"
# keepassxc ignores themeing and doesnt show up in system tray otherwise

View file

@ -117,7 +117,7 @@ lib.mkIf osConfig.programs.sway.enable {
#: Startup {{{
startup = [
{ command = "${pkgs.nextcloud-client}/bin/nextcloud --background"; }
{ command = "${pkgs.kdeconnect}/bin/kdeconnect-indicator"; }
{ command = "${pkgs.kdePackages.kdeconnect-kde}/bin/kdeconnect-indicator"; }
{ command = "${pkgs.protonmail-bridge-gui}/bin/protonmail-bridge-gui --no-window"; }
{
command = "${pkgs.scripts.set-background}/bin/set-background -f ${wallpaper}";

View file

@ -77,7 +77,6 @@
firefox.enable = true;
thunderbird.enable = true;
sway.enable = true;
hyprland.enable = true;
};
security.polkit.enable = true;

View file

@ -40,7 +40,7 @@
packages = with pkgs; [
keepassxc
kdeconnect
kdePackages.kdeconnect-kde
nextcloud-client
digikam
fragments

View file

@ -159,7 +159,7 @@
environment.systemPackages = with pkgs; [
shared-mime-info
nextcloud-client
kdeconnect
kdePackages.kdeconnect-kde
glib
wireguard-tools
dconf

View file

@ -10,6 +10,10 @@
./adguard.nix
];
swapDevices = [
{ device = "/dev/disk/by-uuid/cc568199-7a9b-4aa2-83f8-2a63982ff4f1"; }
];
age.secrets = {
navidrome.file = ../../secrets/navidrome.age;
adguard-dns-list = {
@ -139,6 +143,17 @@
};
};
# security.acme = {
#certs = {
#"ccnlc.eu" = {
#dnsProvider = "ovh";
#dnsResolver = "9.9.9.9";
#extraDomainNames = [ "*.ccnlc.eu" ];
#environmentFile = "/var/secrets/ovh-ccnlc";
#};
#};
#};
fileSystems = {
"/mnt/shows" = {
device = "192.168.178.21:/mnt/Fort/data/shows";

View file

@ -1,20 +1,6 @@
{
pkgs,
config,
lib,
...
}:
{ config, lib, ... }:
lib.mkIf config.programs.sway.enable {
programs.sway = {
wrapperFeatures.gtk = true;
extraPackages = with pkgs; [
waybar
grim
slurp
wl-clipboard
swaybg
swaylock
swayidle
];
};
}