2023-03-15 22:11:59 +05:30
|
|
|
{ impermanence, pkgs, ... }:
|
|
|
|
let
|
|
|
|
user = import ../users/user.nix;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
programs.fuse.userAllowOther = true;
|
|
|
|
|
|
|
|
fileSystems."/home/${user.primary.userName}" = {
|
|
|
|
device = "tmpfs";
|
|
|
|
fsType = "tmpfs";
|
|
|
|
options = [ "mode=0755" "uid=1000" "gid=100" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.users.${user.primary.userName} = { pkgs, ... }: {
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
impermanence.nixosModules.home-manager.impermanence
|
|
|
|
|
|
|
|
./dev.nix
|
|
|
|
./downloader.nix
|
|
|
|
./firefox.nix
|
|
|
|
./media.nix
|
|
|
|
./persistence.nix
|
|
|
|
./scripts.nix
|
|
|
|
./sway
|
|
|
|
./terminal.nix
|
|
|
|
./virt-manager.nix
|
|
|
|
];
|
|
|
|
|
2023-03-21 01:03:32 +05:30
|
|
|
home.sessionVariables = {
|
|
|
|
NIXOS_OZONE_WL = 1;
|
|
|
|
};
|
|
|
|
|
2023-03-15 22:11:59 +05:30
|
|
|
home.packages = with pkgs; [
|
|
|
|
_1password-gui
|
|
|
|
brightnessctl
|
2023-03-19 17:10:30 +05:30
|
|
|
discord
|
2023-03-15 22:11:59 +05:30
|
|
|
evince
|
|
|
|
gnome.eog
|
|
|
|
gnome.gnome-system-monitor
|
|
|
|
gnome3.gnome-disk-utility
|
|
|
|
libsecret
|
|
|
|
pantheon.elementary-files
|
|
|
|
pavucontrol
|
|
|
|
xdg-utils
|
|
|
|
];
|
|
|
|
|
|
|
|
dconf.settings = {
|
|
|
|
"io/elementary/files/preferences" = {
|
|
|
|
"singleclick-select" = true;
|
|
|
|
};
|
|
|
|
"org/gtk/settings/file-chooser" = {
|
|
|
|
"sort-directories-first" = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
gpg = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
keyserver = "hkps://keys.openpgp.org";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.blueman-applet.enable = 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";
|
|
|
|
};
|
|
|
|
}
|