28 lines
781 B
Nix
28 lines
781 B
Nix
{
|
|
description = "NubNix - NixOS, Home Manager and Pewdiepie's Hyprland";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "path:/run/media/nixos/GOLDENUSB/nixpkgs";
|
|
home-manager.url = "path:/run/media/nixos/GOLDENUSB/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
in {
|
|
nixosConfigurations.nubnix = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
./nixos/configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.friend = import ./home/home.nix;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|