Merge branch 'master' of github.com:kmein/niveum
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
BIN
art/37333571_p0_master1200.jpg
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
art/55991392_p0_master1200.jpg
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
art/57761164_p0_master1200.jpg
Normal file
|
After Width: | Height: | Size: 485 KiB |
BIN
art/58991926_p0_master1200.jpg
Normal file
|
After Width: | Height: | Size: 512 KiB |
BIN
art/59560674_p0_master1200.jpg
Normal file
|
After Width: | Height: | Size: 653 KiB |
BIN
art/68479906_p0_master1200.jpg
Normal file
|
After Width: | Height: | Size: 325 KiB |
BIN
art/69915574_p0_master1200.jpg
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
art/the_view_by_xlocky-d988pnv.jpg
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
art/tumblr_p3p4cdjUB61qe959eo1_1280.jpg
Normal file
|
After Width: | Height: | Size: 345 KiB |
@@ -51,9 +51,7 @@ in {
|
|||||||
|
|
||||||
services.cron = {
|
services.cron = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemCronJobs = [
|
systemCronJobs = [];
|
||||||
"0 18 * * * ${scripts.bing-wallpaper}"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
@@ -185,7 +183,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".background-image".source = config.constants.wallpaper;
|
".background-image".source = ./art/37333571_p0_master1200.jpg;
|
||||||
".config/mpv/input.conf".text = import ./dot/mpv.nix;
|
".config/mpv/input.conf".text = import ./dot/mpv.nix;
|
||||||
".config/xfce4/terminal/terminalrc".text = import ./dot/terminal.nix;
|
".config/xfce4/terminal/terminalrc".text = import ./dot/terminal.nix;
|
||||||
".config/zathura/zathurarc".text = "set selection-clipboard clipboard";
|
".config/zathura/zathurarc".text = "set selection-clipboard clipboard";
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ let
|
|||||||
time_t now = time(NULL);
|
time_t now = time(NULL);
|
||||||
struct tm *today = localtime(&now);
|
struct tm *today = localtime(&now);
|
||||||
wchar_t roman_month = 0x2160 + today->tm_mon;
|
wchar_t roman_month = 0x2160 + today->tm_mon;
|
||||||
wprintf(L"%d\u2009%lc\u2009%d [%d]\n", today->tm_mday, roman_month, 1900 + today->tm_year, today->tm_yday/7 + 1);
|
wprintf(L"%d\u2009%lc\u2009%d [%d|%d]\n", today->tm_mday, roman_month, 1900 + today->tm_year, today->tm_wday == 0 ? 7 : today->tm_wday, today->tm_yday/7 + 1);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -1,4 +1,18 @@
|
|||||||
let eduroam = (import ../secrets.nix).eduroam;
|
let
|
||||||
|
eduroam = (import ../secrets.nix).eduroam;
|
||||||
|
eduroamConfig = {
|
||||||
|
auth = ''
|
||||||
|
key_mgmt=WPA-EAP
|
||||||
|
eap=TTLS
|
||||||
|
proto=RSN
|
||||||
|
identity="${eduroam.identity}"
|
||||||
|
anonymous_identity="anonymous@cms.hu-berlin.de"
|
||||||
|
altsubject_match="DNS:srv1-radius.cms.hu-berlin.de;DNS:srv2-radius.cms.hu-berlin.de"
|
||||||
|
password="${eduroam.password}"
|
||||||
|
ca_cert="${builtins.fetchurl https://www.cms.hu-berlin.de/de/dl/netze/wlan/config/eduroam/t-telesec_globalroot_class_2.pem}"
|
||||||
|
phase2="auth=PAP"
|
||||||
|
'';
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
networking.hosts = {
|
networking.hosts = {
|
||||||
"192.168.178.27" = [ "printer.local" ];
|
"192.168.178.27" = [ "printer.local" ];
|
||||||
@@ -12,17 +26,7 @@ in {
|
|||||||
"c-base-public" = {};
|
"c-base-public" = {};
|
||||||
"FlixBus" = {};
|
"FlixBus" = {};
|
||||||
"FlixBus Wi-Fi" = {};
|
"FlixBus Wi-Fi" = {};
|
||||||
eduroam = {
|
eduroam = eduroamConfig;
|
||||||
auth = ''
|
eduroam_5GHz = eduroamConfig;
|
||||||
key_mgmt=WPA-EAP
|
|
||||||
eap=TTLS
|
|
||||||
proto=RSN
|
|
||||||
identity="${eduroam.identity}"
|
|
||||||
anonymous_identity="anonymous@cms.hu-berlin.de"
|
|
||||||
password="${eduroam.password}"
|
|
||||||
ca_cert="${builtins.fetchurl https://www.cms.hu-berlin.de/de/dl/netze/wlan/config/eduroam/deutsche-telekom-root-ca-2.crt}"
|
|
||||||
phase2="auth=PAP"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,11 +36,6 @@ in {
|
|||||||
gtk = { name = "Paper"; package = pkgs.paper-gtk-theme; };
|
gtk = { name = "Paper"; package = pkgs.paper-gtk-theme; };
|
||||||
icon = { name = "Paper"; package = pkgs.paper-icon-theme; };
|
icon = { name = "Paper"; package = pkgs.paper-icon-theme; };
|
||||||
};
|
};
|
||||||
|
|
||||||
wallpaper = mkOption {
|
|
||||||
type = types.path;
|
|
||||||
default = pkgs.copyPathToStore ./art/haskell-grey.png;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||