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:
@@ -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
7
configs/spacetime.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
time.timeZone = "Europe/Berlin";
|
||||
location = {
|
||||
latitude = 52.517;
|
||||
longitude = 13.3872;
|
||||
};
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user