mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Reorg and updates to support macos
- Split kitty to it's own file - Updated flake.nix to support multiple systems - Updated flake.lock
This commit is contained in:
parent
dbc85aea94
commit
f35f2a877c
5 changed files with 91 additions and 49 deletions
|
|
@ -2,7 +2,7 @@
|
|||
description = "Home manager flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
|
|
@ -21,16 +21,18 @@
|
|||
} @ inputs: let
|
||||
inherit (self) outputs;
|
||||
|
||||
system = "aarch64-darwin";
|
||||
in rec {
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
|
||||
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||||
|
||||
allPkgs = forAllSystems (system: import nixpkgs {inherit system;});
|
||||
in {
|
||||
overlays = import ./overlays {inherit inputs;};
|
||||
|
||||
defaultPackage.${system} = home-manager.defaultPackage.${system};
|
||||
defaultPackage = forAllSystems (system: home-manager.defaultPackage.${system});
|
||||
|
||||
nixosConfigurations = {
|
||||
mal = nixpkgs.lib.nixosSystem {
|
||||
|
|
@ -41,27 +43,27 @@
|
|||
|
||||
homeConfigurations = {
|
||||
"tyler@guidebolt" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
pkgs = allPkgs."x86_64-linux";
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [./home/guidebolt/guidebolt.nix];
|
||||
};
|
||||
|
||||
"tyler@wash" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
pkgs = allPkgs."x86_64-linux";
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [./home/wash/wash.nix];
|
||||
};
|
||||
|
||||
"tyler@mal" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
pkgs = allPkgs;
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [./home/mal/mal.nix];
|
||||
};
|
||||
|
||||
"tyler.mayoff@MAC-C57KK2TC69" = home-manager.lib.homeManagerConfiguration{
|
||||
inherit pkgs;
|
||||
extraSpecialArgs = {inherit inputs outputs; };
|
||||
modules = [./home/hinge/hinge.nix];
|
||||
"tyler.mayoff@MAC-C57KK2TC69" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = allPkgs."aarch64-darwin";
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [./home/hinge/hinge.nix];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue