2020-02-17 17:00:59 +04:00
|
|
|
# This is balsoft's configuration file.
|
|
|
|
#
|
|
|
|
# https://github.com/balsoft/nixos-config
|
|
|
|
#
|
|
|
|
# This is main nixos configuration
|
|
|
|
# To use this configuration:
|
2020-04-21 02:30:04 +04:00
|
|
|
# 1. Add your own secret.nix and hardware-configuration/`hostname`.nix to this folder
|
|
|
|
# 2. Set the hostname to the desired one
|
|
|
|
# 3. ./install or ./bootstrap
|
|
|
|
# 4. Log in to application and services where neccesary
|
2020-02-17 17:00:59 +04:00
|
|
|
|
2020-04-27 05:39:00 +04:00
|
|
|
{ config, pkgs, lib, inputs, name, ... }:
|
|
|
|
rec {
|
2020-02-17 17:00:59 +04:00
|
|
|
imports = [
|
2020-04-27 05:39:00 +04:00
|
|
|
(./hardware-configuration + "/${name}.nix")
|
|
|
|
inputs.home-manager.nixosModules.home-manager
|
2020-02-17 17:00:59 +04:00
|
|
|
(import ./modules device)
|
|
|
|
];
|
|
|
|
|
2020-04-27 05:39:00 +04:00
|
|
|
device = name;
|
2020-02-17 17:00:59 +04:00
|
|
|
|
|
|
|
system.stateVersion = "18.03";
|
|
|
|
}
|