Compare commits

..

No commits in common. "42c1609a29251b3356c5991f2a12788cd9b6539f" and "48b0e13f113d3102f068ade406eb07b6e2f7c224" have entirely different histories.

6 changed files with 16 additions and 32 deletions

View file

@ -1,4 +0,0 @@
# void-config
A few settings that I tend to enable and don't want to have to think about too
much.

View file

@ -1,12 +0,0 @@
{...}:{
imports = [
../modules/audio.nix
../modules/font.nix
../modules/nix-settings.nix
../modules/nvidia.nix
../modules/services.nix
../modules/vim.nix
../modules/xconfig.nix
../modules/zsh.nix
];
}

View file

@ -1,10 +1,7 @@
{
description = "A few settings";
{ description = "A few settings";
outputs = _: {
nixosModules = {
default = import ./default;
smol = import ./smol;
voidcruiser = import ./modules;
};
};
}

12
modules/default.nix Normal file
View file

@ -0,0 +1,12 @@
{...}:{
imports = [
./audio.nix
./font.nix
./nix-settings.nix
./nvidia.nix
./services.nix
./vim.nix
./xconfig.nix
./zsh.nix
];
}

View file

@ -1,8 +1,8 @@
{ lib, config, ... }:
with lib;
let cfg = config.voidcruiser.nixSettings;
let cfg = config.nixSettings;
in {
options.voidcruiser.nixSettings = {
options.nixSettings = {
gc = {
automatic = mkOption {
type = types.bool;
@ -25,7 +25,6 @@ in {
};
config = {
nix = {
optimise.automatic = true;
settings = {
trusted-users = [
"root"

View file

@ -1,8 +0,0 @@
{...}:{
imports = [
../modules/nix-settings.nix
../modules/vim.nix
../modules/zsh.nix
../modules/audio.nix
];
}