forked from Frost-Phoenix/nixos-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsystem.nix
39 lines (36 loc) · 941 Bytes
/
system.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
{ self, pkgs, lib, inputs, ...}:
{
# imports = [ inputs.nix-gaming.nixosModules.default ];
nix = {
settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
substituters = [ "https://nix-gaming.cachix.org" ];
trusted-public-keys = [ "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" ];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
nixpkgs = {
overlays = [
self.overlays.default
inputs.nur.overlay
];
};
environment.systemPackages = with pkgs; [
wget
git
blueberry
xwaylandvideobridge
];
time.timeZone = "Europe/London";
i18n.defaultLocale = "en_GB.UTF-8";
nixpkgs.config.allowUnfree = true;
system.stateVersion = "23.05";
# Enable bluetooth
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
}