2023-04-27 22:44:21 +05:30
|
|
|
{ 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-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;
|
|
|
|
|
2023-04-26 22:57:32 +05:30
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|