41 lines
993 B
Nix
41 lines
993 B
Nix
# Matt home.nix
|
|
{ pkgs, ... }: {
|
|
|
|
home.username = "matt";
|
|
home.homeDirectory = "/home/matt";
|
|
home.stateVersion = "23.11";
|
|
programs.home-manager.enable = true;
|
|
|
|
programs.fish.enable = true;
|
|
programs.mangohud.enable = true;
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "mjallen18";
|
|
userEmail = "matt.l.jallen@gmail.com";
|
|
};
|
|
|
|
home.packages = [
|
|
# Other packages
|
|
];
|
|
|
|
# custom systemd services
|
|
# systemd.user.services.fix-wifi = {
|
|
# Unit = {
|
|
# Description = "Reset wifi adapter so that it works on boot consistently.";
|
|
# };
|
|
# Install = {
|
|
# WantedBy = [ "default.target" ];
|
|
# };
|
|
# Service = {
|
|
# ExecStart = "/home/matt/nix-config/scripts/reset_wifi";
|
|
# # ExecStart = "${pkgs.writeShellScript "fix-wifi" ''
|
|
# # #!/usr/bin/env bash
|
|
# # echo 1 | sudo -u root tee /sys/bus/pci/devices/0000\:09\:00.0/reset
|
|
# # sudo rmmod iwlwifi
|
|
# # sudo modprobe iwlwifi
|
|
# # ''}";
|
|
# };
|
|
# };
|
|
|
|
} |