configuration/common/home.nix
2022-08-23 10:01:52 -07:00

37 lines
871 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [
../packages/organize-downloads.nix
./components/applications.nix
./components/browser.nix
./components/desktop.nix
./components/editor.nix
./components/fonts.nix
./components/git.nix
./components/openpgp.nix
./components/shell.nix
./components/spelling.nix
./components/terminal.nix
./local/home.nix
];
options.host = {
firefoxProfile = lib.mkOption { type = lib.types.str; };
local = lib.mkOption { type = lib.types.path; };
};
config = {
nixpkgs.overlays = [ (import ./packages.nix) ];
# Home manager
programs.home-manager.enable = true;
nixpkgs.config.allowUnfree = true;
manual.html.enable = true;
# User
home.username = "ak";
home.homeDirectory = "/home/ak";
home.file.".face".source = ./resources/andrew.jpg;
};
}