From ee6418f892dad88be4e91cfbd49697b0595ac31a Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Wed, 12 Jul 2023 11:42:30 -0400 Subject: [PATCH] Add worklaptop --- machines/TC-4000579/configuration.nix | 29 +++++++++++++++++++++++++++ machines/TC-4000579/home.nix | 22 ++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 machines/TC-4000579/configuration.nix create mode 100644 machines/TC-4000579/home.nix diff --git a/machines/TC-4000579/configuration.nix b/machines/TC-4000579/configuration.nix new file mode 100644 index 0000000..a6c5e01 --- /dev/null +++ b/machines/TC-4000579/configuration.nix @@ -0,0 +1,29 @@ +{ config, lib, pkgs, inputs, ... }: + +{ + # Setup system configuration + nathan = { + config = { + isDesktop = true; + user = "nathan.mccarty"; + }; + programs = { + communications.enable = false; + virtualization = false; + }; + }; + # Configure the login shell + users.users."nathan.mccarty".shell = pkgs.fish; + # Setup home manager + home-manager.users."nathan.mccarty" = import ./home.nix; + # Configure nix build + nix.settings = { + cores = 8; + max-jobs = 2; + }; + # Set the system name + # networking = { + # hostName = "extremophile"; + # computerName = "extremophile"; + # }; +} diff --git a/machines/TC-4000579/home.nix b/machines/TC-4000579/home.nix new file mode 100644 index 0000000..54b5484 --- /dev/null +++ b/machines/TC-4000579/home.nix @@ -0,0 +1,22 @@ +{ config, lib, pkgs, ... }: + +{ + nathan = { + programs = { + util = { + git = { + gpgSign = false; + sshSign = true; + }; + }; + devel = { + idris2 = false; + haskell = false; + js = false; + raku = false; + python = false; + }; + }; + config = { isDesktop = true; }; + }; +}