summary refs log tree commit diff stats
path: root/system/settings/programs
diff options
context:
space:
mode:
authorAlan Pearce2023-03-14 21:43:19 +0100
committerAlan Pearce2023-03-14 21:43:19 +0100
commit6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28 (patch)
tree7a126873d4a216438d835123843132d09eb2bfab /system/settings/programs
parentfa2d41901d9fd10fd257c7ccc249ab29c5df2e33 (diff)
downloadnixfiles-6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28.tar.lz
nixfiles-6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28.tar.zst
nixfiles-6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28.zip
Re-format with nixpkgs-fmt
Diffstat (limited to 'system/settings/programs')
-rw-r--r--system/settings/programs/barrier.nix9
-rw-r--r--system/settings/programs/base.nix6
-rw-r--r--system/settings/programs/gnome.nix9
-rw-r--r--system/settings/programs/gnupg.nix11
-rw-r--r--system/settings/programs/i3.nix7
-rw-r--r--system/settings/programs/kde.nix9
-rw-r--r--system/settings/programs/shell.nix9
-rw-r--r--system/settings/programs/tor.nix13
-rw-r--r--system/settings/programs/window-manager.nix7
9 files changed, 36 insertions, 44 deletions
diff --git a/system/settings/programs/barrier.nix b/system/settings/programs/barrier.nix
index 788021d5..76e1b06b 100644
--- a/system/settings/programs/barrier.nix
+++ b/system/settings/programs/barrier.nix
@@ -1,11 +1,10 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
   environment.systemPackages = with pkgs; [
     barrier
   ];
 
-  networking.firewall.allowedTCPPorts = [24800];
+  networking.firewall.allowedTCPPorts = [ 24800 ];
 }
diff --git a/system/settings/programs/base.nix b/system/settings/programs/base.nix
index f09beb75..7f51271e 100644
--- a/system/settings/programs/base.nix
+++ b/system/settings/programs/base.nix
@@ -1,4 +1,4 @@
-{pkgs, ...}: {
+{ pkgs, ... }: {
   environment.systemPackages = with pkgs; [
     cachix
     home-manager
@@ -6,7 +6,7 @@
     zstd
   ];
   nix.settings = {
-    trusted-substituters = ["https://nix-community.cachix.org"];
-    trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
+    trusted-substituters = [ "https://nix-community.cachix.org" ];
+    trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ];
   };
 }
diff --git a/system/settings/programs/gnome.nix b/system/settings/programs/gnome.nix
index 3ccac864..f9618009 100644
--- a/system/settings/programs/gnome.nix
+++ b/system/settings/programs/gnome.nix
@@ -1,8 +1,7 @@
-{
-  config,
-  lib,
-  pkgs,
-  ...
+{ config
+, lib
+, pkgs
+, ...
 }:
 with lib; {
   services = {
diff --git a/system/settings/programs/gnupg.nix b/system/settings/programs/gnupg.nix
index 9899c23b..f17263c9 100644
--- a/system/settings/programs/gnupg.nix
+++ b/system/settings/programs/gnupg.nix
@@ -1,13 +1,12 @@
-{
-  config,
-  pkgs,
-  lib,
-  ...
+{ config
+, pkgs
+, lib
+, ...
 }: {
   environment.systemPackages = with pkgs; [
     gnupg
     pinentry
-    (python3.withPackages (ps: with ps; [trezor_agent wheel]))
+    (python3.withPackages (ps: with ps; [ trezor_agent wheel ]))
   ];
   environment.variables.GNUPGHOME = "$HOME/.gnupg/trezor/";
 }
diff --git a/system/settings/programs/i3.nix b/system/settings/programs/i3.nix
index 4cf4a82a..7d172659 100644
--- a/system/settings/programs/i3.nix
+++ b/system/settings/programs/i3.nix
@@ -1,7 +1,6 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
   services.xserver.windowManager = {
     i3 = {
diff --git a/system/settings/programs/kde.nix b/system/settings/programs/kde.nix
index 9d77eeb5..c67fcfc1 100644
--- a/system/settings/programs/kde.nix
+++ b/system/settings/programs/kde.nix
@@ -1,8 +1,7 @@
-{
-  config,
-  lib,
-  pkgs,
-  ...
+{ config
+, lib
+, pkgs
+, ...
 }:
 with lib; {
   services = {
diff --git a/system/settings/programs/shell.nix b/system/settings/programs/shell.nix
index 6f4b793a..c0e50690 100644
--- a/system/settings/programs/shell.nix
+++ b/system/settings/programs/shell.nix
@@ -1,7 +1,6 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
   programs.zsh =
     {
@@ -10,7 +9,7 @@
     }
     // (
       if pkgs.stdenv.isDarwin
-      then {}
+      then { }
       else {
         enableGlobalCompInit = false;
       }
diff --git a/system/settings/programs/tor.nix b/system/settings/programs/tor.nix
index 80e2fdf2..31521857 100644
--- a/system/settings/programs/tor.nix
+++ b/system/settings/programs/tor.nix
@@ -1,8 +1,7 @@
-{
-  config,
-  pkgs,
-  lib,
-  ...
+{ config
+, pkgs
+, lib
+, ...
 }: {
   services.tor = {
     enable = true;
@@ -17,10 +16,10 @@
       enable = true;
     };
   };
-  systemd.services.tor.wantedBy = lib.mkForce [];
+  systemd.services.tor.wantedBy = lib.mkForce [ ];
   systemd.timers.tor = {
     description = "Delayed startup of Tor";
-    wantedBy = ["timers.target"];
+    wantedBy = [ "timers.target" ];
     timerConfig = {
       OnActiveSec = "1 min";
     };
diff --git a/system/settings/programs/window-manager.nix b/system/settings/programs/window-manager.nix
index bad60797..e22609fe 100644
--- a/system/settings/programs/window-manager.nix
+++ b/system/settings/programs/window-manager.nix
@@ -1,7 +1,6 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
   services.xserver = {
     desktopManager.xterm.enable = false;