remove open ports on desktop, add lm_sensors package to desktop, add condition to bashrc to not output anything if non iteractive
This commit is contained in:
@ -5,6 +5,7 @@ export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quo
|
|||||||
alias vim=nvim
|
alias vim=nvim
|
||||||
alias vi=nvim
|
alias vi=nvim
|
||||||
alias "copy=xclip -selection c"
|
alias "copy=xclip -selection c"
|
||||||
|
alias hl="Hyprland"
|
||||||
cat_cp() {
|
cat_cp() {
|
||||||
cat $@ | xclip -selection c
|
cat $@ | xclip -selection c
|
||||||
}
|
}
|
||||||
@ -18,12 +19,15 @@ cd() {
|
|||||||
echo -n "$PWD" > ~/.last_directory
|
echo -n "$PWD" > ~/.last_directory
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
export PATH="$HOME/pyenv/bin:$PATH"
|
||||||
|
alias tagueule="asusctl profile -P Quiet"
|
||||||
|
|
||||||
|
[ -z "${PS1:-}" ] && return
|
||||||
|
|
||||||
if [ -f ~/.last_directory ];then
|
if [ -f ~/.last_directory ];then
|
||||||
echo -n going to
|
echo -n going to
|
||||||
cat ~/.last_directory
|
cat ~/.last_directory
|
||||||
echo
|
echo
|
||||||
builtin cd "$(cat ~/.last_directory)"
|
builtin cd "$(cat ~/.last_directory)"
|
||||||
fi
|
fi
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
|
||||||
export PATH="$HOME/pyenv/bin:$PATH"
|
|
||||||
alias tagueule="asusctl profile -P Quiet"
|
|
||||||
|
8
homes/laptop/hyprland.nix
Normal file
8
homes/laptop/hyprland.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
monitor= [
|
||||||
|
"eDP-1, 1920x1080@120, 0x0, 1"
|
||||||
|
"HDMI-A-1, 1920x1080@60, auto, auto"
|
||||||
|
];
|
||||||
|
}
|
@ -8,9 +8,11 @@
|
|||||||
modules/vboxHost.nix
|
modules/vboxHost.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
lm_sensors
|
||||||
|
];
|
||||||
|
|
||||||
networking.hostName = "nixos-fixe";
|
networking.hostName = "nixos-fixe";
|
||||||
networking.firewall.allowedTCPPorts = [ 5900 ];
|
|
||||||
networking.firewall.allowedUDPPorts = [ 5900 ];
|
|
||||||
|
|
||||||
hardware.cpu.intel.updateMicrocode = true;
|
hardware.cpu.intel.updateMicrocode = true;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user