mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 22:50:19 +02:00
feat: mise à jour des dépendances et ajout de nouvelles fonctionnalités dans la configuration Nix
This commit is contained in:
parent
5ef6dabdd8
commit
2d26165acc
7 changed files with 367 additions and 125 deletions
|
@ -1,31 +1,45 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
# List packages installed in system profile. To search by name, run:
|
||||
# $ nix-env -qaP | grep wget
|
||||
environment.systemPackages = with pkgs;
|
||||
[
|
||||
neovim
|
||||
kitty
|
||||
kittysay
|
||||
terraform
|
||||
];
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"terraform"
|
||||
"beeper"
|
||||
];
|
||||
# List packages installed in system profile. To search by name, run:
|
||||
# $ nix-env -qaP | grep wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
kitty
|
||||
kittysay
|
||||
terraform
|
||||
nixfmt-rfc-style
|
||||
beeper
|
||||
direnv
|
||||
zoxide
|
||||
git-crypt
|
||||
];
|
||||
|
||||
programs.direnv.enable = true;
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
services.nix-daemon.enable = true;
|
||||
# nix.package = pkgs.nix;
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
# Necessary for using flakes on this system.
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
# nix.package = pkgs.nix;
|
||||
|
||||
# Create /etc/zshrc that loads the nix-darwin environment.
|
||||
programs.zsh.enable = true; # default shell on catalina
|
||||
# programs.fish.enable = true;
|
||||
# Necessary for using flakes on this system.
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
|
||||
# Used for backwards compatibility, please read the changelog before changing.
|
||||
# $ darwin-rebuild changelog
|
||||
system.stateVersion = 5;
|
||||
# Create /etc/zshrc that loads the nix-darwin environment.
|
||||
programs.zsh = {
|
||||
enable = true; # default shell on catalina
|
||||
};
|
||||
# programs.fish.enable = true;
|
||||
|
||||
# The platform the configuration will be used on.
|
||||
nixpkgs.hostPlatform = "x86_64-darwin";
|
||||
# Used for backwards compatibility, please read the changelog before changing.
|
||||
# $ darwin-rebuild changelog
|
||||
system.stateVersion = 5;
|
||||
|
||||
# The platform the configuration will be used on.
|
||||
nixpkgs.hostPlatform = "x86_64-darwin";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue