configuration/common/user.nix
2023-02-05 11:38:15 -08:00

39 lines
1,001 B
Nix

{ config, lib, ... }:
{
# Workaround for nix-community/home-manager#2333
disabledModules = [ "config/i18n.nix" ];
imports = [
./components/user-applications.nix
./components/user-browser.nix
./components/user-desktop.nix
./components/user-editor.nix
./components/user-fonts.nix
./components/user-git.nix
./components/user-keyboard.nix
./components/user-nix.nix
./components/user-openpgp.nix
./components/user-shell.nix
./components/user-spelling.nix
./components/user-terminal.nix
./local/user.nix
];
options.host = {
background = lib.mkOption { type = lib.types.str; };
firefoxProfile = lib.mkOption { type = lib.types.str; };
local = lib.mkOption { type = lib.types.path; };
};
config = {
# Home manager
programs.home-manager.enable = true;
manual.html.enable = true;
# User
home.username = "ak";
home.homeDirectory = "/home/ak";
home.file.".face".source = ./resources/andrew.jpg;
};
}