Add tides home manager

This commit is contained in:
Nathan McCarty 2025-02-12 01:56:59 -05:00
parent 24ce626020
commit 56f3846afe
2 changed files with 55 additions and 0 deletions

View file

@ -34,6 +34,7 @@
./nixos/machines/tides/machine.nix
./home-manager/machines/wsl/home.nix
./home-manager/machines/crash/home.nix
./home-manager/machines/tides/home.nix
./devshells/rust.nix
./devshells/idris2.nix
./devshells/raku.nix

View file

@ -0,0 +1,54 @@
{
withSystem,
inputs,
...
}: {
# perSystem = { ... }: { config.packages.hello = ...; };
flake.homeConfigurations.tides = withSystem "tides-linux" (
ctx @ {
config,
inputs',
...
}:
inputs.home-manager.lib.homeManagerConfiguration {
pkgs = inputs.nixpkgs.legacyPackages.${"x86_64-linux"};
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; [
];
}
)
];
}
);
}