nix-configs/monosodium-glutamate-g/flake.nix

31 lines
933 B
Nix

{
description = "home manager config apparently";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpks.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, ... }: {
nixosConfigurations = {
monosodium-glutamate-g = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
# ./host/myhost/configuration.nix
./configuration.nix
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jade = { nixosConfig, pkgs, ... }: {
home.sessionVariables.TZ = nixosConfig.time.timeZone;
home.stateVersion = "${nixosConfig.system.stateVersion}";
};
}
];
};
};
};
}