pureintent: more

This commit is contained in:
Sridhar Ratnakumar 2025-10-20 14:22:34 -04:00
parent 5dcc0c1f2c
commit 4767babb84
5 changed files with 6 additions and 56 deletions

View file

@ -1,35 +0,0 @@
{ flake, pkgs, lib, config, ... }:
let
inherit (flake) inputs;
inherit (inputs) self;
homeMod = self + /modules/home;
in
{
imports = [
"${homeMod}/claude-code"
"${homeMod}/all/git.nix"
"${homeMod}/all/just.nix"
"${homeMod}/all/direnv.nix"
"${homeMod}/all/starship.nix"
"${homeMod}/all/bash.nix"
"${homeMod}/all/terminal.nix"
"${homeMod}/all/gotty.nix"
"${homeMod}/all/juspay-vertex.nix"
# "${homeMod}/all/1password.nix"
(self + /modules/home/all/vira.nix)
# Remote builders
"${homeMod}/all/buildMachines"
"${homeMod}/all/buildMachines/sincereintent.nix"
];
home.username = "srid";
home.stateVersion = "25.05";
services.gotty = {
enable = true;
port = 9999;
command = "${lib.getExe config.programs.tmux.package} new-session -A -s gotty";
write = true;
};
}

View file

@ -31,18 +31,6 @@
# Select internationalisation properties.
i18n.defaultLocale = "en_CA.UTF-8";
services.xserver.enable = true;
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# Configure keymap in X11
services.xserver.xkb = {
layout = "us";
variant = "";
};
# Enable CUPS to print documents.
services.printing.enable = true;

View file

@ -3,10 +3,11 @@
let
inherit (flake) inputs;
inherit (inputs) self;
homeMod = self + /modules/home;
in
{
nixos-unified.sshTarget = "srid@pureintent";
# nixos-unified.sshTarget = "srid@192.168.2.244";
# nixos-unified.sshTarget = "srid@pureintent";
nixos-unified.sshTarget = "srid@192.168.2.244";
imports = [
self.nixosModules.default
@ -14,8 +15,8 @@ in
];
home-manager.sharedModules = [
"${homeMod}/all/vira.nix"
# (self + /modules/home/all/dropbox.nix)
# (self + /modules/home/all/vira.nix)
];
nix.settings.sandbox = "relaxed";
@ -25,15 +26,11 @@ in
networking.firewall.allowedTCPPorts = [
80
443
5001
];
programs.nix-ld.enable = true; # for vscode server
# GNOME Desktop Environment
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# Workaround the annoying `Failed to start Network Manager Wait Online` error on switch.
# https://github.com/NixOS/nixpkgs/issues/180175
systemd.services.NetworkManager-wait-online.enable = false;

View file

@ -30,7 +30,6 @@ in
rust-flake = "https://github.com/juspay/rust-flake.git";
services-flake = "https://github.com/juspay/services-flake.git";
process-compose-flake = "https://github.com/Platonic-Systems/process-compose-flake.git";
mission-control = "https://github.com/Platonic-Systems/mission-control.git";
vira = "https://github.com/juspay/vira.git";
imako = "https://github.com/srid/imako.git";
emanote = "https://github.com/srid/emanote.git";

View file

@ -2,6 +2,7 @@
imports = [
./all/bash.nix
./claude-code
./all/juspay-vertex.nix
# ./all/zsh.nix
# ./all/vscode-server.nix
];