1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

Merge branch 'master' of github.com:kmein/niveum

This commit is contained in:
Kierán Meinhardt
2018-10-24 10:29:56 +02:00
14 changed files with 20 additions and 23 deletions

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 KiB

View File

@@ -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";

View File

@@ -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;
} }
''; '';

View File

@@ -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"
'';
};
}; };
} }

View File

@@ -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;
};
}; };
} }