switched formatter
This commit is contained in:
parent
e874f1de20
commit
102ee5aa76
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 ];
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{ lib
|
||||
, config
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
cfg = config.snowfallorg.example;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.snowfallorg.example = {
|
||||
enable = lib.mkEnableOption "Snowfall Example";
|
||||
};
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
{ pkgs
|
||||
, config
|
||||
, ...
|
||||
}: {
|
||||
imports = [ ./hardware.nix ];
|
||||
|
||||
|
|
|
@ -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 = [ ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue