Reformat to Student config
This commit is contained in:
1 parent
28ebd8999d
commit
94b73b6d67
91 files changed
+785
-6603
No files matched your search
@@ -1,34 +1,34 @@
|
||||
{
|
||||
description = "Home Manager configuration of venomade";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nix-darwin-emacs = {
|
||||
url = "github:nix-giant/nix-darwin-emacs/065050b9e06a30c01b41539b75464fff972fecd6";
|
||||
nix-colors = {
|
||||
url = "github:misterio77/nix-colors";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, home-manager, nix-darwin-emacs, ... }:
|
||||
{ nixpkgs, home-manager, nix-colors, ... }:
|
||||
let
|
||||
mkHome = system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./home.nix ];
|
||||
extraSpecialArgs = {
|
||||
inherit system nix-darwin-emacs;
|
||||
};
|
||||
};
|
||||
system = "aarch64-darwin";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
homeConfigurations = {
|
||||
"venomade" = mkHome "aarch64-linux";
|
||||
"venomade-darwin" = mkHome "aarch64-darwin";
|
||||
homeConfigurations."venomade" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = { inherit nix-colors; };
|
||||
|
||||
modules = [
|
||||
./home.nix
|
||||
nix-colors.homeManagerModules.default
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user