test import dir

This commit is contained in:
nyxerinys 2026-06-22 14:53:15 -05:00
parent 2be184a535
commit 817e85b1be
3 changed files with 39 additions and 1 deletions

View file

@ -11,6 +11,13 @@
url = "github:nix-darwin/nix-darwin/nix-darwin-26.05"; url = "github:nix-darwin/nix-darwin/nix-darwin-26.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-homebrew = {
url = "github:zhaofengli/nix-homebrew";
};
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = { sops-nix = {
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -19,11 +26,19 @@
url = "git+ssh://git@git.nyxerinys.dev:222/nyxerinys/nix-secrets"; url = "git+ssh://git@git.nyxerinys.dev:222/nyxerinys/nix-secrets";
flake = false; flake = false;
}; };
}; };
outputs = { self, nixpkgs, nix-darwin, ... } @ inputs: outputs = { self, nixpkgs, nix-darwin, home-manager, ... } @ inputs:
let let
blades = import ./hosts/servers/blades/systems.nix { inherit inputs; }; blades = import ./hosts/servers/blades/systems.nix { inherit inputs; };
homeConf = home-manager.darwinModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
# Pass the home.nix configuration to your specific user profile
home-manager.users."nyxerinys" = import ./modules/home/nyxerinys;
};
in in
{ {
nixosConfigurations = { nixosConfigurations = {
@ -60,6 +75,7 @@
modules = [ modules = [
# ./hosts/base.nix # ./hosts/base.nix
./hosts/artemis ./hosts/artemis
homeConf
]; ];
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
}; };

View file

@ -3,6 +3,7 @@
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vscodium vscodium
git
]; ];
security.pam.services.sudo_local.touchIdAuth = true; security.pam.services.sudo_local.touchIdAuth = true;
ids.gids.nixbld = 350; ids.gids.nixbld = 350;

View file

@ -0,0 +1,21 @@
{ config, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "nyxerinys";
home.homeDirectory = "/home/nyxerinys";
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "26.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}