2020-11-05 21:28:23 +01:00
|
|
|
|
# Edit this configuration file to define what should be installed on
|
|
|
|
|
|
# your system. Help is available in the configuration.nix(5) man page
|
|
|
|
|
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
|
|
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
{
|
|
|
|
|
|
imports = [ # Include the results of the hardware scan.
|
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
|
<niveum/configs/default.nix>
|
2021-02-28 08:01:51 +01:00
|
|
|
|
<niveum/configs/battery.nix>
|
2020-11-05 21:28:23 +01:00
|
|
|
|
{
|
2021-02-28 08:01:51 +01:00
|
|
|
|
programs.steam.enable = true;
|
|
|
|
|
|
nixpkgs.config.steam.java = true;
|
2020-11-05 21:28:23 +01:00
|
|
|
|
}
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
niveum = {
|
|
|
|
|
|
batteryName = "BAT0";
|
|
|
|
|
|
wirelessInterface = "wlp3s0";
|
|
|
|
|
|
promptColours.success = "cyan";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
networking.useDHCP = false;
|
|
|
|
|
|
networking.interfaces = {
|
|
|
|
|
|
enp0s25.useDHCP = true;
|
|
|
|
|
|
wlp3s0.useDHCP = true;
|
|
|
|
|
|
wwp0s20u4i6.useDHCP = true;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
|
git vim
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
networking.retiolum = {
|
|
|
|
|
|
ipv4 = "10.243.2.85";
|
|
|
|
|
|
ipv6 = "42:0:3c46:ac99:ae36:cb8:c551:ba27";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
networking.hostName = "manakish";
|
|
|
|
|
|
|
|
|
|
|
|
system.stateVersion = "20.09"; # Did you read the comment?
|
|
|
|
|
|
}
|