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, ... }: { makeRootUser = { hostName }: { pkgs, ... }: {
home = homeModule; home = homeModule;
programs = (programsModule { pkgs = pkgs; }) // { programs = (programsModule {
pkgs = pkgs;
user = {
name = "root";
};
}) // {
git = (makeCommonGitConfigs { git = (makeCommonGitConfigs {
userName = "root"; userName = "root";
userEmail = "root@${hostName}"; userEmail = "root@${hostName}";
@@ -32,7 +37,7 @@ in
, extraGitConfigs ? [ ] , extraGitConfigs ? [ ]
, name , name
, ... , ...
}: { pkgs, ... }: { }@user: { pkgs, ... }: {
fonts = fontsModule; fonts = fontsModule;
home = homeModule // { home = homeModule // {
username = name; username = name;
@@ -53,7 +58,9 @@ in
] else ] else
[ ]); [ ]);
}; };
programs = (programsModule { pkgs = pkgs; }) // { programs = (programsModule {
inherit pkgs user;
}) // {
git = (makeCommonGitConfigs { git = (makeCommonGitConfigs {
userName = fullName; userName = fullName;
userEmail = email; userEmail = email;
+3 -3
View File
@@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, user, ... }:
{ {
bat.enable = true; bat.enable = true;
neovim = { neovim = {
@@ -34,7 +34,7 @@
enable = true; enable = true;
settings = { settings = {
import = [ import = [
"~/.config/alacritty/themes/themes/nord.toml" "${pkgs.alacritty-theme}/nord.toml"
]; ];
window = { window = {
title = "Terminal"; title = "Terminal";
@@ -46,7 +46,7 @@
italic = { family = "Fira Code"; style = "Italic"; }; italic = { family = "Fira Code"; style = "Italic"; };
}; };
shell = { shell = {
# program = pkgs.zsh; program = "/home/${user.name}/.nix-profile/bin/zsh";
args = [ args = [
"-l" "-l"
"-c" "-c"