mako theming 1
This commit is contained in:
@@ -68,6 +68,7 @@
|
||||
bright-white = "ffffff"; # #ffffff
|
||||
yellow = "ff4000"; # #ff4000
|
||||
bright-yellow = "ff8454"; # #ff8454
|
||||
border = red;
|
||||
};
|
||||
font = {
|
||||
code = {
|
||||
|
||||
18
home-modules/email.nix
Normal file
18
home-modules/email.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, pkgs, lib, system, user, allowed, secrets, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
thunderbird
|
||||
];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# home.file.".config/meli.config" = {
|
||||
|
||||
# };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -6,27 +6,27 @@
|
||||
delta
|
||||
|
||||
# only works on spec arch, chage url for others
|
||||
(stdenv.mkDerivation {
|
||||
name = "easycommit";
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/blackironj/easycommit/releases/download/v0.0.1/easycommit-v0.0.1-linux-amd64.tar.gz";
|
||||
sha256 = "sha256-Ip5wfVe/RzCxGGh1YFBllAn84nD7mUXbnMko+ue/C2E=";
|
||||
};
|
||||
phases = ["installPhase"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
tar xf $src -C $out/
|
||||
ls -la $out
|
||||
mv $out/easycommit $out/bin/
|
||||
chmod +x $out/bin/easycommit
|
||||
'';
|
||||
})
|
||||
# (stdenv.mkDerivation {
|
||||
# name = "easycommit";
|
||||
# src = pkgs.fetchurl {
|
||||
# url = "https://github.com/blackironj/easycommit/releases/download/v0.0.1/easycommit-v0.0.1-linux-amd64.tar.gz";
|
||||
# sha256 = "sha256-Ip5wfVe/RzCxGGh1YFBllAn84nD7mUXbnMko+ue/C2E=";
|
||||
# };
|
||||
# phases = ["installPhase"];
|
||||
# installPhase = ''
|
||||
# mkdir -p $out/bin
|
||||
# tar xf $src -C $out/
|
||||
# ls -la $out
|
||||
# mv $out/easycommit $out/bin/
|
||||
# chmod +x $out/bin/easycommit
|
||||
# '';
|
||||
# })
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = ''Lennart J. Kurzweg (Nx2)'';
|
||||
userEmail = "nx2@nx2.site";
|
||||
userEmail = "git@nx2.site";
|
||||
delta = {
|
||||
enable = true;
|
||||
options = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, rice, ... }:
|
||||
|
||||
{
|
||||
home.packages = [
|
||||
@@ -7,6 +7,10 @@
|
||||
];
|
||||
services.mako = {
|
||||
enable = true;
|
||||
defaultTimeout = 60000;
|
||||
defaultTimeout = 5;
|
||||
backgroundColor = "#${rice.color.background}";
|
||||
textColor = "#${rice.color.foreground}";
|
||||
borderColor = "#${rice.color.border}";
|
||||
font = "#${rice.font.code.name}";
|
||||
};
|
||||
}
|
||||
39
home.nix
39
home.nix
@@ -4,7 +4,9 @@
|
||||
./home-modules/vscode.nix
|
||||
./home-modules/discord.nix
|
||||
./home-modules/chatterino.nix
|
||||
./home-modules/meli/meli.nix
|
||||
# ./home-modules/meli/meli.nix
|
||||
./home-modules/email.nix
|
||||
|
||||
# ./home-modules/mutt/neomutt.nix
|
||||
./home-modules/gestures.nix
|
||||
|
||||
@@ -83,21 +85,26 @@
|
||||
stateHome = /home/${user}/.local/state;
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"default-web-browser" = [ "firefox.desktop" ];
|
||||
"text/html" = [ "firefox.desktop" ];
|
||||
"text/htm" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/about" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/unknown" = [ "firefox.desktop" ];
|
||||
"image/png" = "imv.desktop";
|
||||
"image/jpg" = "imv.desktop";
|
||||
"image/jpeg" = "imv.desktop";
|
||||
"image/webp" = "imv.desktop";
|
||||
"image/gif" = "imv.desktop";
|
||||
"application/pdf" = "zathura.desktop";
|
||||
};
|
||||
defaultApplications =
|
||||
let
|
||||
browser = "firefox.desktop";
|
||||
in
|
||||
{
|
||||
"default-web-browser" = [ browser ];
|
||||
"text/html" = [ browser ];
|
||||
"text/htm" = [ browser ];
|
||||
"x-scheme-handler/http" = [ browser ];
|
||||
"x-scheme-handler/https" = [ browser ];
|
||||
"x-scheme-handler/about" = [ browser ];
|
||||
"x-scheme-handler/unknown" = [ browser ];
|
||||
"x-scheme-handler/mailto" = "thunderbird.desktop";
|
||||
"image/png" = "imv.desktop";
|
||||
"image/jpg" = "imv.desktop";
|
||||
"image/jpeg" = "imv.desktop";
|
||||
"image/webp" = "imv.desktop";
|
||||
"image/gif" = "imv.desktop";
|
||||
"application/pdf" = "zathura.desktop";
|
||||
};
|
||||
};
|
||||
};
|
||||
# Wayland, X, etc. support for session vars
|
||||
|
||||
Reference in New Issue
Block a user