30 lines
670 B
Nix
30 lines
670 B
Nix
# This is AlukardBF's configuration file.
|
|
#
|
|
# Thanks for original config - balsoft.
|
|
#
|
|
# https://github.com/AlukardBF/nixos-config
|
|
#
|
|
# 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
|
|
|
|
|
|
device:
|
|
{ config, pkgs, lib, ... }:
|
|
let sources = import ./nix/sources.nix;
|
|
in {
|
|
imports =
|
|
[
|
|
/etc/nixos/hardware-configuration.nix
|
|
"${sources.home-manager}/nixos"
|
|
./modules
|
|
];
|
|
|
|
inherit device;
|
|
|
|
system.stateVersion = "19.03";
|
|
}
|