Things should work for macbook too

This commit is contained in:
Natsu Kagami 2021-10-29 13:31:16 -04:00
parent 4f635b3cd3
commit d37f6808f5
6 changed files with 86 additions and 75 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
imports = [
@ -96,7 +96,8 @@
gh = {
enable = true;
gitProtocol = "ssh";
gitProtocol = lib.mkIf (config.home.stateVersion == "21.05") "ssh";
settings.git_protocol = lib.mkIf (config.home.stateVersion == "21.11") "ssh";
};
git = {

View file

@ -1,4 +1,4 @@
{ config, pkgs, nixpkgs-unstable, ... }:
{ config, pkgs, ... }:
{
programs.fish = {

View file

@ -1,8 +1,5 @@
{ config, pkgs, nixpkgs-unstable, ... }:
{ config, pkgs, ... }:
let
x86pkgs = import nixpkgs-unstable { system = pkgs.system; config.allowUnsupportedSystem = true; };
in
{
imports = [ ./common.nix ];
@ -16,7 +13,7 @@ in
# Additional packages to be used only on this MacBook.
home.packages = with pkgs; [
x86pkgs.anki-bin
pkgs.x86.anki-bin
];
# Additional settings for programs