refactor(system, home): Move mpv [./system -> ./home], add git to ./system

This commit is contained in:
xezo360hye 2024-08-06 02:28:20 +03:00
parent 668c2f17c4
commit f5b01e9f8f
2 changed files with 18 additions and 8 deletions

View File

@ -53,6 +53,10 @@
}; };
}; };
}; };
mpv = {
enable = true;
};
}; };

View File

@ -1,10 +1,4 @@
{ { inputs, config, pkgs, lib, ... }:
inputs,
config,
pkgs,
lib,
...
}:
let flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs; let flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs;
in in
{ {
@ -59,10 +53,22 @@ in
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
# Programs
programs = {
git = {
enable = true;
config = {
init.defaultBranch = "master";
url."https://github.com/".insteadOf = [ "gh:" "github:" ];
url."https://git.psf.lt/".insteadOf = [ "psf:" "gitea:" ];
};
};
};
# Packages # Packages
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
alsa-utils alsa-utils
mpv
]; ];