fix(nix): move location related values to encrypted file
This commit is contained in:
parent
a2314019ba
commit
37ecf7d4b1
4 changed files with 10 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
passwords = import ../../variables/passwords.crypt.nix;
|
||||
|
||||
inherit (import ../lib.nix { }) mkSimpleTrayService;
|
||||
|
||||
audio = pkgs.writeShellScript "audio" ''
|
||||
|
@ -279,8 +281,7 @@ in {
|
|||
cbatticon.enable = true;
|
||||
redshift = {
|
||||
enable = true;
|
||||
longitude = "9.1698";
|
||||
latitude = "47.6691";
|
||||
inherit (passwords.location.stefan) longitude latitude;
|
||||
temperature = {
|
||||
day = 6700;
|
||||
night = 3700;
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
|
||||
let keys = import ../../../variables/keys.nix;
|
||||
let
|
||||
keys = import ../../../variables/keys.nix;
|
||||
passwords = import ../../../variables/passwords.crypt.nix;
|
||||
|
||||
in {
|
||||
nix = {
|
||||
binaryCaches =
|
||||
|
@ -74,5 +77,7 @@ in {
|
|||
Option "OffTime" "0"
|
||||
'';
|
||||
|
||||
time.timeZone = lib.mkForce passwords.timeZone.stefan;
|
||||
|
||||
hardware.ledger.enable = true;
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
console.font = "lat9w-16";
|
||||
|
||||
i18n = { defaultLocale = "en_US.UTF-8"; };
|
||||
time.timeZone = "Europe/Berlin";
|
||||
time.timeZone = "Etc/UTC";
|
||||
services.gpm.enable = true;
|
||||
|
||||
services.packagekit.enable = true;
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue