From 0a50d682ec85bf023bebd68a3ca388001f0c0677 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 8 Oct 2019 21:44:57 +0200 Subject: mv modules settings --- system/modules/configuration/berlin.nix | 8 ------- system/modules/configuration/british-english.nix | 4 ---- system/modules/configuration/england.nix | 8 ------- system/modules/configuration/nix.nix | 29 ------------------------ system/modules/configuration/user.nix | 11 --------- 5 files changed, 60 deletions(-) delete mode 100644 system/modules/configuration/berlin.nix delete mode 100644 system/modules/configuration/british-english.nix delete mode 100644 system/modules/configuration/england.nix delete mode 100644 system/modules/configuration/nix.nix delete mode 100644 system/modules/configuration/user.nix (limited to 'system/modules/configuration') diff --git a/system/modules/configuration/berlin.nix b/system/modules/configuration/berlin.nix deleted file mode 100644 index 246510c4..00000000 --- a/system/modules/configuration/berlin.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ config, pkgs, ... }: - -{ time.timeZone = "Europe/Berlin"; - services.redshift = { - latitude = "52.586"; - longitude = "13.300"; - }; -} diff --git a/system/modules/configuration/british-english.nix b/system/modules/configuration/british-english.nix deleted file mode 100644 index 3ff93678..00000000 --- a/system/modules/configuration/british-english.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ config, pkgs, ... }: - -{ i18n.defaultLocale = "en_GB.UTF-8"; -} diff --git a/system/modules/configuration/england.nix b/system/modules/configuration/england.nix deleted file mode 100644 index b2f799cd..00000000 --- a/system/modules/configuration/england.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ config, pkgs, ... }: - -{ time.timeZone = "Europe/London"; - services.redshift = { - latitude = "52.2394"; - longitude = "-0.9416"; - }; -} diff --git a/system/modules/configuration/nix.nix b/system/modules/configuration/nix.nix deleted file mode 100644 index d254de0e..00000000 --- a/system/modules/configuration/nix.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ config, pkgs, ... }: - -{ nix = { - buildCores = 0; - - daemonNiceLevel = 19; - daemonIONiceLevel = 7; - - autoOptimiseStore = true; - gc = { - automatic = true; - options = "--delete-older-than 14d"; - }; - }; - - environment.systemPackages = with pkgs; [ - cachix - ]; - - system.autoUpgrade = { - enable = true; - flags = [ "--max-jobs" "1" ]; - }; - systemd.services.nixos-upgrade = { - script = pkgs.lib.mkForce '' - ${config.system.build.nixos-rebuild}/bin/nixos-rebuild boot --no-build-output --upgrade ${toString config.system.autoUpgrade.flags} - ''; - }; -} diff --git a/system/modules/configuration/user.nix b/system/modules/configuration/user.nix deleted file mode 100644 index e7362bce..00000000 --- a/system/modules/configuration/user.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ config, pkgs, ... }: - -{ users.extraUsers.alan = { - description = "Alan Pearce"; - isNormalUser = true; - extraGroups = [ "audio" "wheel" "lp" "adbusers" "docker" "nitrokey" "dialout" "networkmanager" ]; - shell = "/run/current-system/sw/bin/zsh"; - home = "/home/alan"; - uid = 1000; - }; -} -- cgit 1.4.1