Added alacrity to home-manager

This commit is contained in:
ari committed 2024-08-23 10:13:20 -04:00
1 parent 35b0de17a9
commit ba3dc73e0c
4 files changed
+13 -31

No files matched your search

-24
View File
@@ -1,24 +0,0 @@
live_config_reload = true
import = [
"~/.config/alacritty/themes/themes/nord.toml"
]
[window]
title = "Terminal"
blur = true
[font]
normal = { family = "Fira Code", style = "Regular" }
bold = { family = "Fira Code", style = "Bold" }
italic = { family = "Fira Code", style = "Italic" }
[shell]
program = "/home/ari/.nix-profile/bin/zsh"
args = [
"-l",
"-c",
"tmux attach || tmux"
]
Submodule configs/alacritty/themes deleted from 4091fddff8.
+10 -3
View File
@@ -14,7 +14,12 @@ in
{
makeRootUser = { hostName }: { pkgs, ... }: {
home = homeModule;
programs = (programsModule { pkgs = pkgs; }) // {
programs = (programsModule {
pkgs = pkgs;
user = {
name = "root";
};
}) // {
git = (makeCommonGitConfigs {
userName = "root";
userEmail = "root@${hostName}";
@@ -32,7 +37,7 @@ in
, extraGitConfigs ? [ ]
, name
, ...
}: { pkgs, ... }: {
}@user: { pkgs, ... }: {
fonts = fontsModule;
home = homeModule // {
username = name;
@@ -53,7 +58,9 @@ in
] else
[ ]);
};
programs = (programsModule { pkgs = pkgs; }) // {
programs = (programsModule {
inherit pkgs user;
}) // {
git = (makeCommonGitConfigs {
userName = fullName;
userEmail = email;
+3 -3
View File
@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, user, ... }:
{
bat.enable = true;
neovim = {
@@ -34,7 +34,7 @@
enable = true;
settings = {
import = [
"~/.config/alacritty/themes/themes/nord.toml"
"${pkgs.alacritty-theme}/nord.toml"
];
window = {
title = "Terminal";
@@ -46,7 +46,7 @@
italic = { family = "Fira Code"; style = "Italic"; };
};
shell = {
# program = pkgs.zsh;
program = "/home/${user.name}/.nix-profile/bin/zsh";
args = [
"-l"
"-c"