71 lines
1.3 KiB
Nix
71 lines
1.3 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with pkgs; {
|
|
imports = [
|
|
./shell
|
|
./editors
|
|
./desktop
|
|
./vpn.nix
|
|
./git.nix
|
|
./keybase.nix
|
|
./signal.nix
|
|
./browsers
|
|
./planck.nix
|
|
];
|
|
|
|
services.gammastep = {
|
|
enable = true;
|
|
latitude = "53.2603609";
|
|
longitude = "10.4014691";
|
|
};
|
|
|
|
programs.gpg.enable = true;
|
|
|
|
services.gpg-agent = {
|
|
enable = true;
|
|
enableSshSupport = true;
|
|
sshKeys = [ "967EC4516D18D0E1211FCFC38B1CAF89FF627FCA" ];
|
|
defaultCacheTtl = 600;
|
|
defaultCacheTtlSsh = 600;
|
|
pinentryFlavor = "gnome3";
|
|
};
|
|
# https://github.com/nix-community/home-manager/issues/667#issuecomment-902236379
|
|
# https://github.com/nix-community/home-manager/pull/2253
|
|
home.sessionVariables.SSH_AUTH_SOCK =
|
|
"$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh";
|
|
|
|
programs.ssh.enable = true;
|
|
|
|
programs.git = { defaultProfile = "work"; };
|
|
|
|
xdg.configFile."nixpkgs/config.nix".text = ''
|
|
{
|
|
allowUnfree = true;
|
|
}
|
|
'';
|
|
|
|
home.packages = with pkgs; [
|
|
# system
|
|
gparted
|
|
gnome-firmware-updater
|
|
|
|
# productivity
|
|
discord
|
|
libreoffice-fresh
|
|
skypeforlinux
|
|
pinta
|
|
inkscape
|
|
|
|
# entertainment
|
|
celluloid
|
|
|
|
# development
|
|
unzip
|
|
postman
|
|
jq
|
|
dos2unix
|
|
];
|
|
|
|
home.stateVersion = "21.05";
|
|
}
|