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 = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
@ -28,11 +28,11 @@
channels-config = { allowUnfree = true; }; channels-config = { allowUnfree = true; };
outputs-builder = channels: {formatter = channels.nixpkgs.alejandra;}; outputs-builder = channels: { formatter = channels.nixpkgs.nixpkgs-fmt; };
overlays = with inputs; [ overlays = with inputs; [
# Use the overlay provided by this flake. # Use the overlay provided by this flake.
snowfall-flake.overlays."package/flake" snowfall-flake.overlays.default
]; ];
}; };
} }

View file

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

View file

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

View file

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

View file

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