-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from redyf/dev
feat: Add testing system
- Loading branch information
Showing
1 changed file
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ lib | ||
, config | ||
, pkgs | ||
, inputs | ||
, ... | ||
}: with lib; | ||
with lib.custom; | ||
{ | ||
imports = [ | ||
# Include the results of the hardware scan. | ||
./hardware-configuration.nix | ||
]; | ||
|
||
suites = { | ||
common = enabled; | ||
desktop = enabled; | ||
development = enabled; | ||
music = enabled; | ||
video = disabled; | ||
social = disabled; | ||
gaming = disabled; | ||
rice = enabled; | ||
}; | ||
|
||
programs.hyprland = { | ||
enable = true; | ||
}; | ||
|
||
# Change systemd stop job timeout in NixOS configuration (Default = 90s) | ||
systemd = { | ||
services.NetworkManager-wait-online.enable = false; | ||
extraConfig = '' | ||
DefaultTimeoutStopSec=10s | ||
''; | ||
}; | ||
|
||
# Configure keymap in X11 | ||
services = { | ||
# Enable CUPS to print documents. | ||
# printing.enable = true; | ||
xserver = { | ||
# Enable the X11 windowing system. | ||
enable = true; | ||
libinput = { | ||
enable = true; | ||
mouse = { | ||
accelProfile = "flat"; | ||
}; | ||
touchpad = { | ||
accelProfile = "flat"; | ||
}; | ||
}; | ||
}; | ||
logmein-hamachi.enable = false; | ||
flatpak.enable = false; | ||
}; | ||
|
||
environment.systemPackages = with pkgs; [ | ||
git | ||
playerctl | ||
deploy-rs | ||
]; | ||
|
||
system.stateVersion = "22.11"; # Did you read the comment? | ||
} |