-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.nix
72 lines (59 loc) · 2.49 KB
/
config.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Simple user configuration example.
rec {
# this is where the configuration of the system will begin at
# crazy is the default one and serves as an example on how to use all
# the configs listed in this file.
mainModule = ./crazy;
# the target system to build.
# NOTE: Not sure if this will all work in others though.
system = "x86_64-linux";
# defines some important data consumed mostly by the flake & the mainModule config
# in the flake we use the hostname so it's required, but timezone is used by ./crazy
hostname = "crazy";
timeZone = "America/Caracas";
modules = {
# hardware settings for the vm! see devShells.${system}.default at flake.nix
vm.settings = {
graphics = false;
memorySize = 8048;
cores = 2;
};
# this is required since it's being used by the flake itself, allows the user (you) to
# enable/disable home-manager support, if enabled, the flake will look for ./${mainModule}/home-manager.nix
# to load a functional home manager configuration which is the one that consumes the userConfig one
homeManager = {
enable = true;
userConfig = ./users/Alpha;
# wether or not i should enable gtk configurations
# disable if per example you're gonna use gnome as main
# desktop environment
gtk.enable = true;
aetherShell = {
enable = true;
# these are the colors to be used in aether shell, by default
# it takes the ones at `flakeConfig.colorscheme` but you can override
# them all here, first arg is `flakeConfig.colorscheme`
colors = colors: colors;
};
};
};
# select a colorscheme definition from `./colorschemes/*.nix`.
metacolorscheme = import ./colorschemes/light-decay.nix;
# exports the palette attribute of metacolorscheme to be able to call
# the colors from the themeable applications, even the awm one.
colorscheme = metacolorscheme.palette;
# this is used across all the flake content, defines metadata for the user, such as the name and
# the initial password.
user = {
name = "Alpha";
# the securest password in the world fr
initialPassword = "alpha123.";
# here you can install packages only for the main user, these packages aren't being managed by
# home manager but by nixos directly... see `user.packages.generator` to specify them.
packages = {
enable = false;
# this is where you can specify unmanaged packages for your user
# generator = pkgs; with pkgs; [ firefox ];
};
};
}