diff options
author | Alan Pearce | 2023-03-14 21:43:19 +0100 |
---|---|---|
committer | Alan Pearce | 2023-03-14 21:43:19 +0100 |
commit | 6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28 (patch) | |
tree | 7a126873d4a216438d835123843132d09eb2bfab /system/settings/configuration | |
parent | fa2d41901d9fd10fd257c7ccc249ab29c5df2e33 (diff) | |
download | nixfiles-6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28.tar.lz nixfiles-6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28.tar.zst nixfiles-6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28.zip |
Re-format with nixpkgs-fmt
Diffstat (limited to 'system/settings/configuration')
-rw-r--r-- | system/settings/configuration/berlin.nix | 7 | ||||
-rw-r--r-- | system/settings/configuration/british-english.nix | 7 | ||||
-rw-r--r-- | system/settings/configuration/england.nix | 7 | ||||
-rw-r--r-- | system/settings/configuration/networking.nix | 9 | ||||
-rw-r--r-- | system/settings/configuration/nix.nix | 11 | ||||
-rw-r--r-- | system/settings/configuration/user.nix | 9 |
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"; |