About
History
New snippet →
Upload snippet →
Snippet #2960 (by Ekleog, python)
#2960
Expires in: 0 minutes
View Raw
{
config
,
pkgs
,
lib
,
...
}:
{
configFile
=
lib
.
mkIf
config
.
isDesktop
{
mako
=
{
executable
=
false
;
target
=
"$
{config.xdg.configHome}
/mako/config"
;
text
=
''
background
-
color
=
#0a0e14
border
-
color
=
#53bdfa
default
-
timeout
=
30000
font
=
Hack
10
icon
-
path
=
"~/.nix-profile/share/icons/hicolor/64x64:~/.nix-profile/share/pixmaps"
icons
=
1
max
-
visible
=-
1
sort
=-
time
text
-
color
=
#b3b1ad
width
=
500
''
;
};
};
})
Wrap long lines
Reply to this snippet →
Honeypot, don't fill.
{ config, pkgs, lib, ... }: { configFile = lib.mkIf config.isDesktop { mako = { executable = false; target = "${config.xdg.configHome}/mako/config"; text = '' background-color=#0a0e14 border-color=#53bdfa default-timeout=30000 font=Hack 10 icon-path="~/.nix-profile/share/icons/hicolor/64x64:~/.nix-profile/share/pixmaps" icons=1 max-visible=-1 sort=-time text-color=#b3b1ad width=500 ''; }; }; })
Text (preformatted)
Text (not code)
----------
ABAP
ApacheConf
AppleScript
ActionScript
Bash
BBCode
C
Clojure
COBOL
CSS
CUDA
Dart
Delphi
Diff
Django
Erlang
Fortran
Go
Groovy
Haml
Haskell
HTML
HTTP
INI
IRC
Java
JavaScript
JSON
Lua
Makefile
Mako
Mason
Matlab
Modula
Monkey
MySQL
NumPy
OCaml
Perl
PHP
PostScript
PowerShell
Prolog
Properties
Puppet
Python
Ruby
reStructuredText
Rust
Sass
Scala
Scheme
Scilab
SCSS
Smalltalk
Smarty
SQL
Tcl
Tcsh
TeX
Text (Preformatted)
Text (non-code)
VB.net
VimL
XML
XQuery
XSLT
YAML
Author:
⌘+⏎ or Ctrl+⏎
Expire in
One Time Snippet
In one hour
In one week
In one month