Files
azos/home-manager/home.nix
T
2025-04-20 13:54:34 +03:00

78 lines
1.9 KiB
Nix
Executable File

# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
imports = [
outputs.homeManagerModules
outputs.azos-core.homeManagerModules
];
nixpkgs = {
overlays = [
inputs.azos-core.overlays.addpkgs
# outputs.overlays.additions
# outputs.overlays.modifications
# outputs.overlays.unstable-packages
];
config = {
allowUnfree = true;
# Workaround for https://github.com/nix-community/home-manager/issues/2942
allowUnfreePredicate = _: true;
};
};
programs.home-manager.enable = true;
azos.suites.base.enable = true;
azos.suites.editor.enable = true;
azos.suites.dev.enable = true;
azos.suites.station.enable = true;
azos.suites.exwm.enable = true;
azos.name = "Aner Zakobar";
# TODO: Set your username
home = {
username = "aner";
homeDirectory = "/home/aner";
};
# xsession = {
# windowManager.command = ''
# exec ${pkgs.i3}/bin/i3
# '';
# # windowManager.command = "exec ${config.programs.emacs.package}/bin/emacs -l \"${config.programs.emacs.extraConfig} (azos/exwm/load-exwm)\"";
# enable = true;
# #Keybvoard rate
# # initExtra = ''
# # xset r rate 200 100
# # '';
# };
# services.xserver.windowManager.myExwm = {
# enable = true;
# enableDefaultConfig = false;
# executable = config.programs.emacs.package;
# loadScript = ''(require 'azos-emacs-exwm)'';
# };
# home.packages = with pkgs; [
# # steam
# pandoc
# offlineimap #emailing
# liberation_ttf #fonts
# graphviz #graphing
# ];
# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
}