Compare commits

...

10 commits

Author SHA1 Message Date
Nox Sluijtman 42c1609a29 Revert "Usersettings"
This reverts commit 72abdd1cbc.

Bad bad bad bad
2023-12-26 11:12:58 +01:00
Nox Sluijtman 72abdd1cbc Usersettings 2023-12-26 09:22:55 +01:00
Nox Sluijtman 14c502f901 Who doesn't like optimisation 2023-12-23 01:09:38 +01:00
Nox Sluijtman 4cdb5baf03 might also be useful 2023-12-18 23:27:19 +01:00
Nox Sluijtman 78b50d4aaa Refactor 2023-12-16 20:40:03 +01:00
Nox Sluijtman cba0e7f963 For clarity's sake 2023-12-16 20:13:37 +01:00
Nox Sluijtman 948cb7c4b8 Readme 2023-12-16 20:12:14 +01:00
Nox Sluijtman 93b31d12f0 I don't fucking know anymore... 2023-12-16 20:09:03 +01:00
Nox Sluijtman 55453b7939 This might work... 2023-12-16 19:36:53 +01:00
Nox Sluijtman 84d45eb3d8 Default 2023-12-16 19:29:50 +01:00
6 changed files with 32 additions and 16 deletions

4
README.md Normal file
View file

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

12
default/default.nix Normal file
View file

@ -0,0 +1,12 @@
{...}:{
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,7 +1,10 @@
{ description = "A few settings"; {
description = "A few settings";
outputs = _: { outputs = _: {
nixosModules = { nixosModules = {
voidcruiser = import ./modules; default = import ./default;
smol = import ./smol;
}; };
}; };
} }

View file

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

8
smol/default.nix Normal file
View file

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