summary refs log tree commit diff stats
path: root/system/settings/configuration
diff options
context:
space:
mode:
Diffstat (limited to 'system/settings/configuration')
-rw-r--r--system/settings/configuration/berlin.nix7
-rw-r--r--system/settings/configuration/british-english.nix7
-rw-r--r--system/settings/configuration/england.nix7
-rw-r--r--system/settings/configuration/networking.nix9
-rw-r--r--system/settings/configuration/nix.nix11
-rw-r--r--system/settings/configuration/user.nix9
6 files changed, 22 insertions, 28 deletions
diff --git a/system/settings/configuration/berlin.nix b/system/settings/configuration/berlin.nix
index bc8ed1fd..bdccea09 100644
--- a/system/settings/configuration/berlin.nix
+++ b/system/settings/configuration/berlin.nix
@@ -1,7 +1,6 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
   time.timeZone = "Europe/Berlin";
   location = {
diff --git a/system/settings/configuration/british-english.nix b/system/settings/configuration/british-english.nix
index 4167016f..1ab51cb0 100644
--- a/system/settings/configuration/british-english.nix
+++ b/system/settings/configuration/british-english.nix
@@ -1,7 +1,6 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
   i18n.defaultLocale = "en_GB.UTF-8";
 }
diff --git a/system/settings/configuration/england.nix b/system/settings/configuration/england.nix
index 2213ac74..1323b292 100644
--- a/system/settings/configuration/england.nix
+++ b/system/settings/configuration/england.nix
@@ -1,7 +1,6 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
   time.timeZone = "Europe/London";
   services.redshift = {
diff --git a/system/settings/configuration/networking.nix b/system/settings/configuration/networking.nix
index 8d9f276f..ad4200b1 100644
--- a/system/settings/configuration/networking.nix
+++ b/system/settings/configuration/networking.nix
@@ -1,9 +1,8 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
-  environment.systemPackages = with pkgs; [lxqt.lxqt-policykit]; # provides a default authentification client for policykit
+  environment.systemPackages = with pkgs; [ lxqt.lxqt-policykit ]; # provides a default authentification client for policykit
   services.gvfs.enable = true; # enables gvfs
 
   imports = [
diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix
index 7ae8f7f6..583f7982 100644
--- a/system/settings/configuration/nix.nix
+++ b/system/settings/configuration/nix.nix
@@ -1,13 +1,12 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
   nix = {
     settings = {
       cores = 0;
       auto-optimise-store = true;
-      trusted-users = ["@wheel"];
+      trusted-users = [ "@wheel" ];
     };
 
     daemonCPUSchedPolicy = "idle";
@@ -27,7 +26,7 @@
 
   system.autoUpgrade = {
     enable = true;
-    flags = ["--max-jobs" "2"];
+    flags = [ "--max-jobs" "2" ];
   };
   systemd.services.nixos-upgrade = {
     script = pkgs.lib.mkForce ''
diff --git a/system/settings/configuration/user.nix b/system/settings/configuration/user.nix
index ccb43323..482ddf91 100644
--- a/system/settings/configuration/user.nix
+++ b/system/settings/configuration/user.nix
@@ -1,12 +1,11 @@
-{
-  config,
-  pkgs,
-  ...
+{ config
+, pkgs
+, ...
 }: {
   users.extraUsers.alan = {
     description = "Alan Pearce";
     isNormalUser = true;
-    extraGroups = ["audio" "wheel" "lp" "adbusers" "docker" "nitrokey" "dialout" "pipewire" "networkmanager" "video"];
+    extraGroups = [ "audio" "wheel" "lp" "adbusers" "docker" "nitrokey" "dialout" "pipewire" "networkmanager" "video" ];
     shell = "/run/current-system/sw/bin/zsh";
     initialPassword = "password";
     home = "/home/alan";