nixos-config/default.nix

30 lines
670 B
Nix
Raw Normal View History

2019-09-11 17:17:56 +04:00
# This is AlukardBF's configuration file.
2019-08-27 23:41:02 +04:00
#
2019-09-11 17:17:56 +04:00
# Thanks for original config - balsoft.
#
# https://github.com/AlukardBF/nixos-config
2019-08-27 23:41:02 +04:00
#
# This is main nixos configuration
# To use this configuration:
# 1. Add your own secret.nix to this folder
# 2. Replace /etc/nixos/configuration.nix with the following:
# import /path/to/this/nixos-config "Vendor-Type"
# 3. Log in to application and services where neccesary
2020-02-05 04:30:49 +04:00
device:
2019-08-27 23:41:02 +04:00
{ config, pkgs, lib, ... }:
2020-02-05 04:30:49 +04:00
let sources = import ./nix/sources.nix;
in {
2019-08-27 23:41:02 +04:00
imports =
[
/etc/nixos/hardware-configuration.nix
2020-02-05 04:30:49 +04:00
"${sources.home-manager}/nixos"
2019-08-27 23:41:02 +04:00
./modules
];
inherit device;
system.stateVersion = "19.03";
}