This repository has been archived on 2023-05-20. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-config/home-manager.nix
2023-04-18 18:07:19 +02:00

82 lines
1.9 KiB
Nix

{ config, pkgs, ... }:
let
user = "exu";
hostname = "nixos";
in
{
imports = [
<home-manager/nixos>
];
# root home
home-manager.users.root = { pkgs, ... }: {
home.username = "root";
home.homeDirectory = "/root";
home.stateVersion = "22.11";
home.packages = with pkgs; [
kitty # terminfo support
];
imports = [
./home-hyprland.nix
];
programs = {
fish = {
enable = true;
interactiveShellInit = (builtins.readFile ./config/fish/conf.d/interactive.fish);
shellAliases = {
wget = "wget -c";
};
functions = {
fish_prompt = (builtins.readFile ./config/fish/functions/fish_prompt.fish);
};
};
};
};
# keep everything using home manager within this block
home-manager.users.${user} = { pkgs, ... }: {
home.username = "${user}";
home.homeDirectory = "/home/${user}";
home.stateVersion = "22.11";
home.packages = with pkgs; [
firefox # browser
kitty # terminal
pciutils # lspci command
git # git
emacs # emacs editor
emacsPackages.doom # doom emacs configuration
acpilight # controlling laptop monitor backlight
networkmanagerapplet # network configuration
wofi # app launcher (wayland replacement for rofi)
freetype # font rendering and configuration
fira # fira sans font
fira-code # fira code font
fish # fish shell
libnotify # notifications
mako # notification daemon
];
imports = [
./home-hyprland.nix
];
programs = {
fish = {
enable = true;
interactiveShellInit = (builtins.readFile ./config/fish/conf.d/interactive.fish);
shellAliases = {
wget = "wget -c";
};
functions = {
fish_prompt = (builtins.readFile ./config/fish/functions/fish_prompt.fish);
};
};
};
services.mako.enable = true;
};
}