Skip to content

Commit

Permalink
Fixed some code style issues (indentation, comments)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwyuen committed Oct 8, 2024
1 parent 4963155 commit 9dbd9eb
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 17 deletions.
4 changes: 2 additions & 2 deletions dots/config/bspwm/sxhkdrc
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ super + ctrl + shift + space

#####

# expand a window
# resize: expand a window
super + alt + {h,j,k,l}
bspc node -z {left -10 0,bottom 0 10,top 0 -10,right 10 0}

# contract a window
# resize contract a window
super + alt + shift + {h,j,k,l}
bspc node -z {right -10 0,top 0 10,bottom 0 -10,left 10 0}

Expand Down
18 changes: 9 additions & 9 deletions nix-config/home/alacritty.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ in lib.mkIf (alacritty == true) {
];
live_config_reload = true;
cursor = {
style = {
shape = "Beam";
blinking = "On";
};
style = {
shape = "Beam";
blinking = "On";
};
blink_interval = 550;
unfocused_hollow = false;
thickness = 0.15;
Expand All @@ -29,12 +29,12 @@ in lib.mkIf (alacritty == true) {
save_to_clipboard = true;
};
window = {
decorations = "none";
dynamic_title = true;
decorations = "none";
dynamic_title = true;
dynamic_padding = true;
padding.x = 5;
padding.y = 5;
opacity = 1;
padding.x = 5;
padding.y = 5;
opacity = 1;
};
scrolling = {
history = 10000;
Expand Down
8 changes: 4 additions & 4 deletions nix-config/home/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ in {
nvim-autopairs.enable = true;
persistence.enable = true;
startup = {
enable = true;
theme = "dashboard";
enable = true;
theme = "dashboard";
};
telescope = {
enable = true;
Expand All @@ -145,8 +145,8 @@ in {
tmux-navigator.enable = true;
todo-comments.enable = true;
treesitter = {
enable = true;
nixGrammars = true;
enable = true;
nixGrammars = true;
};
treesitter-context.enable = true;
treesitter-textobjects.enable = true;
Expand Down
1 change: 1 addition & 0 deletions nix-config/system/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
# xwayland.enable = true;
# };
fuse.userAllowOther = true;
# network diagnostic tool
mtr.enable = true;
gnupg.agent = {
enable = true;
Expand Down
3 changes: 1 addition & 2 deletions nix-config/system/syncthing.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ lib.mkIf (syncthing == true) {
# 22000 TCP and/or UDP for sync traffic
# 21027/UDP for discovery
# source: https://docs.syncthing.net/users/firewall.html
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
# these are opened on the firewall in system.nix
}
4 changes: 4 additions & 0 deletions system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ in {
# Enable networking
networking.hostName = "${hostname}"; # Define your hostname
networking.networkmanager.enable = true;
#networking.firewall.allowedTCPPorts = [ 8384 22000 3000 ];
#networking.firewall.allowedUDPPorts = [ 22000 21027 ];
networking.firewall.enable = false;


# Set your time zone
time.timeZone = "${theTimezone}";
Expand Down

0 comments on commit 9dbd9eb

Please sign in to comment.