init repos

This commit is contained in:
2026-06-19 05:47:33 +02:00
commit d5d15832f5
20 changed files with 534 additions and 0 deletions

4
modules/system/boot.nix Normal file
View File

@@ -0,0 +1,4 @@
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
}

View File

@@ -0,0 +1,8 @@
{
time.timeZone = "Europe/Paris";
services.xserver.xkb = {
layout = "fr";
variant = "azerty";
};
}

View File

@@ -0,0 +1,8 @@
{
networking.networkmanager.enable = true;
services.openssh = {
enable = true;
settings.PasswordAuthentication = true;
};
}

23
modules/system/nfs.nix Normal file
View File

@@ -0,0 +1,23 @@
{
fileSystems."/mnt/nas/commun" = {
device = "192.168.10.50:/mnt/DocNas/Commun";
fsType = "nfs";
options = [
"nfsvers=4"
"x-systemd.automount"
"noauto"
"x-systemd.idle-timeout=600"
];
};
fileSystems."/mnt/nas/benjamin" = {
device = "192.168.10.50:/mnt/DocNas/Benjamin";
fsType = "nfs";
options = [
"nfsvers=4"
"x-systemd.automount"
"noauto"
"x-systemd.idle-timeout=600"
];
};
}

View File

@@ -0,0 +1,12 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
git
vim
htop
tmux
fastfetch
inxi
];
}

13
modules/system/users.nix Normal file
View File

@@ -0,0 +1,13 @@
{
users.users.waha = {
isNormalUser = true;
extraGroups = [ "wheel" ];
initialPassword = "zekzek";
};
users.users.lafrite = {
isNormalUser = true;
extraGroups = [ "networkmanager" "video" "render" "bluetooth" ];
initialPassword = "zekzek";
};
}