From 4767babb84c0bf2cf3d6bb8464eb2b350fee148b Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar <3998+srid@users.noreply.github.com> Date: Mon, 20 Oct 2025 14:22:34 -0400 Subject: [PATCH] pureintent: more --- configurations/home/srid@pureintent.nix | 35 ------------------- .../nixos/pureintent/configuration.nix | 12 ------- configurations/nixos/pureintent/default.nix | 13 +++---- modules/home/all/vira.nix | 1 - modules/home/linux-only.nix | 1 + 5 files changed, 6 insertions(+), 56 deletions(-) delete mode 100644 configurations/home/srid@pureintent.nix diff --git a/configurations/home/srid@pureintent.nix b/configurations/home/srid@pureintent.nix deleted file mode 100644 index 12eebbb..0000000 --- a/configurations/home/srid@pureintent.nix +++ /dev/null @@ -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; - }; -} diff --git a/configurations/nixos/pureintent/configuration.nix b/configurations/nixos/pureintent/configuration.nix index f5deecd..a70ea46 100644 --- a/configurations/nixos/pureintent/configuration.nix +++ b/configurations/nixos/pureintent/configuration.nix @@ -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; diff --git a/configurations/nixos/pureintent/default.nix b/configurations/nixos/pureintent/default.nix index 5921fac..d26064d 100644 --- a/configurations/nixos/pureintent/default.nix +++ b/configurations/nixos/pureintent/default.nix @@ -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; diff --git a/modules/home/all/vira.nix b/modules/home/all/vira.nix index 2795a00..62a6d89 100644 --- a/modules/home/all/vira.nix +++ b/modules/home/all/vira.nix @@ -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"; diff --git a/modules/home/linux-only.nix b/modules/home/linux-only.nix index 32125a7..b3f531c 100644 --- a/modules/home/linux-only.nix +++ b/modules/home/linux-only.nix @@ -2,6 +2,7 @@ imports = [ ./all/bash.nix ./claude-code + ./all/juspay-vertex.nix # ./all/zsh.nix # ./all/vscode-server.nix ];