mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 18:01:29 +00:00
optimize flake shape and add devshell
This commit is contained in:
parent
f3d61787f0
commit
6dfef30594
8 changed files with 202 additions and 121 deletions
21
lib/hosts.nix
Normal file
21
lib/hosts.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ username }:
|
||||
{
|
||||
darwin = {
|
||||
name = "darwin";
|
||||
kind = "darwin";
|
||||
system = "aarch64-darwin";
|
||||
hostname = "hari-macbook-pro";
|
||||
homeModule = ../home;
|
||||
homeDirectory = "/Users/${username}";
|
||||
};
|
||||
|
||||
netty = {
|
||||
name = "netty";
|
||||
kind = "nixos";
|
||||
system = "x86_64-linux";
|
||||
hostname = "netty";
|
||||
homeModule = ../home/netty.nix;
|
||||
standaloneHomeModule = ../hosts/netty;
|
||||
homeDirectory = "/home/${username}";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue