feat(git): enable LFS
This commit is contained in:
parent
60d9c07eae
commit
8e65aaaf60
3 changed files with 14 additions and 2 deletions
|
|
@ -31,6 +31,7 @@
|
|||
|
||||
programs = {
|
||||
direnv.enable = true;
|
||||
git.enable = true;
|
||||
home-manager.enable = true;
|
||||
sops.enable = true;
|
||||
ssh.enable = true;
|
||||
|
|
@ -63,7 +64,6 @@
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
vim-full
|
||||
w3m
|
||||
wget
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
|
||||
programs = {
|
||||
direnv.enable = true;
|
||||
git.enable = true;
|
||||
home-manager.enable = true;
|
||||
sops.enable = true;
|
||||
ssh.enable = true;
|
||||
|
|
@ -168,7 +169,6 @@
|
|||
localBinInPath = true;
|
||||
|
||||
systemPackages = with pkgs; [
|
||||
git
|
||||
vim-full # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
w3m
|
||||
wget
|
||||
|
|
|
|||
12
nixos/modules/programs/git/default.nix
Normal file
12
nixos/modules/programs/git/default.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.sisyphus.programs.git;
|
||||
in {
|
||||
options.sisyphus.programs.git.enable = lib.mkEnableOption "Git";
|
||||
|
||||
config.programs.git = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue