mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 06:54:57 +08:00
sambar: home only (nix-darwin sucks now)
This commit is contained in:
parent
08e7fc9b2c
commit
b8f703b889
3 changed files with 14 additions and 31 deletions
|
|
@ -1,31 +0,0 @@
|
|||
{ flake, pkgs, ... }:
|
||||
{
|
||||
nixos-unified.sshTarget = "nix-infra@sambar";
|
||||
|
||||
networking.hostName = "sambar";
|
||||
# ids.uids.nixbld = 300;
|
||||
system.stateVersion = 4;
|
||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
btop
|
||||
tailscale
|
||||
];
|
||||
|
||||
services = {
|
||||
openssh.enable = true;
|
||||
tailscale.enable = true;
|
||||
};
|
||||
|
||||
nix.enable = true;
|
||||
|
||||
# Legacy admin user, `nix-infra`. Keeping for compat.
|
||||
users.users.nix-infra = {
|
||||
name = "nix-infra";
|
||||
uid = 502;
|
||||
home = "/Users/nix-infra";
|
||||
openssh.authorizedKeys.keys = [
|
||||
flake.config.me.sshKey
|
||||
];
|
||||
};
|
||||
}
|
||||
13
configurations/home/srid@sambar.nix
Normal file
13
configurations/home/srid@sambar.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ flake, ... }:
|
||||
let
|
||||
inherit (flake) inputs;
|
||||
inherit (inputs) self;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
self.homeModules.default
|
||||
self.homeModules.darwin-only
|
||||
];
|
||||
|
||||
home.username = "srid";
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./all/zsh.nix
|
||||
./all/bash.nix
|
||||
./all/nushell
|
||||
# ./all/emacs.nix
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue