mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
chore: format
This commit is contained in:
@@ -194,7 +194,8 @@ in {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
networking.hosts = lib.mapAttrs' (name: address: {
|
networking.hosts =
|
||||||
|
lib.mapAttrs' (name: address: {
|
||||||
name = address;
|
name = address;
|
||||||
value = ["${name}.local"];
|
value = ["${name}.local"];
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -18,8 +18,7 @@ in {
|
|||||||
environment.systemPackages = [pkgs.sxiv];
|
environment.systemPackages = [pkgs.sxiv];
|
||||||
|
|
||||||
# TODO fix
|
# TODO fix
|
||||||
home-manager.users.me.xdg.configFile."sxiv/exec/key-handler".source =
|
home-manager.users.me.xdg.configFile."sxiv/exec/key-handler".source = pkgs.writers.writeDash "key-handler" ''
|
||||||
pkgs.writers.writeDash "key-handler" ''
|
|
||||||
PATH=$PATH:${
|
PATH=$PATH:${
|
||||||
lib.makeBinPath [
|
lib.makeBinPath [
|
||||||
pkgs.gnused
|
pkgs.gnused
|
||||||
|
|||||||
@@ -33,7 +33,8 @@ in {
|
|||||||
config = {
|
config = {
|
||||||
services.tinc.networks.${netname} = {
|
services.tinc.networks.${netname} = {
|
||||||
name = cfg.nodename;
|
name = cfg.nodename;
|
||||||
hosts = builtins.mapAttrs
|
hosts =
|
||||||
|
builtins.mapAttrs
|
||||||
(name: _: builtins.readFile "${<retiolum/hosts>}/${name}")
|
(name: _: builtins.readFile "${<retiolum/hosts>}/${name}")
|
||||||
(builtins.readDir <retiolum/hosts>);
|
(builtins.readDir <retiolum/hosts>);
|
||||||
rsaPrivateKeyFile = toString <system-secrets/retiolum.key>;
|
rsaPrivateKeyFile = toString <system-secrets/retiolum.key>;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
self: super:
|
self: super:
|
||||||
with super.lib; let
|
with super.lib; let
|
||||||
eval = import <nixpkgs/nixos/lib/eval-config.nix>;
|
eval = import <nixpkgs/nixos/lib/eval-config.nix>;
|
||||||
paths = (eval {modules = [(import <nixos-config>)];}).config.nixpkgs.overlays;
|
paths = (eval {modules = [(import <nixos-config>)];}).config.nixpkgs.overlays;
|
||||||
in
|
in
|
||||||
foldl' (flip extends) (_: super) paths self
|
foldl' (flip extends) (_: super) paths self
|
||||||
|
|||||||
@@ -307,7 +307,8 @@ in
|
|||||||
packages = [pkgs.xdo];
|
packages = [pkgs.xdo];
|
||||||
};
|
};
|
||||||
|
|
||||||
ipa = pkgs.writers.writeHaskellBin "ipa" {
|
ipa =
|
||||||
|
pkgs.writers.writeHaskellBin "ipa" {
|
||||||
libraries = with pkgs; [haskellPackages.text haskellPackages.ipa];
|
libraries = with pkgs; [haskellPackages.text haskellPackages.ipa];
|
||||||
} ''
|
} ''
|
||||||
import Data.Maybe (fromJust)
|
import Data.Maybe (fromJust)
|
||||||
@@ -321,7 +322,8 @@ in
|
|||||||
${pkgs.iproute}/bin/ip -json route | ${pkgs.jq}/bin/jq --raw-output '.[0].gateway'
|
${pkgs.iproute}/bin/ip -json route | ${pkgs.jq}/bin/jq --raw-output '.[0].gateway'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
betacode = pkgs.writers.writeHaskellBin "betacode" {
|
betacode =
|
||||||
|
pkgs.writers.writeHaskellBin "betacode" {
|
||||||
libraries = with pkgs; [
|
libraries = with pkgs; [
|
||||||
(haskell.lib.unmarkBroken (haskell.lib.doJailbreak haskellPackages.betacode))
|
(haskell.lib.unmarkBroken (haskell.lib.doJailbreak haskellPackages.betacode))
|
||||||
haskellPackages.text
|
haskellPackages.text
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ in {
|
|||||||
autoconnect = true;
|
autoconnect = true;
|
||||||
address = "irc.libera.chat/6697";
|
address = "irc.libera.chat/6697";
|
||||||
ssl = true;
|
ssl = true;
|
||||||
autojoin = ["#flipdot" "#haskell" "#nixos" "#fysi" "#binaergewitter" "#neovim" "#lojban" "#vim" "#newsboat" ];
|
autojoin = ["#flipdot" "#haskell" "#nixos" "#fysi" "#binaergewitter" "#neovim" "#lojban" "#vim" "#newsboat"];
|
||||||
sasl_mechanism = "plain";
|
sasl_mechanism = "plain";
|
||||||
sasl_username = nick;
|
sasl_username = nick;
|
||||||
sasl_password = lib.strings.fileContents <system-secrets/irc/libera>;
|
sasl_password = lib.strings.fileContents <system-secrets/irc/libera>;
|
||||||
|
|||||||
Reference in New Issue
Block a user