nixos/home/home.nix
2021-06-27 15:41:23 +01:00

77 lines
1.4 KiB
Nix

{ config, pkgs, ... }:
let
albert_autostart = (pkgs.makeAutostartItem {
name = "albert";
package = pkgs.albert;
});
guake_autostart = (pkgs.makeAutostartItem {
name = "guake";
package = pkgs.guake;
});
in {
nixpkgs.config = { allowUnfree = true; };
#
# imports
#
imports = [ ./git.nix ./gnome.nix ./zsh.nix ./code.nix ];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "giulio";
home.homeDirectory = "/home/giulio";
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "21.05";
home.packages = with pkgs; [
# essentials
albert
guake
# browsers
firefox
brave
chromium
# reversing
rizin
# development
clang
# social
slack
signal-desktop
teams
discord
# music
spotify
# misc
bind
# autostart
albert_autostart
guake_autostart
];
home.sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";
};
}