Initial commit (after fork)

This commit is contained in:
Pedro Rey Anca 2024-07-08 18:00:42 +02:00
parent 5ebba8a939
commit 5fe3f69a17
111 changed files with 1428 additions and 1611 deletions

View file

@ -1,12 +1,17 @@
{ self, pkgs, lib, inputs, ...}:
{
self,
pkgs,
lib,
inputs,
...
}: {
# imports = [ inputs.nix-gaming.nixosModules.default ];
nix = {
settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
substituters = [ "https://nix-gaming.cachix.org" ];
trusted-public-keys = [ "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" ];
experimental-features = ["nix-command" "flakes"];
substituters = ["https://nix-gaming.cachix.org"];
trusted-public-keys = ["nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="];
};
gc = {
automatic = true;
@ -16,7 +21,6 @@
};
nixpkgs = {
overlays = [
self.overlays.default
inputs.nur.overlay
];
};
@ -24,9 +28,17 @@
environment.systemPackages = with pkgs; [
wget
git
ddcutil
];
time.timeZone = "Europe/Paris";
# For ddcutil brightness control
boot.kernelModules = ["i2c-dev"];
services.udev.extraRules = ''
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
'';
time.timeZone = "Europe/Madrid";
console.keyMap = "es";
i18n.defaultLocale = "en_US.UTF-8";
nixpkgs.config.allowUnfree = true;
system.stateVersion = "24.05";