System/home-manager/machines/tides/home.nix

55 lines
1.4 KiB
Nix
Raw Normal View History

2025-02-12 01:56:59 -05:00
{
withSystem,
inputs,
...
}: {
# perSystem = { ... }: { config.packages.hello = ...; };
flake.homeConfigurations.tides = withSystem "tides-linux" (
ctx @ {
config,
inputs',
...
}:
inputs.home-manager.lib.homeManagerConfiguration {
2025-02-12 02:42:07 -05:00
pkgs = inputs.nixpkgs.legacyPackages.${"aarch64-linux"};
2025-02-12 01:56:59 -05:00
extraSpecialArgs = {
inherit inputs inputs';
packages = config.packages;
};
modules = [
(
{
config,
lib,
pkgs,
...
}: {
imports = [
../../modules/programs/shell.nix
../../modules/programs/neovim.nix
(import ../../modules/programs/git.nix {})
../../modules/programs/core.nix
../../modules/programs/ssh.nix
];
home.username = "nathan";
home.homeDirectory = "/home/nathan/";
programs.command-not-found.enable = true;
home.stateVersion = "24.11";
programs.home-manager.enable = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# Machine specific configuration
services.emacs.defaultEditor = true;
home.packages = with pkgs; [
];
}
)
];
}
);
}