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

+ typora libertine

This commit is contained in:
Kierán Meinhardt
2018-12-18 23:40:58 +01:00
parent df01c9c9e4
commit d550fceeab
7 changed files with 23 additions and 28 deletions

View File

@@ -189,6 +189,7 @@ in {
home.file = { home.file = {
# ".background-image".source = ./art/37333571_p0_master1200.jpg; # ".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/Typora/themes/base.user.css".text = import ./dot/typora.nix;
".config/zathura/zathurarc".text = "set selection-clipboard clipboard"; ".config/zathura/zathurarc".text = "set selection-clipboard clipboard";
".ghc/ghci.conf".text = import ./dot/ghci.nix { inherit pkgs; }; ".ghc/ghci.conf".text = import ./dot/ghci.nix { inherit pkgs; };
".ssh/config".text = import ./dot/ssh.nix { inherit lib; }; ".ssh/config".text = import ./dot/ssh.nix { inherit lib; };

View File

@@ -22,16 +22,18 @@ in {
"192.168.178.27" = [ "printer.local" ]; "192.168.178.27" = [ "printer.local" ];
}; };
networking.wireless.enable = true; networking.wireless = {
networking.wireless.userControlled.enable = true; enable = true;
networking.wireless.networks = { userControlled.enable = true;
Aether = { pskRaw = "e1b18af54036c5c9a747fe681c6a694636d60a5f8450f7dec0d76bc93e2ec85a"; }; networks = {
eduroam_5GHz = eduroamConfig; Aether = { pskRaw = "e1b18af54036c5c9a747fe681c6a694636d60a5f8450f7dec0d76bc93e2ec85a"; };
eduroam = eduroamConfig; eduroam_5GHz = eduroamConfig;
"Asoziales Netzwerk" = { pskRaw = "8e234041ec5f0cd1b6a14e9adeee9840ed51b2f18856a52137485523e46b0cb6"; }; eduroam = eduroamConfig;
"c-base-public" = {}; "Asoziales Netzwerk" = { pskRaw = "8e234041ec5f0cd1b6a14e9adeee9840ed51b2f18856a52137485523e46b0cb6"; };
"FlixBus" = {}; "c-base-public" = {};
"FlixBus Wi-Fi" = {}; "FlixBus" = {};
"FlixBus Wi-Fi" = {};
};
}; };
networking.retiolum = { networking.retiolum = {

View File

@@ -9,6 +9,7 @@ with pkgs;
eb-garamond eb-garamond
fira fira
font-awesome-ttf font-awesome-ttf
libertine
lmodern lmodern
powerline-fonts powerline-fonts
roboto roboto
@@ -35,6 +36,7 @@ with pkgs;
mpv mpv
pamixer pamixer
pavucontrol pavucontrol
perl
pmount pmount
ranger ranger
ripgrep tree ripgrep tree
@@ -96,20 +98,17 @@ with pkgs;
nodejs nodejs
ocaml ocaml
par par
perl
python3 python3
python36Packages.black python36Packages.black
python36Packages.flake8 python36Packages.flake8
racket-minimal racket-minimal
ruby
rustup rustup
scala scala
seafile-client seafile-client
shellcheck shellcheck
spotify spotify
stack stack
swiProlog typora
tinycc
zeroad zeroad
]; ];
} }

View File

@@ -46,7 +46,7 @@ in {
name = "retiolum.hosts"; name = "retiolum.hosts";
url = "https://lassul.us/retiolum.hosts"; url = "https://lassul.us/retiolum.hosts";
# FIXME # FIXME
sha256 = "1rqivqbf5p3sb92d8pzxk5ssq5rvrcgnfds2svs2dg845qd31sd6"; sha256 = "1p7mbam6bkdxzli9znmj7051d64v4vzbjzv7r1fcs89n9fw65fr5";
}); });
environment.systemPackages = [ config.services.tinc.networks.${netname}.package ]; environment.systemPackages = [ config.services.tinc.networks.${netname}.package ];

View File

@@ -18,20 +18,8 @@ let
done done
''; '';
colorize = pkgs.writers.writeDash "colorize.sh" '' colorize = pkgs.writers.writeDash "colorize.sh" ''
highlight=$(which highlight 2>/dev/null)
pygmentize=$(which pygmentize 2>/dev/null)
colorize() { colorize() {
if [ "$TERM" == "dumb" -o "$NO_COLORS" == "1" ] ${pkgs.python36Packages.pygments}/bin/pygmentize -l $1 -O bg=dark
then
cat
else
if [ "$1" == "haskell" ]; then
${pkgs.haskellPackages.hscolour}/bin/HsColour -tty
else
${pkgs.python36Packages.pygments}/bin/pygmentize -l $1 -O bg=dark
fi
fi
} }
if [ -z "$2" ]; then if [ -z "$2" ]; then

5
dot/typora.nix Normal file
View File

@@ -0,0 +1,5 @@
''
body {
font-family: 'Linux Libertine O';
}
''

View File