Modularize with numtide/blueprint
This commit is contained in:
parent
d0b1495ede
commit
5335a08eb5
17 changed files with 135 additions and 170 deletions
|
|
@ -1,19 +1,13 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page, on
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
|
||||
{ config, lib, pkgs, inputs, outputs, ... }:
|
||||
|
||||
{ inputs, flake, pkgs, hostName, ... }:
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../common
|
||||
./home.nix
|
||||
# Services
|
||||
./btrbk.nix
|
||||
./syncthing.nix
|
||||
];
|
||||
imports = with flake.nixosModules; [
|
||||
./hardware-configuration.nix
|
||||
base
|
||||
jhemono
|
||||
# Services
|
||||
./btrbk.nix
|
||||
./syncthing.nix
|
||||
];
|
||||
|
||||
# Boot configuration
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
|
@ -21,7 +15,7 @@
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# Networking
|
||||
networking.hostName = "gwiad";
|
||||
networking.hostName = hostName;
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# Set your time zone.
|
||||
|
|
@ -32,6 +26,9 @@
|
|||
keyMap = "fr";
|
||||
};
|
||||
|
||||
users.users.jhemono.uid = 1000;
|
||||
users.groups.jhemono.gid = 1000;
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
# services.printing.enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue