Skyler Turner | f0e4f3e | 2022-01-09 13:46:00 +0000 | [diff] [blame] | 1 | { config, pkgs, nixpkgs, ... }: |
Skyler Turner | 84ec77c | 2022-01-14 09:05:57 +0000 | [diff] [blame] | 2 | let |
| 3 | username = "minion"; |
| 4 | homedir = "/home/${username}"; |
Skyler Turner | 4ecd581 | 2022-02-06 00:18:09 +0000 | [diff] [blame] | 5 | |
| 6 | comma = import ( pkgs.fetchFromGitHub { |
| 7 | owner = "nix-community"; |
| 8 | repo = "comma"; |
| 9 | rev = "02e3e5545b0c62595a77f3d5de1223c536af0614"; |
Skyler Turner | f7995c5 | 2022-02-06 00:23:24 +0000 | [diff] [blame] | 10 | sha256 = "sha256-WBIQmwlkb/GMoOq+Dnyrk8YmgiM/wJnc5HYZP8Uw72E="; |
Skyler Turner | 4ecd581 | 2022-02-06 00:18:09 +0000 | [diff] [blame] | 11 | }) {}; |
| 12 | |
Skyler Turner | 84ec77c | 2022-01-14 09:05:57 +0000 | [diff] [blame] | 13 | in { |
Skyler Turner | 205aff1 | 2021-12-20 11:22:57 +0000 | [diff] [blame] | 14 | # Home Manager needs a bit of information about you and the |
| 15 | # paths it should manage. |
Skyler Turner | 84ec77c | 2022-01-14 09:05:57 +0000 | [diff] [blame] | 16 | home.username = username; |
| 17 | home.homeDirectory = homedir; |
Skyler Turner | 205aff1 | 2021-12-20 11:22:57 +0000 | [diff] [blame] | 18 | |
Skyler Turner | 205aff1 | 2021-12-20 11:22:57 +0000 | [diff] [blame] | 19 | |
| 20 | programs.go.enable = true; |
| 21 | |
| 22 | # programs.steam.enable = true; |
| 23 | |
| 24 | programs.gpg.enable = true; |
| 25 | services.gpg-agent = { |
| 26 | enable = true; |
| 27 | pinentryFlavor = "qt"; |
| 28 | }; |
| 29 | |
Skyler Turner | 2a7e574 | 2022-01-26 15:09:20 +0000 | [diff] [blame] | 30 | nixpkgs.overlays = [ |
| 31 | (import ./overlays/anytype.nix) |
Skyler Turner | bab2476 | 2022-02-08 18:33:27 +0000 | [diff] [blame] | 32 | (import ./overlays/mindustry.nix) |
Skyler Turner | 2a7e574 | 2022-01-26 15:09:20 +0000 | [diff] [blame] | 33 | (import ./overlays/nur.nix) |
| 34 | ]; |
Skyler Turner | f0e4f3e | 2022-01-09 13:46:00 +0000 | [diff] [blame] | 35 | |
Skyler Turner | 205aff1 | 2021-12-20 11:22:57 +0000 | [diff] [blame] | 36 | home.packages = with pkgs; [ |
Skyler Turner | 27ee4cb | 2022-03-06 22:29:09 +0000 | [diff] [blame] | 37 | |
Skyler Turner | 205aff1 | 2021-12-20 11:22:57 +0000 | [diff] [blame] | 38 | ]; |
| 39 | |
Skyler Turner | f7995c5 | 2022-02-06 00:23:24 +0000 | [diff] [blame] | 40 | |
Skyler Turner | b93743f | 2022-02-06 00:02:21 +0000 | [diff] [blame] | 41 | |
Skyler Turner | 205aff1 | 2021-12-20 11:22:57 +0000 | [diff] [blame] | 42 | |
Skyler Turner | 205aff1 | 2021-12-20 11:22:57 +0000 | [diff] [blame] | 43 | # This value determines the Home Manager release that your |
| 44 | # configuration is compatible with. This helps avoid breakage |
| 45 | # when a new Home Manager release introduces backwards |
| 46 | # incompatible changes. |
| 47 | # |
| 48 | # You can update Home Manager without changing this value. See |
| 49 | # the Home Manager release notes for a list of state version |
| 50 | # changes in each release. |
| 51 | home.stateVersion = "21.11"; |
| 52 | |
| 53 | # Let Home Manager install and manage itself. |
| 54 | programs.home-manager.enable = true; |
| 55 | } |