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