moved git to home-manager for use on multiple systems, currently enabled but not configured

This commit is contained in:
Gabriella Bere 2024-09-15 21:22:55 +01:00
parent 29f74e5639
commit ff707054c1
4 changed files with 14 additions and 8 deletions

3
home-manager/git.nix Normal file
View file

@ -0,0 +1,3 @@
{config, ... }:{
programs.git.enable = true;
}

View file

@ -15,6 +15,7 @@
./eza.nix ./eza.nix
./nixvim.nix ./nixvim.nix
./nextcloud.nix ./nextcloud.nix
./git.nix
]; ];
# States home manager version that config was originally compatible with, do not change without reading all patch notes since this version and altering as needed # States home manager version that config was originally compatible with, do not change without reading all patch notes since this version and altering as needed

View file

@ -28,7 +28,7 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
# default kernel causes issues with wpa_supplicant meaning shutdown times are > 10 mins updating to kernel 69+ fixes this # default kernel causes issues with wpa_supplicant meaning shutdown times are > 10 mins updating to kernel 69+ fixes this
boot.kernelPackages = pkgs.linuxKernel.packages.linux_zen; # boot.kernelPackages = pkgs.linuxKernel.packages.linux_zen;
# I was told that adding these helps but it doesnt seemt to work as monitors are still buggy at 144hz, may as well keep them # I was told that adding these helps but it doesnt seemt to work as monitors are still buggy at 144hz, may as well keep them
boot.kernelParams = [ boot.kernelParams = [
@ -37,8 +37,9 @@
"video=eDP-2:2560x1200@165" "video=eDP-2:2560x1200@165"
]; ];
boot.initrd.kernelModules = [ "amdgpu" "v4l2loopback" ]; boot.initrd.kernelModules = [ "amdgpu" ];
boot.extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ]; boot.extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ];
boot.kernelModules = [ "v4l2loopback" ];
networking.hostName = "gabbielaptop"; # Define your hostname. networking.hostName = "gabbielaptop"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -206,12 +207,12 @@
7777 # used for Satisfactory Server 7777 # used for Satisfactory Server
]; ];
networking.firewall.allowedUDPPorts = [ 7777 ]; networking.firewall.allowedUDPPorts = [ 7777 ];
# networking.firewall.allowedTCPPortRanges = [ networking.firewall.allowedUDPPortRanges = [
# { {
# from = 49000; from = 45000;
# to = 65535; to = 60000;
# } }
# ]; ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;

View file

@ -39,6 +39,7 @@
orca-slicer orca-slicer
davinci-resolve davinci-resolve
ardour ardour
v4l-utils
]) ])
++ ++