stuff, I guess
This commit is contained in:
parent
52a82bd54b
commit
34ce16b66f
2
bspwmrc
2
bspwmrc
@ -7,7 +7,7 @@ xsetroot -cursor_name left_ptr
|
||||
|
||||
# Start lemonbar
|
||||
sh ~/.config/bspwm/lemonbar.sh &
|
||||
# Start mpd
|
||||
# Daemons
|
||||
mpd
|
||||
|
||||
# Set up desktops on monitors
|
||||
|
@ -12,6 +12,8 @@
|
||||
boot.loader.grub.version = 2;
|
||||
boot.loader.grub.device = "/dev/sdd";
|
||||
|
||||
fileSystems."/".options = "discard,noatime";
|
||||
|
||||
time.timeZone = "Italy/Rome";
|
||||
|
||||
networking.hostName = "Fazo-PC"; # Define your hostname.
|
||||
@ -34,14 +36,15 @@
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Development
|
||||
atom git
|
||||
atom git nodejs
|
||||
# Desktop and appliations
|
||||
sxhkd tmux htop ranger w3m rxvt_unicode chromium dmenu gnupg irssi bar bc
|
||||
sxhkd tmux htop vim ranger w3m rxvt_unicode chromium dmenu gnupg irssi bar bc i3lock
|
||||
# Games
|
||||
minecraft
|
||||
# Media
|
||||
mpv beets mpd mpc_cli
|
||||
mpv beets mpd mpc_cli popcorntime
|
||||
# System utilities, drivers...
|
||||
ntfs3g
|
||||
# Services
|
||||
syncthing transmission
|
||||
# Other stuff
|
||||
@ -58,17 +61,24 @@
|
||||
|
||||
# Services
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "no";
|
||||
passwordAuthentication = false;
|
||||
};
|
||||
services = {
|
||||
# SSH
|
||||
openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "no";
|
||||
passwordAuthentication = false;
|
||||
};
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
videoDrivers = [ "nvidia" ];
|
||||
layout = "it";
|
||||
windowManager.bspwm.enable = true;
|
||||
# Desktop Environment
|
||||
xserver = {
|
||||
enable = true;
|
||||
videoDrivers = [ "nvidia" ];
|
||||
layout = "it";
|
||||
windowManager.bspwm.enable = true;
|
||||
desktopManager.xterm.enable = false;
|
||||
desktopManager.default = "none";
|
||||
windowManager.default = "bspwm";
|
||||
};
|
||||
};
|
||||
|
||||
# User environment
|
||||
|
1
install
1
install
@ -6,6 +6,7 @@ echo "Installing dotfiles"
|
||||
sudo cp configuration.nix /etc/nixos/
|
||||
echo "Activating NixOS configuration"
|
||||
sudo nixos-rebuild switch
|
||||
mkdir -p ~/.nixpkgs/
|
||||
cp config.nix ~/.nixpkgs/
|
||||
|
||||
# Custom Binaries
|
||||
|
@ -9,7 +9,7 @@ getVolume() {
|
||||
getMPD(){
|
||||
echo -n "♫ "
|
||||
if [ "$(mpc | wc -l)" -gt 1 ]; then
|
||||
echo -n "$(mpc | cut -d$'\n' -f1) | $(mpc | cut -d$'\n' -f2)"
|
||||
echo -n "$(mpc | cut -d$'\n' -f1) ♫ $(mpc | cut -d$'\n' -f2)"
|
||||
fi
|
||||
}
|
||||
|
||||
@ -21,7 +21,7 @@ buildBar () {
|
||||
while true
|
||||
do
|
||||
echo "$(getVolume) $(getMPD) %{c}$(buildClock)%{r}$(getNET)"
|
||||
sleep 1
|
||||
sleep 0.5
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user