Merge branch 'main' of gh:greg-hellings/nixos-config

This commit is contained in:
Greg Hellings
2024-08-04 19:56:32 -05:00
4 changed files with 24 additions and 2 deletions
+1
View File
@@ -7,6 +7,7 @@ let
system = pkgs.system;
in
{
nixpkgs.config.allowUnfreePredicate = (_: true);
imports = [
inputs.nixvim.homeManagerModules.default
./modules
+8 -2
View File
@@ -1,6 +1,12 @@
{ pkgs, config, ... }:
{
greg.gnome = true;
greg.gui = true;
greg = {
development = true;
gnome = true;
gui = true;
};
home.packages = with pkgs; [
cargo
];
}
+1
View File
@@ -3,6 +3,7 @@
{
imports = [
./baseline
./development.nix
./gnome.nix
./gui.nix
./python.nix
+14
View File
@@ -0,0 +1,14 @@
{ config, pkgs, lib, ... }:
let
packages = with pkgs; [
cargo
nixd
nixpkgs-review
];
in with lib; {
options.greg.development = mkEnableOption "Setup necessary development packages";
config = mkIf config.greg.development {
home.packages = packages;
};
}