1
Fork 0

feat: added alacritty

This commit is contained in:
Matei Adriel 2020-04-12 13:45:29 +03:00
parent 864ace160a
commit d5d93ceec3
7 changed files with 80 additions and 2 deletions

View file

@ -0,0 +1,53 @@
{ ... }: {
home-manager.users.adrielus.programs.alacritty = {
enable = true;
settings = {
window = {
padding = {
x = 4;
y = 8;
};
gtk_theme_variant = "dark";
};
fonts.normal.family = "Source Code Pro";
colors = {
cursor = {
text = "#1460d2";
cursor = "#f0cc09";
};
selection = {
text = "#b5b5b5";
background = "#18354f";
};
primary = {
background = "#132738";
foreground = "#ffffff";
};
normal = {
black = "#000000";
red = "#ff0000";
green = "#38de21";
yellow = "#ffe50a";
blue = "#1460d2";
magenta = "#ff005d";
cyan = "#00bbbb";
white = "#bbbbbb";
};
bright = {
black = "#555555";
red = "#f40e17";
green = "#3bd01d";
yellow = "#edc809";
blue = "#5555ff";
magenta = "#ff55ff";
cyan = "#6ae3fa";
white = "#ffffff";
};
};
};
};
}

View file

@ -1,3 +1,12 @@
{ ... }: {
imports = [ ./misc.nix ./locale.nix ./git ./shells ./wakatime ./memes.nix ];
imports = [
./git
./shells
./wakatime
./misc.nix
./locale.nix
./memes.nix
./alacritty.nix
];
}

View file

@ -5,6 +5,7 @@
exa # ls replacement
mkpasswd # hash passwords
gnupg
typespeed
# editors
vscodium
@ -13,8 +14,11 @@
discord
slack
# gui studf
# browsers
google-chrome
brave
# other stuff
spectacle # take screenshots
unstable.elementary-planner # project planner
];

View file

@ -2,6 +2,8 @@
imports = [
./dev
./applications
./theme
./network.nix
./xserver.nix
./users.nix

View file

@ -12,6 +12,8 @@ in {
cached-nix-shell = callPackage imports.cached-nix-shell { };
easy-purescript-nix = callPackage imports.easy-purescript-nix { };
brave = unstable.brave;
inherit (import imports.niv { }) niv;
inherit (import imports.all-hies { }) all-hies;
})

View file

@ -0,0 +1 @@
{ ... }: { imports = [ ./fonts.nix ]; }

7
modules/theme/fonts.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, ... }: {
home-manager.users.adrielus.home.packages = with pkgs; [
fira-code
fira-code-symbols
source-code-pro
];
}