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, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
passwords = import ../../variables/passwords.crypt.nix;
|
||||||
|
|
||||||
inherit (import ../lib.nix { }) mkSimpleTrayService;
|
inherit (import ../lib.nix { }) mkSimpleTrayService;
|
||||||
|
|
||||||
audio = pkgs.writeShellScript "audio" ''
|
audio = pkgs.writeShellScript "audio" ''
|
||||||
|
@ -279,8 +281,7 @@ in {
|
||||||
cbatticon.enable = true;
|
cbatticon.enable = true;
|
||||||
redshift = {
|
redshift = {
|
||||||
enable = true;
|
enable = true;
|
||||||
longitude = "9.1698";
|
inherit (passwords.location.stefan) longitude latitude;
|
||||||
latitude = "47.6691";
|
|
||||||
temperature = {
|
temperature = {
|
||||||
day = 6700;
|
day = 6700;
|
||||||
night = 3700;
|
night = 3700;
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
|
|
||||||
let keys = import ../../../variables/keys.nix;
|
let
|
||||||
|
keys = import ../../../variables/keys.nix;
|
||||||
|
passwords = import ../../../variables/passwords.crypt.nix;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
nix = {
|
nix = {
|
||||||
binaryCaches =
|
binaryCaches =
|
||||||
|
@ -74,5 +77,7 @@ in {
|
||||||
Option "OffTime" "0"
|
Option "OffTime" "0"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
time.timeZone = lib.mkForce passwords.timeZone.stefan;
|
||||||
|
|
||||||
hardware.ledger.enable = true;
|
hardware.ledger.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
console.font = "lat9w-16";
|
console.font = "lat9w-16";
|
||||||
|
|
||||||
i18n = { defaultLocale = "en_US.UTF-8"; };
|
i18n = { defaultLocale = "en_US.UTF-8"; };
|
||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Etc/UTC";
|
||||||
services.gpm.enable = true;
|
services.gpm.enable = true;
|
||||||
|
|
||||||
services.packagekit.enable = true;
|
services.packagekit.enable = true;
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue