Skip to content

Commit

Permalink
fix(blaggacao): use nixGL for proper OpenGL rendering outside of nixos
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Oct 31, 2022
1 parent 7deef59 commit 6444e6e
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 7 deletions.
5 changes: 3 additions & 2 deletions comb/blaggacao/homeConfigurations.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
let
inherit (cell) homeSuites;
inherit (inputs) nixgl nixos; # home

name = "David Arnold";
# email = "[email protected]";
Expand Down Expand Up @@ -40,14 +41,14 @@ in {
[]
++ gui
++ shell
++ nix;
++ system;
};
server = {
inherit programs bee home manual;
targets.genericLinux.enable = true;
imports = with homeSuites;
[]
++ shell
++ nix;
++ system;
};
}
12 changes: 9 additions & 3 deletions comb/blaggacao/homeProfiles.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
let
inherit (inputs) nixpkgs;
inherit (inputs) nixpkgs nixgl;
in {
shellPrograms.programs = import ./homeProfiles/shellPrograms.nix;
guiPrograms.programs = import ./homeProfiles/guiPrograms.nix;
shellPackages.home.packages = import ./homeProfiles/shellPackages.nix nixpkgs;
guiPackages.home.packages = import ./homeProfiles/guiPackages.nix nixpkgs;
nixProfile.nix = {
package = nixpkgs.nix;
systemProfile = {
home.packages = [
nixpkgs.nix
nixgl.packages.nixGLIntel
];
nix = {
package = nixpkgs.nix;
};
};
}
4 changes: 2 additions & 2 deletions comb/blaggacao/homeSuites.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ in {
homeProfiles.guiPackages
homeProfiles.guiPrograms
];
nix = [
homeProfiles.nixProfile
system = [
homeProfiles.systemProfile
];
}
25 changes: 25 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
colmena.inputs.nixpkgs.follows = "nixpkgs";
colmena.inputs.stable.follows = "std/blank";
colmena.inputs.flake-utils.follows = "std/flake-utils";
nixgl.url = "github:guibou/nixGL";
nixgl.inputs.nixpkgs.follows = "nixpkgs";
nixgl.inputs.flake-utils.follows = "std/flake-utils";
};

# nixpkgs & home-manager
Expand Down

0 comments on commit 6444e6e

Please sign in to comment.