mirror of
https://github.com/kmein/niveum
synced 2026-03-19 03:21:10 +01:00
19.03
This commit is contained in:
@@ -49,9 +49,6 @@
|
||||
<configs/xautolock.nix>
|
||||
<configs/xresources.nix>
|
||||
<configs/zsh.nix>
|
||||
{
|
||||
nix.buildCores = 0;
|
||||
}
|
||||
{
|
||||
niveum.user = {
|
||||
github = "kmein";
|
||||
@@ -74,6 +71,7 @@
|
||||
allowUnfree = true;
|
||||
packageOverrides = pkgs: {
|
||||
autorenkalender = pkgs.callPackage <packages/autorenkalender.nix> {};
|
||||
quote-db = pkgs.haskellPackages.callPackage <packages/quote-db.nix> {};
|
||||
bvg = pkgs.callPackage <packages/bvg.nix> {};
|
||||
daybook = pkgs.callPackage <packages/daybook.nix> {};
|
||||
font-size = pkgs.callPackage <packages/font-size.nix> { font = config.niveum.fonts.terminal; };
|
||||
@@ -150,7 +148,7 @@
|
||||
(pkgs.unstable.writers.writeDashBin "niveum-update" ''
|
||||
NIVEUM_DIR=/home/kfm/prog/git/niveum
|
||||
|
||||
nix-prefetch-git --url https://github.com/NixOS/nixpkgs-channels --rev refs/heads/nixos-18.09 > "$NIVEUM_DIR/nixpkgs.json"
|
||||
nix-prefetch-git --url https://github.com/NixOS/nixpkgs-channels --rev refs/heads/nixos-${config.system.stateVersion} > "$NIVEUM_DIR/nixpkgs.json"
|
||||
'')
|
||||
];
|
||||
}
|
||||
@@ -334,6 +332,7 @@
|
||||
autorenkalender
|
||||
font-size
|
||||
odyssey
|
||||
# quote-db
|
||||
literature-quote
|
||||
dic
|
||||
yt-next
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
imports = [ <modules/git.nix> ];
|
||||
|
||||
# niveum.git = {
|
||||
# enable = true;
|
||||
# repositories.niveum = {
|
||||
# enable = true;
|
||||
# location = "/tmp/niveum";
|
||||
# branches = [ "master" ];
|
||||
# remotes.origin = "git@github.com:kmein/niveum";
|
||||
# };
|
||||
# };
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.git
|
||||
pkgs.gitAndTools.hub
|
||||
|
||||
@@ -72,7 +72,7 @@ in with config.niveum; {
|
||||
separator = " "
|
||||
}
|
||||
|
||||
order += "run_watch retiolum"
|
||||
# order += "run_watch retiolum"
|
||||
order += "path_exists openvpn"
|
||||
order += "wireless ${wifi-interface}"
|
||||
order += "battery all"
|
||||
@@ -85,10 +85,10 @@ in with config.niveum; {
|
||||
format_down = "offline"
|
||||
}
|
||||
|
||||
run_watch retiolum {
|
||||
pidfile = "/var/run/tinc.retiolum.pid"
|
||||
format = "%title"
|
||||
}
|
||||
# run_watch retiolum {
|
||||
# pidfile = "/var/run/tinc.retiolum.pid"
|
||||
# format = "%title"
|
||||
# }
|
||||
|
||||
path_exists openvpn {
|
||||
path = "/proc/sys/net/ipv4/conf/tun0"
|
||||
|
||||
Reference in New Issue
Block a user