2023-10-23 17:15:54 +02:00
|
|
|
# This is your system's configuration file.
|
|
|
|
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
outputs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
# You can import other NixOS modules here
|
|
|
|
imports = [
|
2023-10-27 13:58:20 +02:00
|
|
|
# Import home-manager's NixOS module
|
|
|
|
inputs.home-manager.nixosModules.home-manager
|
2023-10-23 17:15:54 +02:00
|
|
|
# If you want to use modules your own flake exports (from modules/nixos):
|
|
|
|
# outputs.nixosModules.example
|
|
|
|
|
|
|
|
# Or modules from other flakes (such as nixos-hardware):
|
|
|
|
# inputs.hardware.nixosModules.common-cpu-amd
|
|
|
|
# inputs.hardware.nixosModules.common-ssd
|
|
|
|
|
|
|
|
# You can also split up your configuration and import pieces of it here:
|
|
|
|
# ./users.nix
|
|
|
|
|
2023-11-13 21:28:22 +01:00
|
|
|
.././shared-desktop/configuration.nix
|
2023-11-13 21:26:22 +01:00
|
|
|
|
2023-10-23 17:15:54 +02:00
|
|
|
# Import your generated (nixos-generate-config) hardware configuration
|
|
|
|
./hardware-configuration.nix
|
|
|
|
];
|
|
|
|
|
2023-10-27 13:58:20 +02:00
|
|
|
home-manager = {
|
2023-10-27 13:59:34 +02:00
|
|
|
extraSpecialArgs = {inherit inputs outputs;};
|
2023-10-27 13:58:20 +02:00
|
|
|
users = {
|
|
|
|
# Import your home-manager configuration
|
2023-10-27 14:02:01 +02:00
|
|
|
lillian = import ../../home-manager/EDI-Lillian.nix;
|
2023-10-27 13:58:20 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-10-23 17:15:54 +02:00
|
|
|
networking.hostName = "EDI";
|
|
|
|
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
2023-10-23 17:32:58 +02:00
|
|
|
system.stateVersion = "unstable";
|
2023-10-23 17:15:54 +02:00
|
|
|
}
|