diff options
author | Ben Sima <ben@bsima.me> | 2021-11-01 12:16:34 -0600 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-11-01 12:16:34 -0600 |
commit | 22950ff17da1d197f55f1e73783da9077c2e3cdb (patch) | |
tree | 7736a93fb99ebc3103429958ae6dd9cab7950721 /profiles | |
parent | e71cabacfd3af0e4426d7cfd1edbabf564b8fd4d (diff) |
extract programs.{ssh,emacs}
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/darwin.nix | 28 | ||||
-rw-r--r-- | profiles/groq.nix | 4 | ||||
-rw-r--r-- | profiles/laptop.nix | 2 | ||||
-rw-r--r-- | profiles/workshop.nix | 2 |
4 files changed, 21 insertions, 15 deletions
diff --git a/profiles/darwin.nix b/profiles/darwin.nix index c221e9e..9640d22 100644 --- a/profiles/darwin.nix +++ b/profiles/darwin.nix @@ -2,29 +2,29 @@ let homedir = builtins.getEnv "HOME"; - haskellOverlay = self: super: { - haskellPackages = super.haskellPackages.override (old: { - overrides = self: super: { - hledger = self.callPackage ./pkgs/hledger-1.19.1.nix {}; - hledger-lib = self.callPackage ./pkgs/hledger-lib-1.19.1.nix {}; - }; - }); - }; + #haskellOverlay = self: super: { + # haskellPackages = super.haskellPackages.override (old: { + # overrides = self: super: { + # hledger = self.callPackage ./pkgs/hledger-1.19.1.nix {}; + # hledger-lib = self.callPackage ./pkgs/hledger-lib-1.19.1.nix {}; + # }; + # }); + #}; in { nixpkgs.overlays = [ - haskellOverlay + #haskellOverlay ]; imports = [ - ./lib/common.nix - ./lib/email.nix + ../lib/common.nix + #../lib/email.nix + ../lib/ssh.nix ]; home = { - sessionVariables.PATH = "/usr/local/opt/mysql@5.7/bin:${homedir}/bin:${homedir}/.cabal/bin:${homedir}/.local/bin:$PATH"; packages = with pkgs; [ - muchsync - (haskellPackages.ghcWithPackages (ps: with ps; [hledger])) + #muchsync + #(haskellPackages.ghcWithPackages (ps: with ps; [hledger])) coreutils ]; }; diff --git a/profiles/groq.nix b/profiles/groq.nix index d1214b3..dc7df02 100644 --- a/profiles/groq.nix +++ b/profiles/groq.nix @@ -5,7 +5,9 @@ let in { imports = [ - ./common.nix + ../lib/common.nix + ../lib/packages.nix + ../lib/ssh.nix ]; accounts = { diff --git a/profiles/laptop.nix b/profiles/laptop.nix index e8bdbba..6104901 100644 --- a/profiles/laptop.nix +++ b/profiles/laptop.nix @@ -4,6 +4,8 @@ { imports = [ ../lib/linux.nix + ../lib/ssh.nix + ../lib/packages.nix ]; home = { packages = [ diff --git a/profiles/workshop.nix b/profiles/workshop.nix index 0691b61..25d2d9f 100644 --- a/profiles/workshop.nix +++ b/profiles/workshop.nix @@ -4,6 +4,8 @@ { imports = [ ../lib/linux.nix + ../lib/ssh.nix + ../lib/packages.nix ]; home = { sessionVariables = { |