From 6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 14 Mar 2023 21:43:19 +0100 Subject: Re-format with nixpkgs-fmt --- system/settings/configuration/berlin.nix | 7 +++---- system/settings/configuration/british-english.nix | 7 +++---- system/settings/configuration/england.nix | 7 +++---- system/settings/configuration/networking.nix | 9 ++++----- system/settings/configuration/nix.nix | 11 +++++------ system/settings/configuration/user.nix | 9 ++++----- 6 files changed, 22 insertions(+), 28 deletions(-) (limited to 'system/settings/configuration') 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"; -- cgit 1.4.1