mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
37 lines
837 B
Nix
37 lines
837 B
Nix
{
|
|
inputs,
|
|
overlays,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
../../common/system.nix
|
|
../modules/nix/use-flake-pkgs.nix
|
|
../modules/users/willem/default.nix
|
|
inputs.nix-index-database.nixosModules.nix-index
|
|
];
|
|
|
|
console.keyMap = "colemak";
|
|
console.packages = [pkgs.terminus_font];
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
programs.command-not-found.enable = false;
|
|
|
|
programs.zsh.loginShellInit = ''
|
|
reexec() {
|
|
unset __NIX_OS_SET_ENVIRONMENT_DONE
|
|
unset __ETC_ZPROFILE_SOURCED __ETC_ZSHENV_SOURCED __ETC_ZSHRC_SOURCED
|
|
exec $SHELL -c 'echo >&2 "reexecuting shell: $SHELL" && exec $SHELL -l'
|
|
}
|
|
'';
|
|
|
|
services.udev.enable = true;
|
|
|
|
services.openssh.enable = true;
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
nixpkgs.overlays = builtins.attrValues overlays;
|
|
nixpkgs.config.allowUnfree = true;
|
|
}
|