First commit

This commit is contained in:
2025-07-22 02:30:15 +02:00
commit e9441f563b
66 changed files with 4401 additions and 0 deletions

View File

@@ -0,0 +1,81 @@
{
pkgs,
...
}@attrs:
{
## Do not touch, read the fucking manual !!!
system.stateVersion = "25.05";
## Keep kernel packages up to latest
boot.kernelPackages = pkgs.linuxPackages_latest;
# Time Zone
time.timeZone = "Europe/Paris";
nix = {
settings = {
## Enable flakes
experimental-features = [
"nix-command"
"flakes"
];
## Users trusted to use flake command
trusted-users = [
"root"
"${attrs.username}"
];
};
## Grabage collection
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
};
services = {
locate = {
enable = true;
package = pkgs.plocate;
};
};
environment.systemPackages = [
pkgs.curl
pkgs.pciutils
pkgs.clinfo
pkgs.cargo
pkgs.git
pkgs.htop
pkgs.killall
pkgs.bind
pkgs.git
pkgs.jq
pkgs.openldap
pkgs.usbutils
pkgs.gnumake
pkgs.nixos-anywhere
pkgs.nixos-generators
pkgs.disko
pkgs.sops
pkgs.age
pkgs.ssh-to-age
pkgs.samba
pkgs.krb5
pkgs.pam_krb5
pkgs.gnumake
pkgs.keyutils
pkgs.cifs-utils
pkgs.neovim
pkgs.unzip
# Nvim with dependencies
pkgs.nodejs
pkgs.gcc
pkgs.shellcheck
pkgs.nixd
pkgs.nixfmt-rfc-style
pkgs.ansible-language-server
pkgs.ansible-lint
pkgs.lua-language-server
];
}