2023-08-14 07:11:18 -04:00
|
|
|
{
|
2023-08-14 07:45:15 -04:00
|
|
|
description = "mehbark's NixOS configuration";
|
2023-08-14 07:11:18 -04:00
|
|
|
|
2023-08-14 07:45:15 -04:00
|
|
|
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
|
|
inputs.home-manager.url = "github:nix-community/home-manager";
|
|
|
|
inputs.home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
2023-08-15 18:19:41 -04:00
|
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
2023-08-14 07:45:15 -04:00
|
|
|
|
2023-08-15 18:19:41 -04:00
|
|
|
outputs = inputs@{ self, nixpkgs, home-manager, flake-utils, ... }:
|
|
|
|
let
|
2023-08-15 18:31:53 -04:00
|
|
|
# :(
|
|
|
|
conf = (import ./build.conf.nix) { wm = "plasma"; };
|
2023-08-15 18:19:41 -04:00
|
|
|
in
|
|
|
|
{
|
|
|
|
nixosConfigurations =
|
|
|
|
{
|
2023-08-14 07:45:15 -04:00
|
|
|
nix = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2023-08-15 18:31:53 -04:00
|
|
|
((import ./configuration.nix) conf)
|
2023-08-14 07:45:15 -04:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
2023-08-15 18:19:41 -04:00
|
|
|
home-manager.users.mbk = (import ./home.nix) conf;
|
2023-08-14 07:45:15 -04:00
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2023-08-15 18:31:53 -04:00
|
|
|
};
|
2023-08-14 07:45:15 -04:00
|
|
|
};
|
2023-08-14 07:11:18 -04:00
|
|
|
}
|