mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
pureintent: more
This commit is contained in:
parent
5dcc0c1f2c
commit
4767babb84
5 changed files with 6 additions and 56 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
imports = [
|
||||
./all/bash.nix
|
||||
./claude-code
|
||||
./all/juspay-vertex.nix
|
||||
# ./all/zsh.nix
|
||||
# ./all/vscode-server.nix
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue