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 # Enable brightness control for video group
28 hardware.brightnessctl.enable = true;
29
30 # List packages installed in system profile. To search, run:
31 # $ nix search wget
32 environment.systemPackages = with pkgs; [
33 brightnessctl
34 ];
35
36 # Some programs need SUID wrappers, can be configured further or are
37 # started in user sessions.
38 # programs.mtr.enable = true;
39 # programs.gnupg.agent = {
40 # enable = true;
41 # enableSSHSupport = true;
42 # };
43
44 # List services that you want to enable:
45
46 # Enable the OpenSSH daemon.
47 # services.openssh.enable = true;
48
49 # Open ports in the firewall.
50 networking.firewall.allowedTCPPorts = [
51 3000
52 ];
53 networking.firewall.allowedUDPPorts = [
54 3000
55 ];
56 # Or disable the firewall altogether.
57 # networking.firewall.enable = false;
58
59 # This value determines the NixOS release from which the default
60 # settings for stateful data, like file locations and database versions
61 # on your system were taken. It‘s perfectly fine and recommended to leave
62 # this value at the release version of the first install of this system.
63 # Before changing this value read the documentation for this option
64 # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
65 system.stateVersion = "25.05"; # Did you read the comment?
66
67}