feat(configurations)!: flatten down, introduce meta.nix
Flatten down directory structure: - From: `./hosts/${configuration-type}/${system}/{configuration,deploy}.nix` - To: `./hosts/${configuration-type}/{meta,configuration}.nix` Keep `system` and `deploy-rs` config in `meta.nix` Update `flake.lock`
This commit is contained in:
parent
29738555b1
commit
9b8f894a1a
43 changed files with 459 additions and 344 deletions
53
hosts/nix-darwin/apavel-a01/home/apavel.nix
Normal file
53
hosts/nix-darwin/apavel-a01/home/apavel.nix
Normal file
|
@ -0,0 +1,53 @@
|
|||
{ inputs, lib, pkgs, config, ... }:
|
||||
|
||||
{
|
||||
home = {
|
||||
# username = "apavel";
|
||||
# homeDirectory = "/Users/apavel";
|
||||
stateVersion = "22.05";
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# Dhall
|
||||
dhall
|
||||
# dhall-lsp-server
|
||||
|
||||
# Nix
|
||||
nil
|
||||
|
||||
# Zig
|
||||
zigpkgs.master
|
||||
# inputs.zls-overlay.packages.x86_64-darwin.default
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "apavel";
|
||||
userEmail = "apavel@vmware.com";
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
key = "0x52F3E1D376F692C0";
|
||||
};
|
||||
};
|
||||
|
||||
# services.gpg-agent = {
|
||||
# enable = true;
|
||||
# defaultCacheTtl = 1800;
|
||||
# enableSshSupport = true;
|
||||
# };
|
||||
|
||||
# home.file.".stack/config.yaml".text = lib.generators.toYAML {} {
|
||||
# templates = {
|
||||
# scm-init = "git";
|
||||
# params = with config.programs.git; {
|
||||
# author-name = userName;
|
||||
# author-email = userEmail;
|
||||
# github-username = userName;
|
||||
# };
|
||||
# };
|
||||
# nix.enable = true;
|
||||
# };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue