Compare commits

...

6 Commits

Author SHA1 Message Date
Alexandre LUCAZEAU b36187457a
Test wezterm 2022-09-29 09:16:47 +02:00
Alexandre LUCAZEAU abc24031f5
ADD bat 2022-09-28 16:35:35 +02:00
Alexandre LUCAZEAU cf9f38d48b
modules/users.nix : add alias lsd for ls
i3config : add launch sublime-music
i3status.nix : add music bloc
nixpkgs/home.nix : add bat.nix
2022-09-28 16:33:03 +02:00
Alexandre LUCAZEAU 6463f2dbe0
Merge branch 'main' of git.atlanticaweb.fr:alexandre/nixos-config 2022-09-22 09:52:59 +02:00
Alexandre LUCAZEAU 4930abe1c3
ADD drawio and wezterm package 2022-09-22 09:52:22 +02:00
Alexandre LUCAZEAU a19f4ee6e2
FIX dunst config
FIX typo configuration.nix
ADD sublime-music package and adapt i3status-bar
2022-09-22 09:49:44 +02:00
9 changed files with 49 additions and 11 deletions

View File

@ -28,6 +28,7 @@
forwardX11 = true;
};
};
sound.enable = true;
# hardware
hardware = {
logitech = {
@ -36,9 +37,9 @@
};
pulseaudio = {
enable = true;
extraConfig = "
load-module module-switch-on-connect
";
extraConfig =''
load-module module-switch-on-connect
'';
};
sane = {
enable = true;
@ -99,7 +100,7 @@
unmanaged = [ "interface-name:ve-*" ];
};
firewall.enable = true;
firewall.allowedTCPPorts = [ 24800 ];
firewall.allowedTCPPorts = [ 24800 6600 ];
};
i18n.defaultLocale = "fr_FR.UTF-8";
@ -150,7 +151,6 @@
LESS = "--quit-if-one-screen --RAW-CONTROL-CHARS";
TERMINAL = "xfce4-terminal";
PRIVATE_BROWSER = "firefox -private";
DEFAULT-WEB-BROWSER = "firefox";
};
users = {

View File

@ -0,0 +1,8 @@
{ config, pkgs, ... }:
{
#configDir = "/home/alexandre/git/nixos-config/hosts/dell-5590/nixpkgs/";
programs.bat = {
enable = true;
# } // (import "${configDir}/bat");
} // (import "/home/alexandre/git/nixos-config/hosts/dell-5590/nixpkgs/bat");
}

View File

@ -0,0 +1,7 @@
{
config = {
decorations = "auto";
paging = "auto";
theme = "Nord";
};
}

View File

@ -143,6 +143,7 @@ exec --no-startup-id nm-applet
exec --no-startup-id nextcloud
exec --no-startup-id udiskie -t
exec --no-startup-id blueman-applet
exec --no-startup-id sublime-music
exec --no-startup-id i3-msg 'workspace $ws9; exec keepassxc;'
#exec --no-startup-id i3-msg 'workspace $ws5; exec emacs;'
exec --no-startup-id i3-msg 'workspace $ws1; exec alacritty;'

View File

@ -112,10 +112,10 @@
sticky_history = "yes";
# Maximum amount of notifications kept in history
history_length = 15;
history_length = 3;
# Display indicators for URLs (U) and actions (A).
show_indicators = "no";
show_indicators = "yes";
# The height of a single line. If the height is smaller than the
# font height, it will get raised to the font height.

View File

@ -9,6 +9,7 @@
./emacs.nix
./mails.nix
./dunst.nix
./bat.nix
# ./redshift.nix
# ../../../modules/neovim.nix
../../../modules/rust.nix
@ -21,5 +22,10 @@
"i3/config".source = ./configs/i3config;
};
xsession.numlock.enable = true;
home.file = {
".wezterm.lua" = {
source = ./configs/wezterm.lua;
};
};
}

View File

@ -25,10 +25,17 @@
block = "cpu";
interval = 1;
}
# {
# block = "load";
# interval = 1;
# format = "{1m}";
# }
{
block = "load";
interval = 1;
format = "{1m}";
block = "music";
buttons = [ "play" "next" ];
max_width = 20;
dynamic_width = true;
hide_when_empty = true;
}
{
block = "sound";
@ -65,6 +72,11 @@
interval = 60;
format = "%a %d/%m %R";
}
{
block = "pomodoro";
message = "Break !";
break_message = "Reprise";
}
];
icons = "material-nf";
theme = "nord-dark";

View File

@ -54,5 +54,9 @@
nmap
udiskie
libnotify
sublime-music
wezterm
drawio
lsd
];
}

View File

@ -27,7 +27,7 @@
programs.fish.enable = true;
programs.fish.shellAliases = {
ll = "ls -l";
ls = "exa";
ls = "lsd";
vi = "nvim";
vim = "nvim";
};