Get a working home-manager config.

It doesn't do what I want yet though.
This commit is contained in:
Eli Ribble 2024-09-25 14:24:20 +00:00
parent 77f24c597b
commit 1fd99ce8f7
1 changed files with 51 additions and 10 deletions

View File

@ -8,6 +8,7 @@
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
<home-manager/nixos>
]; ];
boot.extraModprobeConfig = '' options bluetooth disable_ertm=1 ''; boot.extraModprobeConfig = '' options bluetooth disable_ertm=1 '';
@ -20,6 +21,46 @@
hardware.bluetooth.powerOnBoot = true; hardware.bluetooth.powerOnBoot = true;
hardware.xone.enable = true; # support for the xbox controller USB dongle 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. networking.hostName = "eshu"; # Define your hostname.
# Pick only one of the below networking options. # Pick only one of the below networking options.
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. #networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -73,16 +114,6 @@
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
# services.libinput.enable = true; # 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: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ 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 . # 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? 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
];
};
} }