2023-03-29 21:48:55 +05:30
|
|
|
{ impermanence
|
|
|
|
, pkgs
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
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
|
|
|
|
|
|
|
|
./dev.nix
|
|
|
|
./downloader.nix
|
|
|
|
./firefox.nix
|
|
|
|
./media.nix
|
|
|
|
./persistence.nix
|
|
|
|
./scripts.nix
|
|
|
|
./sway
|
|
|
|
./terminal.nix
|
|
|
|
./virt-manager.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
_1password-gui
|
|
|
|
brightnessctl
|
2023-03-25 22:10:09 +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
|
2023-03-24 13:22:56 +05:30
|
|
|
yubioath-flutter
|
2023-03-23 22:10:30 +05:30
|
|
|
yubikey-manager
|
2023-03-24 13:22:56 +05:30
|
|
|
yubikey-manager-qt
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
gpg = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
keyserver = "hkps://keys.openpgp.org";
|
|
|
|
};
|
2023-03-23 22:10:30 +05:30
|
|
|
scdaemonSettings = {
|
|
|
|
disable-ccid = true;
|
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
2023-03-22 23:28:11 +05:30
|
|
|
ssh = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
services.blueman-applet.enable = true;
|
2023-03-22 23:28:11 +05:30
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
enableExtraSocket = true;
|
2023-03-23 22:10:30 +05:30
|
|
|
enableScDaemon = true;
|
2023-03-22 23:28:11 +05:30
|
|
|
enableSshSupport = true;
|
2023-03-26 00:27:45 +05:30
|
|
|
pinentryFlavor = "gnome3";
|
2023-03-22 23:28:11 +05:30
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|