home.nix
{ config, pkgs, inputs, ... }:
{
imports = [
./software
];
# User info
home.username = "thenat";
home.homeDirectory = "/home/thenat";
home.stateVersion = "23.11";
home.file = {
".config/swayidle/config".text = ''
timeout 240 swaylock
before-sleep swaylock
timeout 360 'hyprctl dispatch dpms off eDP-1' resume 'hyprctl dispatch dpms on eDP-1'
'';
};
home.sessionVariables = {
EDITOR = "hx";
};
programs.home-manager.enable = true;
}
default.nix
{
config,
pkgs,
inputs,
...
}: {
imports = [
./gtk.nix
./anyrun.nix
];
home.packages = with pkgs; [
# paquetes
];
}
anyrun.nix
{
pkgs,
inputs,
config,
...
}: {
import = [
inputs.anyrun.homeManagerModules.default
];
programs.anyrun.enable = true;
}