mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nix): add a first nix, nix-darwin, and home-manager setup
This commit is contained in:
33
nix/home/default.nix
Normal file
33
nix/home/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ pkgs, config, lib, home-manager, ... }:
|
||||
|
||||
let
|
||||
isDarwin = pkgs.stdenv.isDarwin;
|
||||
in
|
||||
{
|
||||
# https://nix-community.github.io/home-manager/options.html
|
||||
imports = [
|
||||
./skhd
|
||||
./yabai
|
||||
];
|
||||
|
||||
config = {
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
# TODO: First migrate all fonts
|
||||
# fonts.fontconfig.enable = true;
|
||||
|
||||
# The home.packages option allows you to install Nix packages into your
|
||||
# environment.
|
||||
home.packages = with pkgs; [
|
||||
nixpkgs-fmt
|
||||
ripgrep
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "vim";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user