Compare commits

..

5 commits

Author SHA1 Message Date
d218eb008c feat(ahrc-pc): add SSH server 2024-10-01 21:01:09 +02:00
c53e7f1519 fix: wrong bash prompt 2024-10-01 19:55:50 +02:00
38afd3274f fix: keyboard layout 2024-10-01 19:54:30 +02:00
539866bee0 fix(ahrc-pc): Hyprland keyboard layout 2024-10-01 18:39:03 +02:00
771055c65d fix(hyprland): unpleasant dim 2024-10-01 18:37:15 +02:00
6 changed files with 13 additions and 10 deletions

View file

@ -5,6 +5,8 @@
networking.hostName = "ahrc-laptop"; networking.hostName = "ahrc-laptop";
console.keyMap = "fr-pc";
environment.systemPackages = with pkgs; [ powertop brightnessctl ]; environment.systemPackages = with pkgs; [ powertop brightnessctl ];
services.libinput.enable = true; services.libinput.enable = true;

View file

@ -24,10 +24,10 @@
decoration = { decoration = {
inactive_opacity = 1.0; inactive_opacity = 1.0;
drop_shadow = false; drop_shadow = false;
dim_inactive = false;
blur.enabled = false; blur.enabled = false;
}; };
gestures.workspace_swipe = true; gestures.workspace_swipe = true;
input.kb_layout = "fr";
input.touchpad = { input.touchpad = {
disable_while_typing = false; disable_while_typing = false;
natural_scroll = true; natural_scroll = true;

View file

@ -5,14 +5,18 @@
networking.hostName = "ahrc-pc"; networking.hostName = "ahrc-pc";
console.keyMap = "us";
services.openssh.enable = true;
programs.bash.promptInit = '' programs.bash.promptInit = ''
if [ "$(whoami)" = root ]; then if [ "$(whoami)" = root ]; then
color=35 color=31
else else
color=32 color=35
user='\u@' user='\u@'
fi fi
PS1="\[\033[0m\](\[\033[1;''${color}m\]''${user}\h\[\033[0m\] \[\033[1;34m\]\W\[\033[0m\])\\$ " PS1="\[\033[0m\][\[\033[1;''${color}m\]''${user}\h\[\033[0m\] \[\033[1;34m\]\W\[\033[0m\]]\\$ "
''; '';
system.stateVersion = "24.05"; system.stateVersion = "24.05";

View file

@ -23,9 +23,9 @@
decoration = { decoration = {
inactive_opacity = 0.9; inactive_opacity = 0.9;
drop_shadow = true; drop_shadow = true;
dim_inactive = true;
blur.enabled = true; blur.enabled = true;
}; };
input.kb_layout = "us";
gestures.workspace_swipe = false; gestures.workspace_swipe = false;
misc.animate_manual_resizes = true; misc.animate_manual_resizes = true;
}; };

View file

@ -12,10 +12,7 @@
time.timeZone = "Europe/Paris"; time.timeZone = "Europe/Paris";
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";
console = { console.font = "Lat2-Terminus16";
font = "Lat2-Terminus16";
keyMap = "fr-pc";
};
services.pipewire = { services.pipewire = {
enable = true; enable = true;

View file

@ -173,6 +173,7 @@
movefocus_cycles_fullscreen = false; movefocus_cycles_fullscreen = false;
}; };
decoration = { decoration = {
dim_inactive = false;
rounding = 10; rounding = 10;
active_opacity = 1.0; active_opacity = 1.0;
fullscreen_opacity = 1.0; fullscreen_opacity = 1.0;
@ -190,7 +191,6 @@
no_focus_fallback = true; no_focus_fallback = true;
}; };
input = { input = {
kb_layout = "fr";
numlock_by_default = true; numlock_by_default = true;
repeat_rate = 75; repeat_rate = 75;
repeat_delay = 300; repeat_delay = 300;