blob: 00f035a5345f9bd1cd871d195f5800f7e41f65dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{ config, pkgs, ... }:
let
pnvim = import ./programs/nvim.nix pkgs;
isDarwin = builtins.currentSystem == "x86_64-darwin";
platformSetup =
if isDarwin then ./platforms/darwin else ./platforms/linux;
in
{
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "pn";
home.homeDirectory =
if isDarwin then "/Users/pn" else "/home/pn";
imports = [
# Platform specific config
platformSetup
./programs/zsh
./programs/git.nix
];
home.packages = with pkgs; [
# Basic
gnupg
pnvim
nur.repos.pn.larbs-mail
# Misc
spotifyd
spotify-tui
# gimp
slack-dark
pandoc
texlive.combined.scheme-basic
zathura
];
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "20.09";
}
|