nix-home/home/macbook-home.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

2021-10-26 18:25:19 +00:00
{ config, pkgs, nixpkgs-unstable, ... }:
2021-09-29 16:31:49 +00:00
let
2021-10-26 18:25:19 +00:00
x86pkgs = import nixpkgs-unstable { system = pkgs.system; config.allowUnsupportedSystem = true; };
2021-09-29 16:31:49 +00:00
in
{
2021-09-29 16:38:27 +00:00
imports = [ ./common.nix ];
2021-09-29 16:31:49 +00:00
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "nki";
home.homeDirectory = "/Users/nki";
2021-09-29 16:38:27 +00:00
# Additional packages to be used only on this MacBook.
2021-09-29 16:31:49 +00:00
home.packages = with pkgs; [
x86pkgs.anki-bin
];
2021-09-29 16:39:40 +00:00
# Additional settings for programs
programs.fish.shellAliases = {
brew64 = "arch -x86_64 /usr/local/bin/brew";
};
2021-09-29 16:31:49 +00:00
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "21.11";
}