me like nix
1# Edit this configuration file to define what should be installed on
2# your system. Help is available in the configuration.nix(5) man page
3# and in the NixOS manual (accessible by running ‘nixos-help’).
4
5{ pkgs, ... }:
6
7{
8 imports =
9 [ # Include the results of the hardware scan.
10 ./hardware-configuration.nix
11 ../common/common.nix
12 ];
13
14
15 boot.initrd.luks.devices."luks-ee306bda-c450-4a56-b4fe-537899e38e0d".device = "/dev/disk/by-uuid/ee306bda-c450-4a56-b4fe-537899e38e0d";
16 networking.hostName = "framework16"; # Define your hostname.
17 # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
18
19 # Configure network proxy if necessary
20 # networking.proxy.default = "http://user:password@proxy:port/";
21 # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
22
23
24 # Enable touchpad support (enabled default in most desktopManager).
25 # services.xserver.libinput.enable = true;
26
27 # List packages installed in system profile. To search, run:
28 # $ nix search wget
29 environment.systemPackages = with pkgs; [
30 # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
31 # wget
32 ];
33
34 # Some programs need SUID wrappers, can be configured further or are
35 # started in user sessions.
36 # programs.mtr.enable = true;
37 # programs.gnupg.agent = {
38 # enable = true;
39 # enableSSHSupport = true;
40 # };
41
42 # List services that you want to enable:
43
44 # Enable the OpenSSH daemon.
45 # services.openssh.enable = true;
46
47 # Open ports in the firewall.
48 networking.firewall.allowedTCPPorts = [
49 3000
50 ];
51 networking.firewall.allowedUDPPorts = [
52 3000
53 ];
54 # Or disable the firewall altogether.
55 # networking.firewall.enable = false;
56
57 # This value determines the NixOS release from which the default
58 # settings for stateful data, like file locations and database versions
59 # on your system were taken. It‘s perfectly fine and recommended to leave
60 # this value at the release version of the first install of this system.
61 # Before changing this value read the documentation for this option
62 # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
63 system.stateVersion = "25.05"; # Did you read the comment?
64
65}