modularization
This commit is contained in:
parent
fdcd4dbce9
commit
f1fe0d8549
7 changed files with 39 additions and 62 deletions
25
configuration.nix
Normal file → Executable file
25
configuration.nix
Normal file → Executable file
|
|
@ -11,19 +11,11 @@
|
|||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./node.nix
|
||||
];
|
||||
|
||||
programs.nix-ld.enable = true; # for vscode server
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "riri"; # Define your hostname.
|
||||
|
||||
# Configure bootloader device
|
||||
boot.loader.grub.device = "/dev/mmcblk0p2"; # or "nodev" for EFI only
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Paris";
|
||||
|
||||
|
|
@ -79,8 +71,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
# programs.firefox.enable = true;
|
||||
|
||||
# List packages installed in system profile.
|
||||
# You can use https://search.nixos.org/ to find more packages (and options).
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
@ -93,16 +83,6 @@
|
|||
neofetch
|
||||
];
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
# programs.gnupg.agent = {
|
||||
# enable = true;
|
||||
# enableSSHSupport = true;
|
||||
# };
|
||||
|
||||
# List services that you want to enable:
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
services.openssh.settings.PasswordAuthentication = false;
|
||||
|
|
@ -119,5 +99,4 @@
|
|||
# system.copySystemConfiguration = true;
|
||||
|
||||
system.stateVersion = "25.05"; # Never bloody change this value, got it lads ?
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue