t14_legacy_config/home/default.nix

55 lines
1.2 KiB
Nix
Raw Normal View History

2022-03-17 09:00:17 +01:00
# man page: https://rycee.gitlab.io/home-manager/options.html
{ nixpkgs }:
2022-03-17 09:00:17 +01:00
{ config, pkgs, lib, ... }:
{
home = {
stateVersion = "21.11"; # No tocar esto
username = "fabian";
homeDirectory = "/home/fabian";
packages = import ./path.nix pkgs;
};
nix.registry."system".to = {
type = "path";
path = "/home/fabian/nix";
};
nix.registry."nixpkgs".flake = nixpkgs;
2022-03-17 11:02:21 +01:00
2022-03-17 09:00:17 +01:00
nixpkgs.config.allowUnfree = true;
2022-03-17 09:56:03 +01:00
programs.home-manager.enable = true;
2022-03-17 09:59:38 +01:00
programs.neovim.enable = true;
2022-03-17 10:33:21 +01:00
programs.zsh = {
enable = true;
enableSyntaxHighlighting = true;
initExtra = import ./zshrc.nix pkgs;
};
services.betterlockscreen = {
enable = true;
# confiugrar luego
};
2022-03-17 09:00:17 +01:00
2022-03-18 20:49:59 +01:00
# configurable = [ neovim keyboardlayout pulsaudio i3-gaps dunst rofi ];
2022-03-18 20:43:54 +01:00
programs.vscode = {
enable = true;
package = pkgs.vscodium;
2022-03-18 20:49:59 +01:00
userSettings = {
"files.autoSave" = "onFocusChange";
2022-03-18 22:30:41 +01:00
"explorer.confirmDelete" = false;
"explorer.confirmDragAndDrop" = false;
2022-03-18 20:49:59 +01:00
};
2022-03-18 20:43:54 +01:00
};
2022-03-17 09:00:17 +01:00
programs.git = {
enable = true;
userEmail = "fabian@cluster451.org";
userName = "Fabián Montero";
2022-03-18 20:46:15 +01:00
signing.key = "E77A808BF9A955D668EEEA6473FA9C9CB5F0249B";
2022-03-17 09:00:17 +01:00
};
}