Add earlyoom and actually load modules for jimbo
This commit is contained in:
parent
f1f8f68ffc
commit
7a8af01854
|
@ -14,6 +14,7 @@
|
|||
../../modules/opengl.nix
|
||||
../../modules/ssh.nix
|
||||
../../modules/remote-builder.nix
|
||||
../../modules/earlyoom.nix
|
||||
../../users/fleaz.nix
|
||||
../../home-manager/default.nix
|
||||
];
|
||||
|
|
|
@ -12,6 +12,12 @@ in {
|
|||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../home-manager/default.nix
|
||||
../../modules/earlyoom.nix
|
||||
../../modules/opengl.nix
|
||||
../../modules/remote-builder.nix
|
||||
../../modules/sound.nix
|
||||
../../modules/ssh.nix
|
||||
../../users/fleaz.nix
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
|
@ -86,13 +92,6 @@ in {
|
|||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.fleaz = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "wheel" "docker" ]; # Enable ‘sudo’ for the user.
|
||||
};
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
environment.systemPackages = with pkgs; [ vim wget curl git
|
||||
];
|
||||
|
|
3
modules/earlyoom.nix
Normal file
3
modules/earlyoom.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
services.earlyoom.enable = true;
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{ pkgs, ... }: {
|
||||
users.users.fleaz = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
|
|
Loading…
Reference in a new issue