This commit is contained in:
Anthony Cicchetti 2023-04-19 18:52:59 -04:00
parent ff0e375584
commit 217403e314
5 changed files with 63 additions and 43 deletions

View file

@ -17,11 +17,17 @@
}; };
}; };
outputs = { nixpkgs, home-manager, devenv, nix-index-database, ... }: outputs = {
let nixpkgs,
home-manager,
devenv,
nix-index-database,
...
}: let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
in { in {
formatter."${system}" = nixpkgs.legacyPackages."${system}".alejandra;
homeConfigurations.acicchetti = home-manager.lib.homeManagerConfiguration { homeConfigurations.acicchetti = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;

View file

@ -1,6 +1,8 @@
{ config, pkgs, ... }:
{ {
config,
pkgs,
...
}: {
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
# manage. # manage.
home.username = "acicchetti"; home.username = "acicchetti";
@ -18,7 +20,6 @@
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
home.packages = [ home.packages = [
# # It is sometimes useful to fine-tune packages, for example, by applying # # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the # # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of # # parentheses. Maybe you want to install Nerd Fonts with a limited number of

View file

@ -1,5 +1,9 @@
{ pkgs, lib, config, ... }:
{ {
pkgs,
lib,
config,
...
}: {
home.sessionVariables = { home.sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
}; };

View file

@ -1,4 +1,8 @@
{pkgs, lib, config, ...}:
{ {
pkgs,
lib,
config,
...
}: {
home.file.".config/zellij/config.kdl".source = ../../../zellij/config.kdl; home.file.".config/zellij/config.kdl".source = ../../../zellij/config.kdl;
} }

View file

@ -1,6 +1,10 @@
{ pkgs, lib, config, ...}: {
{ home.packages = with pkgs; pkgs,
[ lib,
config,
...
}: {
home.packages = with pkgs; [
just just
difftastic difftastic
git git
@ -11,5 +15,6 @@
zellij zellij
neovim neovim
bat bat
comma
]; ];
} }