2023-04-17 20:47:04 +02:00
|
|
|
{ config, pkgs, ... }:
|
2023-04-16 19:29:38 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
user = "exu";
|
|
|
|
hostname = "nixos";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
<home-manager/nixos>
|
|
|
|
];
|
|
|
|
|
2023-04-17 21:14:39 +02:00
|
|
|
# root home
|
2023-04-17 21:32:54 +02:00
|
|
|
home-manager.users.root = { pkgs, ... }: {
|
|
|
|
home.username = "root";
|
|
|
|
home.homeDirectory = "/root";
|
|
|
|
home.stateVersion = "22.11";
|
2023-04-17 21:52:24 +02:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
kitty # terminfo support
|
|
|
|
];
|
2023-04-17 21:32:54 +02:00
|
|
|
|
2023-04-18 17:02:45 +02:00
|
|
|
imports = [
|
2023-05-01 09:47:30 +02:00
|
|
|
./home-manager/hyprland.nix
|
2023-04-18 17:02:45 +02:00
|
|
|
];
|
|
|
|
|
2023-04-17 21:32:54 +02:00
|
|
|
programs = {
|
|
|
|
fish = {
|
|
|
|
enable = true;
|
2023-04-17 21:51:13 +02:00
|
|
|
interactiveShellInit = (builtins.readFile ./config/fish/conf.d/interactive.fish);
|
2023-04-17 21:32:54 +02:00
|
|
|
shellAliases = {
|
|
|
|
wget = "wget -c";
|
|
|
|
};
|
|
|
|
functions = {
|
2023-04-17 21:42:38 +02:00
|
|
|
fish_prompt = (builtins.readFile ./config/fish/functions/fish_prompt.fish);
|
2023-04-17 21:32:54 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-04-17 21:14:39 +02:00
|
|
|
|
2023-04-17 21:02:17 +02:00
|
|
|
# keep everything using home manager within this block
|
2023-04-16 19:29:38 +02:00
|
|
|
home-manager.users.${user} = { pkgs, ... }: {
|
2023-04-17 21:02:17 +02:00
|
|
|
home.username = "${user}";
|
|
|
|
home.homeDirectory = "/home/${user}";
|
2023-04-16 19:29:38 +02:00
|
|
|
home.stateVersion = "22.11";
|
2023-04-17 21:14:39 +02:00
|
|
|
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
|
2023-04-18 18:07:19 +02:00
|
|
|
libnotify # notifications
|
2023-04-18 18:05:33 +02:00
|
|
|
mako # notification daemon
|
2023-04-18 18:40:25 +02:00
|
|
|
xdg-desktop-portal-hyprland # desktop portal (hyprland fork)
|
2023-04-16 19:29:38 +02:00
|
|
|
];
|
2023-04-17 20:31:22 +02:00
|
|
|
|
2023-04-18 17:11:04 +02:00
|
|
|
imports = [
|
2023-05-01 09:39:08 +02:00
|
|
|
./home-manager/hyprland.nix
|
2023-04-18 17:11:04 +02:00
|
|
|
];
|
|
|
|
|
2023-04-17 21:02:17 +02:00
|
|
|
programs = {
|
|
|
|
fish = {
|
|
|
|
enable = true;
|
2023-04-17 21:51:13 +02:00
|
|
|
interactiveShellInit = (builtins.readFile ./config/fish/conf.d/interactive.fish);
|
2023-04-17 21:02:17 +02:00
|
|
|
shellAliases = {
|
|
|
|
wget = "wget -c";
|
|
|
|
};
|
|
|
|
functions = {
|
2023-04-17 21:44:54 +02:00
|
|
|
fish_prompt = (builtins.readFile ./config/fish/functions/fish_prompt.fish);
|
2023-04-17 21:02:17 +02:00
|
|
|
};
|
2023-04-17 20:37:12 +02:00
|
|
|
};
|
2023-04-17 20:31:22 +02:00
|
|
|
};
|
2023-04-18 18:05:33 +02:00
|
|
|
|
|
|
|
services.mako.enable = true;
|
2023-04-17 20:31:22 +02:00
|
|
|
};
|
2023-04-16 19:29:38 +02:00
|
|
|
}
|