Files
home-config/flake.nix

46 lines
1.2 KiB
Nix
Raw Normal View History

2025-08-07 21:20:35 +02:00
{
description = ''
For questions just DM me on X: https://twitter.com/@m3tam3re
There is also some NIXOS content on my YT channel: https://www.youtube.com/@m3tam3re
One of the best ways to learn NIXOS is to read other peoples configurations. I have personally learned a lot from Gabriel Fontes configs:
https://github.com/Misterio77/nix-starter-configs
https://github.com/Misterio77/nix-config
Please also check out the starter configs mentioned above.
'';
inputs = {
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = {
self,
home-manager,
nixpkgs,
...
} @ inputs: let
inherit (self) outputs;
in {
overlays = import ./overlays {inherit inputs outputs;};
homeConfigurations = {
"m3tam3re@m3-daedalus" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."aarch64-linux";
extraSpecialArgs = {
inherit inputs outputs;
systemConfig = {};
};
modules = [
./users/m3tam3re
./users/m3tam3re/profiles/server.nix
];
};
};
};
}