configuration.nix/home/default.nix

37 lines
812 B
Nix
Raw Normal View History

2023-04-02 21:52:25 +05:30
{ hyprland, impermanence, nixvim, pkgs, ... }:
2023-03-29 21:48:55 +05:30
let
2023-04-23 19:10:07 +05:30
user = (import ../secrets.nix).users;
2023-03-29 21:48:55 +05:30
in
{
2023-03-15 22:11:59 +05:30
programs.fuse.userAllowOther = true;
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
2023-03-29 21:48:55 +05:30
home-manager.users.${user.primary.userName} = { pkgs, ... }: {
2023-03-15 22:11:59 +05:30
imports = [
impermanence.nixosModules.home-manager.impermanence
2023-04-01 23:20:13 +05:30
nixvim.homeManagerModules.nixvim
2023-04-02 21:52:25 +05:30
hyprland.homeManagerModules.default
2023-03-15 22:11:59 +05:30
2023-04-04 09:41:04 +05:30
./gtk.nix
2023-03-15 22:11:59 +05:30
./persistence.nix
2023-04-04 09:41:51 +05:30
./wm
2023-04-04 09:58:29 +05:30
./programs
./services
2023-03-15 22:11:59 +05:30
];
xdg.enable = true;
xdg.mime.enable = true;
xdg.mimeApps.enable = true;
xdg.userDirs.enable = true;
xdg.desktopEntries."nixos-manual" = {
name = "NixOS Manual";
exec = "nixos-help";
noDisplay = true;
};
2023-03-22 23:27:24 +05:30
2023-03-15 22:11:59 +05:30
home.stateVersion = "23.05";
};
}