2023-04-02 21:52:25 +05:30
|
|
|
{ hyprland, impermanence, nixvim, pkgs, ... }:
|
2023-03-29 21:48:55 +05:30
|
|
|
let
|
2023-03-25 22:10:09 +05:30
|
|
|
user = import ../users/user.nix;
|
2023-03-29 21:48:55 +05:30
|
|
|
in
|
|
|
|
{
|
2023-03-15 22:11:59 +05:30
|
|
|
programs.fuse.userAllowOther = true;
|
|
|
|
|
|
|
|
fileSystems."/home/${user.primary.userName}" = {
|
|
|
|
device = "tmpfs";
|
|
|
|
fsType = "tmpfs";
|
2023-03-29 21:48:55 +05:30
|
|
|
options = [ "mode=0755" "uid=1000" "gid=100" ];
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
./downloader.nix
|
2023-04-04 09:41:04 +05:30
|
|
|
./gtk.nix
|
2023-03-15 22:11:59 +05:30
|
|
|
./media.nix
|
2023-04-04 09:39:55 +05:30
|
|
|
./misc.nix
|
2023-03-15 22:11:59 +05:30
|
|
|
./persistence.nix
|
|
|
|
./scripts.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
|
|
|
];
|
|
|
|
|
|
|
|
dconf.settings = {
|
|
|
|
"io/elementary/files/preferences" = {
|
|
|
|
"singleclick-select" = true;
|
|
|
|
};
|
|
|
|
"org/gtk/settings/file-chooser" = {
|
|
|
|
"sort-directories-first" = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
xdg.enable = true;
|
|
|
|
xdg.mime.enable = true;
|
|
|
|
xdg.mimeApps.enable = true;
|
|
|
|
xdg.userDirs.enable = true;
|
|
|
|
|
2023-03-22 23:27:24 +05:30
|
|
|
xdg.desktopEntries."nixos-manual".name = "NixOS Manual";
|
|
|
|
xdg.desktopEntries."nixos-manual".exec = "nixos-help";
|
|
|
|
xdg.desktopEntries."nixos-manual".noDisplay = true;
|
|
|
|
|
2023-03-15 22:11:59 +05:30
|
|
|
home.stateVersion = "23.05";
|
|
|
|
};
|
|
|
|
}
|