feat: change nix structure
This commit is contained in:
32
modules/apps.nix
Normal file
32
modules/apps.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
termdown
|
||||
fastfetch
|
||||
neovim
|
||||
deno
|
||||
pnpm
|
||||
terraform
|
||||
gh-copilot
|
||||
gh
|
||||
rcm
|
||||
fnm
|
||||
universal-ctags
|
||||
ripgrep
|
||||
pyenv
|
||||
rustup
|
||||
ngrok
|
||||
marp-cli
|
||||
discord
|
||||
yarn
|
||||
typescript
|
||||
firefox
|
||||
ffmpeg_6
|
||||
warp-terminal
|
||||
raycast
|
||||
bitwarden-desktop
|
||||
jetbrains-toolbox
|
||||
jetbrains.datagrip
|
||||
jetbrains.rider
|
||||
jetbrains.webstorm
|
||||
];
|
||||
}
|
5
modules/config.nix
Normal file
5
modules/config.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nixpkgs.config.allowBroken = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
}
|
26
modules/dotfiles/git.nix
Normal file
26
modules/dotfiles/git.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ pkgs, ... }: {
|
||||
home-manager.users.louisgallet = { pkgs, ... }: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Louis Gallet";
|
||||
userEmail = "me@louisgallet.fr";
|
||||
signing = {
|
||||
key = "9AD287ECD257A6B61ECD592CD4C61677B9CC4C9B";
|
||||
signByDefault = true;
|
||||
};
|
||||
extraConfig = {
|
||||
init.defaultBranch = "master";
|
||||
gpg.format = "openpgp";
|
||||
gpg.program =
|
||||
if pkgs.stdenv.isDarwin then "/opt/homebrew/bin/gpg"
|
||||
else "${pkgs.gnupg}/bin/gpg";
|
||||
filter.lfs = {
|
||||
clean = "git-lfs clean -- %f";
|
||||
smudge = "git-lfs smudge -- %f";
|
||||
process = "git-lfs filter-process";
|
||||
required = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user