-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff8e10e
commit a1472f6
Showing
33 changed files
with
186 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,3 @@ | |
}; | ||
}; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ lib, ... }: | ||
{ | ||
{lib, ...}: { | ||
programs.git = { | ||
enable = true; | ||
delta.enable = true; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{ config, pkgs, lib, ... }: | ||
{ | ||
config, | ||
pkgs, | ||
lib, | ||
... | ||
}: { | ||
programs.tmux = { | ||
enable = true; | ||
clock24 = true; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ pkgs, ... }: | ||
{ | ||
{pkgs, ...}: { | ||
programs.alacritty = { | ||
enable = true; | ||
settings = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{ pkgs, lib, config, ... }: | ||
{ | ||
pkgs, | ||
lib, | ||
config, | ||
... | ||
}: { | ||
imports = [ | ||
./common/core | ||
./common/core-darwin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
{ ... }: | ||
{ | ||
{...}: { | ||
imports = [ | ||
./common/core | ||
|
||
|
||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ ... }: | ||
{ | ||
{...}: { | ||
imports = [ | ||
./common/core | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
imports = [ | ||
./network.nix | ||
./no-wait-online.nix # mitigate NetworkManager Wait-Online failure | ||
./no-wait-online.nix # mitigate NetworkManager Wait-Online failure | ||
./node-exporter.nix | ||
./sudo-no-password.nix # don't require password for sudo | ||
./sudo-no-password.nix # don't require password for sudo | ||
./tailscale.nix | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# Patches a bug where upgrading nixos causing Wait-Online to fail | ||
# by just disabling it. I can't find anything that it breaks. | ||
{ pkgs, ... }: | ||
{ | ||
{pkgs, ...}: { | ||
systemd.services.NetworkManager-wait-online.enable = pkgs.lib.mkForce false; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ lib, ... }: | ||
{ | ||
{lib, ...}: { | ||
time.timeZone = lib.mkDefault "America/New_York"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,3 @@ | |
}; | ||
}; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
{ pkgs, ... }: | ||
{ | ||
{pkgs, ...}: { | ||
fonts.fontDir.enable = true; | ||
fonts.packages = with pkgs; [ | ||
recursive | ||
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) | ||
recursive | ||
(nerdfonts.override {fonts = ["JetBrainsMono"];}) | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
{ pkgs, lib, ... }: | ||
let | ||
inherit (pkgs) stdenv; | ||
in | ||
{ | ||
users.users.tuckershea = { | ||
home = if stdenv.isDarwin then "/Users/tuckershea" else "/home/tuckershea"; | ||
shell = pkgs.zsh; | ||
description = "Tucker Shea"; | ||
|
||
openssh.authorizedKeys.keyFiles = [ | ||
../../../../resources/publickeys/id_tuckershea_elmira.pub | ||
]; | ||
pkgs, | ||
lib, | ||
... | ||
}: let | ||
inherit (pkgs) stdenv; | ||
in { | ||
users.users.tuckershea = | ||
{ | ||
home = | ||
if stdenv.isDarwin | ||
then "/Users/tuckershea" | ||
else "/home/tuckershea"; | ||
shell = pkgs.zsh; | ||
description = "Tucker Shea"; | ||
|
||
packages = [ ]; | ||
} // lib.optionalAttrs stdenv.isLinux { | ||
group = "tuckershea"; | ||
isNormalUser = true; | ||
extraGroups = [ "wheel" ]; | ||
}; | ||
openssh.authorizedKeys.keyFiles = [ | ||
../../../../resources/publickeys/id_tuckershea_elmira.pub | ||
]; | ||
|
||
users.groups.tuckershea = { }; | ||
} | ||
packages = []; | ||
} | ||
// lib.optionalAttrs stdenv.isLinux { | ||
group = "tuckershea"; | ||
isNormalUser = true; | ||
extraGroups = ["wheel"]; | ||
}; | ||
|
||
users.groups.tuckershea = {}; | ||
} |
Oops, something went wrong.