t14_legacy_config/home/default.nix

93 lines
1.9 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-24 07:18:25 +01:00
{ config, pkgs, lib, ... }: {
imports = [ ./steam ];
2022-03-17 09:00:17 +01:00
home = {
stateVersion = "21.11"; # No tocar esto
username = "fabian";
homeDirectory = "/home/fabian";
packages = import ./path.nix pkgs;
2022-03-24 07:18:25 +01:00
sessionVariables = {
"EDITOR" = "nvim";
"TERMINAL" = "kitty";
};
2022-03-17 09:00:17 +01:00
};
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-22 06:05:56 +01:00
xsession.enable = true;
xsession.windowManager.i3 = {
enable = true;
package = pkgs.i3-gaps;
2022-03-24 07:18:25 +01:00
extraConfig = import ./i3/default.nix pkgs;
2022-03-22 06:05:56 +01:00
};
2022-03-17 09:00:17 +01:00
nixpkgs.config.allowUnfree = true;
2022-03-22 06:05:56 +01:00
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;
};
2022-03-22 06:28:52 +01:00
programs.kitty = {
2022-03-22 06:33:08 +01:00
enable = true;
extraConfig = import ./kitty.conf.nix;
2022-03-22 06:28:52 +01:00
};
2022-03-17 10:33:21 +01:00
services.betterlockscreen = {
enable = true;
# confiugrar luego
};
2022-03-17 09:00:17 +01:00
2022-03-22 06:28:52 +01:00
# configurable = [ neovim keyboardlayout pulsaudio rofi ];
2022-03-22 06:05:56 +01:00
services.picom = {
enable = true;
};
services.polybar = {
enable = true;
script = import ./i3/polybar/launch.sh.nix;
extraConfig = import ./i3/polybar/config.nix;
};
services.dunst = {
enable = true;
};
2022-03-18 20:49:59 +01:00
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-24 07:18:25 +01:00
"security.workspace.trust.enabled" = false;
"workbench.startupEditor" = "none";
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
};
2022-03-24 07:18:25 +01:00
programs.steam.enable = true;
2022-03-17 09:00:17 +01:00
}