-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
32 lines (28 loc) · 884 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
description = "Flake nix";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
stylix.url = "github:danth/stylix/release-23.11";
home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, stylix, ... }:
let
lib = nixpkgs.lib;
pkgs = nixpkgs.legacyPackages."x86_64-linux";
in {
nixosConfigurations = {
nixos = lib.nixosSystem {
system = "x86_64-linux";
modules = [ stylix.nixosModules.stylix ./configuration.nix ];
};
};
homeConfigurations = {
# virtualisation.virtualbox.guest.draganddrop = true;
lxudrr = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home/home.nix ];#stylix.homeManagerModules.stylix ./home/home.nix ];
};
};
};
}