chore: various stuff
This commit is contained in:
parent
e4d058e47a
commit
1863240cd6
8 changed files with 24 additions and 24 deletions
|
@ -7,7 +7,7 @@ repos:
|
||||||
rev: v8.18.2
|
rev: v8.18.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: gitleaks
|
- id: gitleaks
|
||||||
stages: [commit]
|
stages: [pre-commit]
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
|
@ -17,7 +17,7 @@ repos:
|
||||||
language: system
|
language: system
|
||||||
files: .*\.nix$
|
files: .*\.nix$
|
||||||
args: [-c]
|
args: [-c]
|
||||||
stages: [commit]
|
stages: [pre-commit]
|
||||||
|
|
||||||
- id: prettier
|
- id: prettier
|
||||||
name: Check css, scss, js, ts and yaml formatting
|
name: Check css, scss, js, ts and yaml formatting
|
||||||
|
@ -25,7 +25,7 @@ repos:
|
||||||
language: system
|
language: system
|
||||||
files: .*\.(css|scss|js|ts|yaml)$
|
files: .*\.(css|scss|js|ts|yaml)$
|
||||||
args: [-c]
|
args: [-c]
|
||||||
stages: [commit]
|
stages: [pre-commit]
|
||||||
|
|
||||||
- id: typos
|
- id: typos
|
||||||
name: Check for typos
|
name: Check for typos
|
||||||
|
@ -33,4 +33,4 @@ repos:
|
||||||
language: system
|
language: system
|
||||||
files: .*
|
files: .*
|
||||||
exclude: .*\.(png|jpg|jpeg|age)
|
exclude: .*\.(png|jpg|jpeg|age)
|
||||||
stages: [commit]
|
stages: [pre-commit]
|
||||||
|
|
|
@ -21,7 +21,7 @@ lib.mkIf osConfig.programs.hyprland.enable {
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"${pkgs.nextcloud-client}/bin/nextcloud --background"
|
"${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"
|
"${pkgs.protonmail-bridge-gui}/bin/protonmail-bridge-gui --no-window"
|
||||||
|
|
||||||
# keepassxc ignores themeing and doesnt show up in system tray otherwise
|
# keepassxc ignores themeing and doesnt show up in system tray otherwise
|
||||||
|
|
|
@ -117,7 +117,7 @@ lib.mkIf osConfig.programs.sway.enable {
|
||||||
#: Startup {{{
|
#: Startup {{{
|
||||||
startup = [
|
startup = [
|
||||||
{ command = "${pkgs.nextcloud-client}/bin/nextcloud --background"; }
|
{ 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.protonmail-bridge-gui}/bin/protonmail-bridge-gui --no-window"; }
|
||||||
{
|
{
|
||||||
command = "${pkgs.scripts.set-background}/bin/set-background -f ${wallpaper}";
|
command = "${pkgs.scripts.set-background}/bin/set-background -f ${wallpaper}";
|
||||||
|
|
|
@ -77,7 +77,6 @@
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
thunderbird.enable = true;
|
thunderbird.enable = true;
|
||||||
sway.enable = true;
|
sway.enable = true;
|
||||||
hyprland.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
keepassxc
|
keepassxc
|
||||||
kdeconnect
|
kdePackages.kdeconnect-kde
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
digikam
|
digikam
|
||||||
fragments
|
fragments
|
||||||
|
|
|
@ -159,7 +159,7 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
shared-mime-info
|
shared-mime-info
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
kdeconnect
|
kdePackages.kdeconnect-kde
|
||||||
glib
|
glib
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
dconf
|
dconf
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
./adguard.nix
|
./adguard.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
swapDevices = [
|
||||||
|
{ device = "/dev/disk/by-uuid/cc568199-7a9b-4aa2-83f8-2a63982ff4f1"; }
|
||||||
|
];
|
||||||
|
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
navidrome.file = ../../secrets/navidrome.age;
|
navidrome.file = ../../secrets/navidrome.age;
|
||||||
adguard-dns-list = {
|
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 = {
|
fileSystems = {
|
||||||
"/mnt/shows" = {
|
"/mnt/shows" = {
|
||||||
device = "192.168.178.21:/mnt/Fort/data/shows";
|
device = "192.168.178.21:/mnt/Fort/data/shows";
|
||||||
|
|
|
@ -1,20 +1,6 @@
|
||||||
{
|
{ config, lib, ... }:
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
lib.mkIf config.programs.sway.enable {
|
lib.mkIf config.programs.sway.enable {
|
||||||
programs.sway = {
|
programs.sway = {
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
extraPackages = with pkgs; [
|
|
||||||
waybar
|
|
||||||
grim
|
|
||||||
slurp
|
|
||||||
wl-clipboard
|
|
||||||
swaybg
|
|
||||||
swaylock
|
|
||||||
swayidle
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue