Things should work for macbook too
This commit is contained in:
parent
4f635b3cd3
commit
d37f6808f5
6 changed files with 86 additions and 75 deletions
|
@ -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 = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, nixpkgs-unstable, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.fish = {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue