mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +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"
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
let
|
||||
krops = builtins.fetchGit {
|
||||
url = "https://cgit.krebsco.de/krops/";
|
||||
ref = "v1.14.0";
|
||||
};
|
||||
lib = import "${krops}/lib";
|
||||
pkgs = import "${krops}/pkgs" {};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"url": "https://github.com/NixOS/nixpkgs-channels",
|
||||
"rev": "571b40d3f50466d3e91c1e609d372de96d782793",
|
||||
"date": "2019-04-23T11:24:45+02:00",
|
||||
"sha256": "0qjpkx2b5pac1nqr5chvlrlcyyk294w2079ybf88p95qxkqbbby5",
|
||||
"rev": "7cd2e4ebe8ca91f829b405451586868744270100",
|
||||
"date": "2019-05-14T00:18:11+02:00",
|
||||
"sha256": "0h4lacvqmk356ihc7gnb44dni6m5qza23vlgl6w6jdhr9pjcmdcm",
|
||||
"fetchSubmodules": false
|
||||
}
|
||||
|
||||
@@ -16,5 +16,5 @@
|
||||
|
||||
networking.hostName = "homeros";
|
||||
|
||||
system.stateVersion = "18.09";
|
||||
system.stateVersion = "19.03";
|
||||
}
|
||||
|
||||
@@ -13,5 +13,5 @@
|
||||
|
||||
networking.hostName = "scardanelli";
|
||||
|
||||
system.stateVersion = "18.09";
|
||||
system.stateVersion = "19.03";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user