1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

feat: factor out spacetime config

This commit is contained in:
2020-10-28 20:25:59 +01:00
parent 5efcb813f0
commit 2911972900
4 changed files with 11 additions and 12 deletions

View File

@@ -91,13 +91,6 @@ in {
boot.loader.timeout = 1;
boot.extraModulePackages = [ config.boot.kernelPackages.exfat-nofuse ];
}
{
time.timeZone = "Europe/Berlin";
location = {
latitude = 52.517;
longitude = 13.3872;
};
}
{
home-manager.users.me = {
programs.zathura = {
@@ -305,14 +298,13 @@ in {
./neovim.nix
./newsboat.nix
./flameshot-once.nix
./nixpkgs-unstable.nix
./packages
./printing.nix
./wallpaper.nix
./redshift.nix
./retiolum.nix
./rofi.nix
./spotify.nix
./spacetime.nix
./ssh.nix
./sudo.nix
./sxiv.nix

7
configs/spacetime.nix Normal file
View File

@@ -0,0 +1,7 @@
{
time.timeZone = "Europe/Berlin";
location = {
latitude = 52.517;
longitude = 13.3872;
};
}

View File

@@ -10,8 +10,8 @@ in {
./hass
./telegram-bots
<niveum/configs/distrobump.nix>
<niveum/configs/nixpkgs-unstable.nix>
<niveum/configs/nextcloud.nix>
<niveum/configs/spacetime.nix>
<niveum/configs/save-space.nix>
<niveum/configs/tmux.nix>
<niveum/configs/version.nix>

View File

@@ -17,8 +17,8 @@ in
config = {
homeassistant = {
name = "Toum";
latitude = 52.461;
longitude = 13.378;
latitude = config.location.latitude;
longitude = config.location.longitude;
elevation = 90; # TODO find out how high I live
unit_system = "metric";
time_zone = config.time.timeZone;