ZDTZOENLFUOCZZDR7UYBPVPTOI6OXPG7RVX2LG7WQEUIY72MGMMQC # Enable CUPS to print documents.# services.printing.enable = true;# Enable sound.# sound.enable = true;# hardware.pulseaudio.enable = true;# Enable touchpad support (enabled default in most desktopManager).# services.xserver.libinput.enable = true;# Define a user account. Don't forget to set a password with āpasswdā.
# List packages installed in system profile. To search, run:# $ nix search wgetenvironment.systemPackages = letscaffold_pages = pkgs.writeScriptBin "scaffold_pages" ''#!${pkgs.stdenv.shell}echo Cloning the repositoryā¦git clone https://codeberg.org/rocky_fuchsian_frog/pagesecho Changing directoriesā¦cd pagesecho Initializing flakeā¦nix flake init -t github:nmattia/naerskecho Initializing flake lockā¦nix flake lockecho Staging changesā¦git add .echo Initializing cargoā¦nix develop -c cargo initecho Staging changesā¦git add .echo Initializing cargo lockā¦nix-develop -c cargo generate-lockfileecho Staging changesā¦git add .echo Correct package nameā¦sed 's/hello-world/pages/w flake.nix' flake.nixecho Staging changesā¦git add .echo Buildingā¦nix buildecho Runningā¦nix runecho Your turn! If allās well, you should have seen āHello Worldā written to stdout.'';in[ scaffold_pages ];
# 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;# Open ports in the firewall.# networking.firewall.allowedTCPPorts = [ ... ];# networking.firewall.allowedUDPPorts = [ ... ];# Or disable the firewall altogether.
# This value determines the NixOS release from which the default# settings for stateful data, like file locations and database versions# on your system were taken. Itās perfectly fine and recommended to leave# this value at the release version of the first install of this system.# Before changing this value read the documentation for this option# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).