Run nix fmt
Format using `nixfmt-rfc-style`.
This commit is contained in:
parent
14a1f177a0
commit
7f2df5f726
24 changed files with 317 additions and 162 deletions
|
@ -1,31 +1,43 @@
|
|||
{ inputs, self, username }:
|
||||
{
|
||||
inputs,
|
||||
self,
|
||||
username,
|
||||
}:
|
||||
{ system }:
|
||||
|
||||
let
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
|
||||
shared-config = import "${self}/lib/shared/home-manager.nix" {
|
||||
inherit inputs pkgs self username;
|
||||
inherit
|
||||
inputs
|
||||
pkgs
|
||||
self
|
||||
username
|
||||
;
|
||||
};
|
||||
shared-packages = import "${self}/lib/shared/home-manager-packages.nix" {
|
||||
inherit inputs pkgs;
|
||||
};
|
||||
in inputs.home-manager.lib.homeManagerConfiguration {
|
||||
shared-packages = import "${self}/lib/shared/home-manager-packages.nix" { inherit inputs pkgs; };
|
||||
in
|
||||
inputs.home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = { inherit self; };
|
||||
extraSpecialArgs = {
|
||||
inherit self;
|
||||
};
|
||||
|
||||
modules = [{
|
||||
imports = [ shared-config ];
|
||||
modules = [
|
||||
{
|
||||
imports = [ shared-config ];
|
||||
|
||||
home.packages = shared-packages;
|
||||
home.packages = shared-packages;
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||
REPOS = "$HOME/Code";
|
||||
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
||||
};
|
||||
}];
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||
REPOS = "$HOME/Code";
|
||||
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue