nix fmt rcf-style

This commit is contained in:
Vinzenz Schroeter 2024-10-27 12:33:35 +01:00
parent b78e40ad6a
commit b9adba3225
35 changed files with 270 additions and 238 deletions

View file

@ -1,4 +1,5 @@
{...}: {
{ ... }:
{
imports = [
./nixpkgs.nix
./globalinstalls.nix

View file

@ -1,7 +1,8 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
config = {
environment = {
pathsToLink = ["/share/zsh"];
pathsToLink = [ "/share/zsh" ];
systemPackages = with pkgs; [
ncdu
glances

View file

@ -1,4 +1,5 @@
{...}: {
{ ... }:
{
config = {
time.timeZone = "Europe/Berlin";
i18n = {

View file

@ -1,4 +1,5 @@
{...}: {
{ ... }:
{
config = {
services.openssh = {
enable = true;

View file

@ -1,12 +1,9 @@
{ config, lib, ... }:
{
config,
lib,
...
}: {
options.allowedUnfreePackages = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [];
example = ["steam"];
default = [ ];
example = [ "steam" ];
};
config = {
nixpkgs.config = {
@ -16,9 +13,15 @@
nix = {
settings = {
substituters = ["https://nix-community.cachix.org" "https://cache.nixos.org/"];
trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
experimental-features = ["nix-command" "flakes"];
substituters = [
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
];
trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ];
experimental-features = [
"nix-command"
"flakes"
];
};
gc = {
automatic = true;