moving toward a multi-machine configuration !

This commit is contained in:
boyreau 2026-08-01 20:29:56 +02:00
commit 4cef631a8c
18 changed files with 250 additions and 181 deletions

View file

@ -0,0 +1,31 @@
{
config,
pkgs ? import <nixpkgs>, # Do not use jail.nix packages
...
}:
{
imports = [
/etc/nixos/security.nix
/etc/nixos/nix.nix
./users.nix
];
services.desktopManager.gnome.enable = true;
services.gnome = {
core-apps.enable = true;
core-shell.enable = true;
gnome-software.enable = true;
};
nix.nixPath = [
"nixos-config=/etc/nixos/machines/memere/default.nix"
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
"/nix/var/nix/profiles/per-user/root/channels"
];
networking.hostName = "pepere";
networking.networkmanager.enable = true;
i18n.defaultLocale = "fr_FR.UTF-8";
}