fix formatting

This commit is contained in:
2023-11-28 00:30:21 +01:00
parent 9cb2787aab
commit 08f821f8e0
20 changed files with 465 additions and 2042 deletions

View File

@@ -17,32 +17,40 @@
};
};
outputs = {nixpkgs, home-manager, ags, nixvim, ...}:
let
username = "theaninova";
system = "x86_64-linux";
stateVersion = "23.11";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
homeDirPrefix = if pkgs.stdenv.hostPlatform.isDarwin then "/Users" else "/home";
homeDirectory = "${homeDirPrefix}/${username}";
home = (import ./home.nix {
inherit homeDirectory pkgs stateVersion system username;
});
in {
homeConfigurations.theaninova = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
outputs = {
nixpkgs,
home-manager,
ags,
nixvim,
...
}: let
username = "theaninova";
system = "x86_64-linux";
stateVersion = "23.11";
modules = [
ags.homeManagerModules.default
home
nixvim.homeManagerModules.nixvim
];
};
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
homeDirPrefix =
if pkgs.stdenv.hostPlatform.isDarwin
then "/Users"
else "/home";
homeDirectory = "${homeDirPrefix}/${username}";
home = import ./home.nix {
inherit homeDirectory pkgs stateVersion system username;
};
in {
homeConfigurations.theaninova = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
ags.homeManagerModules.default
home
nixvim.homeManagerModules.nixvim
];
};
};
}