50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
|
{
|
||
|
description = "Home Manager configuration of muhh";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "nixpkgs/nixos-23.11";
|
||
|
home-manager = {
|
||
|
url = "github:nix-community/home-manager/release-23.11";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
nixvim = {
|
||
|
url = "github:nix-community/nixvim/nixos-23.11";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
outputs = {
|
||
|
self,
|
||
|
nixpkgs,
|
||
|
home-manager,
|
||
|
...
|
||
|
} @ inputs: let
|
||
|
inherit (self) outputs;
|
||
|
system = "x86_64-linux";
|
||
|
lib = nixpkgs.lib;
|
||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||
|
in {
|
||
|
nixosConfigurations = {
|
||
|
muhhStar = lib.nixosSystem {
|
||
|
inherit system;
|
||
|
modules = [ ./configuration.nix ];
|
||
|
};
|
||
|
};
|
||
|
homeConfigurations = {
|
||
|
muhh = home-manager.lib.homeManagerConfiguration {
|
||
|
pkgs = import nixpkgs {
|
||
|
inherit system;
|
||
|
config.allowUnfree = true;
|
||
|
config.permittedInsecurePackages = [
|
||
|
"electron-25.9.0"
|
||
|
];
|
||
|
};
|
||
|
modules = [
|
||
|
inputs.nixvim.homeManagerModules.nixvim
|
||
|
./home.nix
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|