dev #19

Open
tdpeuter wants to merge 105 commits from dev into main
3 changed files with 14 additions and 2 deletions
Showing only changes of commit 8e65aaaf60 - Show all commits

View file

@ -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

View file

@ -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

View 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;
};
}