Add more services to home-manager
This commit is contained in:
parent
2d922f85ef
commit
d32c230ed5
42
home/alacritty.yml
Normal file
42
home/alacritty.yml
Normal file
|
@ -0,0 +1,42 @@
|
|||
scrolling:
|
||||
history: 16384
|
||||
|
||||
font:
|
||||
normal:
|
||||
family: Fira Code
|
||||
size: 8
|
||||
|
||||
shell:
|
||||
program: /run/current-system/sw/bin/fish
|
||||
|
||||
# Colors (Hyper)
|
||||
colors:
|
||||
# Default colors
|
||||
primary:
|
||||
background: '0x000000'
|
||||
foreground: '0xffffff'
|
||||
cursor:
|
||||
text: '0xF81CE5'
|
||||
cursor: '0xffffff'
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '0x000000'
|
||||
red: '0xfe0100'
|
||||
green: '0x33ff00'
|
||||
yellow: '0xfeff00'
|
||||
blue: '0x0066ff'
|
||||
magenta: '0xcc00ff'
|
||||
cyan: '0x00ffff'
|
||||
white: '0xd0d0d0'
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '0x808080'
|
||||
red: '0xfe0100'
|
||||
green: '0x33ff00'
|
||||
yellow: '0xfeff00'
|
||||
blue: '0x0066ff'
|
||||
magenta: '0xcc00ff'
|
||||
cyan: '0x00ffff'
|
||||
white: '0xFFFFFF'
|
6
home/config
Normal file
6
home/config
Normal file
|
@ -0,0 +1,6 @@
|
|||
daemonize
|
||||
ignore-empty-password
|
||||
image=/home/artemis/.config/swaylock/xp.jpg
|
||||
indicator-caps-lock
|
||||
show-failed-attempts
|
||||
show-keyboard-layout
|
|
@ -7,36 +7,22 @@
|
|||
useGlobalPkgs = true;
|
||||
};
|
||||
home-manager.users.artemis = { pkgs, ... }: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitAndTools.gitFull;
|
||||
userName = "Artemis Tosini";
|
||||
userEmail = "me@artem.ist";
|
||||
signing = {
|
||||
key = "D2173817C3E4B155EA8FFF49A54531E0D32143ED";
|
||||
signByDefault = true;
|
||||
};
|
||||
ignores = [ "compile_commands.json" ".clangd/" ".idea/" ];
|
||||
lfs.enable = true;
|
||||
delta.enable = true;
|
||||
extraConfig = {
|
||||
transfer.fsckObjects = true;
|
||||
imports = [
|
||||
./git.nix
|
||||
];
|
||||
|
||||
advice.detachedHead = false;
|
||||
format.signOff = true;
|
||||
init.defaultBranch = "canon";
|
||||
log.showSignature = true;
|
||||
mailmap.file = "${../private/mailmap}";
|
||||
|
||||
credential.helper = "!${pkgs.gitAndTools.pass-git-helper}/bin/pass-git-helper $@";
|
||||
sendemail = {
|
||||
smtpServer = "smtp.fastmail.com";
|
||||
smtpUser = "me@artem.ist";
|
||||
smtpEncryption = "tls";
|
||||
smtpServerPort = 587;
|
||||
confirm = "auto";
|
||||
};
|
||||
};
|
||||
xdg.enable = true;
|
||||
xdg.configFile = {
|
||||
"alacritty/alacritty.yml".source = ./alacritty.yml;
|
||||
"mpv/mpv.conf".source = ./mpv.conf;
|
||||
"swaylock/config".text = ''
|
||||
daemonize
|
||||
ignore-empty-password
|
||||
indicator-caps-lock
|
||||
show-failed-attempts
|
||||
show-keyboard-layout
|
||||
image=${./xp.jpg}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
34
home/git.nix
Normal file
34
home/git.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitAndTools.gitFull;
|
||||
userName = "Artemis Tosini";
|
||||
userEmail = "me@artem.ist";
|
||||
signing = {
|
||||
key = "D2173817C3E4B155EA8FFF49A54531E0D32143ED";
|
||||
signByDefault = true;
|
||||
};
|
||||
ignores = [ "compile_commands.json" ".clangd/" ".idea/" ];
|
||||
lfs.enable = true;
|
||||
delta.enable = true;
|
||||
extraConfig = {
|
||||
transfer.fsckObjects = true;
|
||||
|
||||
advice.detachedHead = false;
|
||||
format.signOff = true;
|
||||
init.defaultBranch = "canon";
|
||||
log.showSignature = true;
|
||||
mailmap.file = "${../private/mailmap}";
|
||||
|
||||
credential.helper = "!${pkgs.gitAndTools.pass-git-helper}/bin/pass-git-helper $@";
|
||||
sendemail = {
|
||||
smtpServer = "smtp.fastmail.com";
|
||||
smtpUser = "me@artem.ist";
|
||||
smtpEncryption = "tls";
|
||||
smtpServerPort = 587;
|
||||
confirm = "auto";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
7
home/mpv.conf
Normal file
7
home/mpv.conf
Normal file
|
@ -0,0 +1,7 @@
|
|||
gpu-context=wayland
|
||||
hwdec=vaapi
|
||||
vo=gpu
|
||||
profile=gpu-hq
|
||||
scale=ewa_lanczossharp
|
||||
cscale=ewa_lanczossharp
|
||||
slang=eng
|
BIN
home/xp.jpg
Normal file
BIN
home/xp.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 722 KiB |
Loading…
Reference in a new issue