mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +00:00
35 lines
645 B
Nix
35 lines
645 B
Nix
{ config, pkgs, lib, inputs, ... }:
|
|
|
|
let homeDirectory = config.home.homeDirectory;
|
|
in {
|
|
imports = [
|
|
#./emacs.nix
|
|
./packages.nix
|
|
./programs.nix
|
|
];
|
|
|
|
nixpkgs.config = {
|
|
allowUnfree = true;
|
|
allowUnfreePredicate = pkg:
|
|
builtins.elem (lib.getName pkg) [ "discord" "unrar" ];
|
|
};
|
|
|
|
home = {
|
|
username = "willem";
|
|
homeDirectory = "/Users/willem";
|
|
stateVersion = "22.11";
|
|
};
|
|
|
|
home.language = {
|
|
base = "en_CA.UTF-8";
|
|
messages = "en_US.UTF-8";
|
|
ctype = "en_US.UTF-8";
|
|
};
|
|
|
|
home.keyboard = {
|
|
layout = "us";
|
|
variant = "colemak";
|
|
};
|
|
|
|
home.sessionVariables = { EDITOR = "emacs"; };
|
|
}
|