switched formatter

This commit is contained in:
Christoph Hollizeck 2024-03-22 14:43:20 +00:00
parent e874f1de20
commit 102ee5aa76
5 changed files with 39 additions and 40 deletions

View file

@ -1,5 +1,5 @@
{
description = "My NixOS / nix-darwin / nixos-generators systems";
description = "NixOs Config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
@ -28,11 +28,11 @@
channels-config = { allowUnfree = true; };
outputs-builder = channels: {formatter = channels.nixpkgs.alejandra;};
outputs-builder = channels: { formatter = channels.nixpkgs.nixpkgs-fmt; };
overlays = with inputs; [
# Use the overlay provided by this flake.
snowfall-flake.overlays."package/flake"
snowfall-flake.overlays.default
];
};
}

View file

@ -1,14 +1,14 @@
{
lib,
pkgs,
config,
...
{ lib
, pkgs
, config
, ...
}:
# User information gathered by Snowfall Lib is available.
let
name = config.snowfallorg.user.name;
home = config.snowfallorg.user.home.directory;
in {
in
{
home = {
packages = with pkgs; [ neovim firefox ];

View file

@ -1,10 +1,11 @@
{
lib,
config,
...
}: let
{ lib
, config
, ...
}:
let
cfg = config.snowfallorg.example;
in {
in
{
options.snowfallorg.example = {
enable = lib.mkEnableOption "Snowfall Example";
};

View file

@ -1,7 +1,6 @@
{
pkgs,
config,
...
{ pkgs
, config
, ...
}: {
imports = [ ./hardware.nix ];

View file

@ -1,12 +1,11 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
pkgs,
modulesPath,
...
{ config
, lib
, pkgs
, modulesPath
, ...
}: {
imports = [ ];