a little ricing
This commit is contained in:
parent
448da283ee
commit
beb7d2def1
8 changed files with 166 additions and 82 deletions
|
@ -45,6 +45,12 @@ in {
|
|||
etc = {
|
||||
"starship.toml".source = ../dotfiles/starship.toml;
|
||||
};
|
||||
|
||||
variables = {
|
||||
BAT_THEME = "ansi";
|
||||
EDITOR = "nvim";
|
||||
STARSHIP_CONFIG = "/etc/starship.toml";
|
||||
};
|
||||
};
|
||||
|
||||
programs.bash = {
|
||||
|
@ -52,8 +58,6 @@ in {
|
|||
. <(starship init bash)
|
||||
'';
|
||||
interactiveShellInit = ''
|
||||
export EDITOR=nvim
|
||||
export STARSHIP_CONFIG=/etc/starship.toml
|
||||
|
||||
if [ -f ~/.ssh/agent.env ] ; then
|
||||
. ~/.ssh/agent.env > /dev/null
|
||||
|
@ -68,7 +72,6 @@ in {
|
|||
ssh-add
|
||||
fi
|
||||
|
||||
|
||||
set_win_title() {
|
||||
echo -ne "\033]0;$USER@$HOSTNAME: $PWD\007"
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
colors = config.colors;
|
||||
unstable = import <nixos-unstable> { config.allowUnfree = true; };
|
||||
in {
|
||||
|
||||
|
@ -36,11 +37,56 @@ in {
|
|||
v4l2loopback
|
||||
];
|
||||
|
||||
colors = {
|
||||
background = "#282a36";
|
||||
foreground = "#f8f8f2";
|
||||
black = "#1E2029";
|
||||
red = "#ff5555";
|
||||
green = "#50fa7b";
|
||||
yellow = "#f1fa8c";
|
||||
cyan = "#8be9fd";
|
||||
magenta ="#bd93f9";
|
||||
blue = "#61bfff";
|
||||
white = "#ffffff";
|
||||
};
|
||||
|
||||
environment = {
|
||||
etc = {
|
||||
"sway/config".source = ../dotfiles/sway/config;
|
||||
"sway/status.toml".source = ../dotfiles/sway/status.toml;
|
||||
"xdg/alacritty/alacritty.yml".source = ../dotfiles/alacritty.yml;
|
||||
"xdg/alacritty/alacritty.yml".text = ''
|
||||
font:
|
||||
normal:
|
||||
family: CaskaydiaCove Nerd Font
|
||||
size: 12
|
||||
|
||||
background_opacity: 0.98
|
||||
draw_bold_text_with_bright_colors: true
|
||||
|
||||
colors:
|
||||
primary:
|
||||
background: "${colors.background}"
|
||||
foreground: "${colors.foreground}"
|
||||
|
||||
normal:
|
||||
black: "${colors.black}"
|
||||
red: "${colors.red}"
|
||||
green: "${colors.green}"
|
||||
yellow: "${colors.yellow}"
|
||||
cyan: "${colors.cyan}"
|
||||
magenta: "${colors.magenta}"
|
||||
blue: "${colors.blue}"
|
||||
white: "${colors.white}"
|
||||
|
||||
window:
|
||||
dynamic_title: true
|
||||
|
||||
env:
|
||||
TERM: xterm-256color
|
||||
|
||||
key_bindings:
|
||||
- { key: Escape, mods: Control, action: ToggleViMode }
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -5,25 +5,25 @@ let
|
|||
in {
|
||||
environment.systemPackages = with pkgs; [
|
||||
# embedded
|
||||
arduino
|
||||
avrdude
|
||||
gcc-arm-embedded
|
||||
openocd
|
||||
pkgsCross.avr.avrlibc
|
||||
pkgsCross.avr.buildPackages.binutils
|
||||
pkgsCross.avr.buildPackages.gcc8
|
||||
pkgsCross.avr.libcCross
|
||||
#arduino
|
||||
#avrdude
|
||||
#gcc-arm-embedded
|
||||
#openocd
|
||||
#pkgsCross.avr.avrlibc
|
||||
#pkgsCross.avr.buildPackages.binutils
|
||||
#pkgsCross.avr.buildPackages.gcc8
|
||||
#pkgsCross.avr.libcCross
|
||||
|
||||
cura
|
||||
candle
|
||||
#cura
|
||||
#candle
|
||||
openscad
|
||||
kicad
|
||||
blender
|
||||
python3Packages.numpy
|
||||
python3Packages.shapely
|
||||
#kicad
|
||||
#blender
|
||||
#python3Packages.numpy
|
||||
#python3Packages.shapely
|
||||
|
||||
steam
|
||||
unstable.obs-studio
|
||||
#steam
|
||||
#unstable.obs-studio
|
||||
];
|
||||
|
||||
# stm32 debugger
|
||||
|
@ -40,4 +40,8 @@ in {
|
|||
fsType = "nfs";
|
||||
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=120" ];
|
||||
};
|
||||
|
||||
networking.extraHosts = ''
|
||||
162.55.40.34 mail.f2o.io
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue