Compare commits
10 commits
48b0e13f11
...
42c1609a29
Author | SHA1 | Date | |
---|---|---|---|
42c1609a29 | |||
72abdd1cbc | |||
14c502f901 | |||
4cdb5baf03 | |||
78b50d4aaa | |||
cba0e7f963 | |||
948cb7c4b8 | |||
93b31d12f0 | |||
55453b7939 | |||
84d45eb3d8 |
6 changed files with 32 additions and 16 deletions
4
README.md
Normal file
4
README.md
Normal 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
12
default/default.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
{...}:{
|
|
||||||
imports = [
|
|
||||||
./audio.nix
|
|
||||||
./font.nix
|
|
||||||
./nix-settings.nix
|
|
||||||
./nvidia.nix
|
|
||||||
./services.nix
|
|
||||||
./vim.nix
|
|
||||||
./xconfig.nix
|
|
||||||
./zsh.nix
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -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
8
smol/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{...}:{
|
||||||
|
imports = [
|
||||||
|
../modules/nix-settings.nix
|
||||||
|
../modules/vim.nix
|
||||||
|
../modules/zsh.nix
|
||||||
|
../modules/audio.nix
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue