cleanup: nixfmt everything

This commit is contained in:
Noa Aarts 2024-10-28 11:04:52 +01:00
parent a784ba021f
commit a4c5e7aca8
Signed by: noa
GPG key ID: 1850932741EFF672
22 changed files with 317 additions and 224 deletions

View file

@ -1,4 +1,7 @@
{ lib, ... }:
{
lib,
...
}:
{
boot.loader = {
timeout = lib.mkDefault 0;

View file

@ -1,18 +0,0 @@
{ config, pkgs, ... }: {
nixpkgs.overlays = [
(self: super: {
ccid = super.ccid.overrideAttrs (old: rec {
pname = "ccid";
version = "1.5.5";
src = super.fetchurl {
url = "https://ccid.apdu.fr/files/${pname}-${version}.tar.bz2";
hash = "sha256-GUcI91/jadRd18Feiz6Kfbi0nPxVV1dMoqLnbvEsoMo=";
};
postPatch = ''
patchShebangs .
substituteInPlace src/Makefile.in --replace-fail /bin/echo echo
'';
});
})
];
}

View file

@ -1,4 +1,9 @@
{ config, pkgs, nix-colors, ... }:
{
config,
pkgs,
nix-colors,
...
}:
{
imports = [

View file

@ -1,5 +1,7 @@
{ pkgs, ... }:
{
pkgs,
...
}:
{
home.packages = with pkgs; [
(symlinkJoin {

View file

@ -1,4 +1,4 @@
{...}:
{ ... }:
{
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";

View file

@ -1,5 +1,9 @@
{ config, pkgs, inputs, ... }:
{
config,
pkgs,
inputs,
...
}:
{
services.spotifyd.enable = true;
home.packages = with pkgs; [

View file

@ -1,9 +1,15 @@
{ config, lib, ... }: {
{
...
}:
{
nix = {
settings = {
# auto optimise every so often
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
experimental-features = [
"nix-command"
"flakes"
];
substituters = [
"https://cosmic.cachix.org/"
"https://hyprland.cachix.org"
@ -20,7 +26,10 @@
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
];
system-features = [ "kvm" "big-parallel" ];
system-features = [
"kvm"
"big-parallel"
];
allowed-uris = [
"github:"
"gitlab:"