diff --git a/eshu/etc/nixos/configuration.nix b/eshu/etc/nixos/configuration.nix index 735b770..78a1a72 100644 --- a/eshu/etc/nixos/configuration.nix +++ b/eshu/etc/nixos/configuration.nix @@ -8,6 +8,7 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + ]; boot.extraModprobeConfig = '' options bluetooth disable_ertm=1 ''; @@ -20,6 +21,46 @@ hardware.bluetooth.powerOnBoot = true; hardware.xone.enable = true; # support for the xbox controller USB dongle + home-manager.users.eliribble = { pkgs, ... }: { + #home.file = { + #name = ".config/autostart/steam.desktop"; + #text = "Flubble"; + #}; + # home.packages = [ pkgs.httpie ]; + + programs.fish.enable = true; + programs.tmux = { + enable = true; + extraConfig = '' + set-option -g default-command fish + + bind-key h select-pane -L + bind-key j select-pane -D + bind-key k select-pane -U + bind-key l select-pane -R + + # nested tmux, obey me + bind-key a send-prefix + + # Avoid the annoying bit of delay when using the control character + set -g escape-time 0 + set -g renumber-windows on + + # Show a visual bell, even on other windows + set-window-option -g visual-bell both + set-window-option -g bell-action other + + # Set up the window visuals + set -g window-status-style bg=yellow + set -g window-status-current-style bg=red,fg=white + ''; + }; + + # The state version is required and should stay at the version you + # originally installed. + home.stateVersion = "24.05"; + }; + networking.hostName = "eshu"; # Define your hostname. # Pick only one of the below networking options. #networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. @@ -73,16 +114,6 @@ # Enable touchpad support (enabled default in most desktopManager). # services.libinput.enable = true; - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.eliribble = { - isNormalUser = true; - extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. - packages = with pkgs; [ - #firefox - tree - ]; - }; - # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ @@ -163,5 +194,15 @@ # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . system.stateVersion = "24.05"; # Did you read the comment? + # Define a user account. Don't forget to set a password with ‘passwd’. + users.users.eliribble = { + isNormalUser = true; + extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + packages = with pkgs; [ + #firefox + tree + ]; + }; + }