Merge branch 'main' of gh:greg-hellings/nixos-config
This commit is contained in:
@@ -7,6 +7,7 @@ let
|
|||||||
system = pkgs.system;
|
system = pkgs.system;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
nixpkgs.config.allowUnfreePredicate = (_: true);
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nixvim.homeManagerModules.default
|
inputs.nixvim.homeManagerModules.default
|
||||||
./modules
|
./modules
|
||||||
|
|||||||
@@ -1,6 +1,12 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
greg.gnome = true;
|
greg = {
|
||||||
greg.gui = true;
|
development = true;
|
||||||
|
gnome = true;
|
||||||
|
gui = true;
|
||||||
|
};
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
cargo
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./baseline
|
./baseline
|
||||||
|
./development.nix
|
||||||
./gnome.nix
|
./gnome.nix
|
||||||
./gui.nix
|
./gui.nix
|
||||||
./python.nix
|
./python.nix
|
||||||
|
|||||||
@@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user