fmt
This commit is contained in:
parent
ff0e375584
commit
217403e314
5 changed files with 63 additions and 43 deletions
|
@ -17,24 +17,30 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, devenv, nix-index-database, ... }:
|
outputs = {
|
||||||
let
|
nixpkgs,
|
||||||
system = "x86_64-linux";
|
home-manager,
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
devenv,
|
||||||
in {
|
nix-index-database,
|
||||||
homeConfigurations.acicchetti = home-manager.lib.homeManagerConfiguration {
|
...
|
||||||
inherit pkgs;
|
}: let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
in {
|
||||||
|
formatter."${system}" = nixpkgs.legacyPackages."${system}".alejandra;
|
||||||
|
homeConfigurations.acicchetti = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
|
||||||
# Specify your home configuration modules here, for example,
|
# Specify your home configuration modules here, for example,
|
||||||
# the path to your home.nix.
|
# the path to your home.nix.
|
||||||
modules = [
|
modules = [
|
||||||
{ home.packages = [devenv.packages."${system}".devenv]; }
|
{home.packages = [devenv.packages."${system}".devenv];}
|
||||||
nix-index-database.hmModules.nix-index
|
nix-index-database.hmModules.nix-index
|
||||||
./home.nix
|
./home.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Optionally use extraSpecialArgs
|
# Optionally use extraSpecialArgs
|
||||||
# to pass through arguments to home.nix
|
# to pass through arguments to home.nix
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
@ -68,8 +69,8 @@
|
||||||
programs.nix-index.enable = true;
|
programs.nix-index.enable = true;
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./modules/packages
|
./modules/packages
|
||||||
./modules/files.nix
|
./modules/files.nix
|
||||||
./modules/environment.nix
|
./modules/environment.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
{ pkgs, lib, config, ... }:
|
|
||||||
{
|
{
|
||||||
home.sessionVariables = {
|
pkgs,
|
||||||
EDITOR="nvim";
|
lib,
|
||||||
};
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
home.sessionVariables = {
|
||||||
|
EDITOR = "nvim";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{pkgs, lib, config, ...}:
|
|
||||||
{
|
{
|
||||||
home.file.".config/zellij/config.kdl".source = ../../../zellij/config.kdl;
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
home.file.".config/zellij/config.kdl".source = ../../../zellij/config.kdl;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,20 @@
|
||||||
{ pkgs, lib, config, ...}:
|
{
|
||||||
{ home.packages = with pkgs;
|
pkgs,
|
||||||
[
|
lib,
|
||||||
just
|
config,
|
||||||
difftastic
|
...
|
||||||
git
|
}: {
|
||||||
zsh
|
home.packages = with pkgs; [
|
||||||
erdtree
|
just
|
||||||
htop
|
difftastic
|
||||||
ripgrep
|
git
|
||||||
zellij
|
zsh
|
||||||
neovim
|
erdtree
|
||||||
bat
|
htop
|
||||||
];
|
ripgrep
|
||||||
|
zellij
|
||||||
|
neovim
|
||||||
|
bat
|
||||||
|
comma
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue