feat: mise à jour des dépendances et ajout de nouvelles fonctionnalités dans la configuration Nix

This commit is contained in:
kity 2025-04-11 16:37:21 +02:00
parent 5ef6dabdd8
commit 2d26165acc
7 changed files with 367 additions and 125 deletions

View file

@ -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";
}

View file

@ -0,0 +1,12 @@
{config, ...}:
{
services.pds = {
enable = true;
pdsadmin.enable = true;
environmentFiles = [];
settings = {
"PDS_HOSTNAME" = "pds.rougebordeaux.xyz";
};
};
}

View file

@ -10,6 +10,7 @@
"davinci-resolve"
];
environment.systemPackages = with pkgs; [
zathura
# music editing software
reaper