init
crispy-caesus crispy@crispy-caesus.eu
Sat, 04 Apr 2026 16:58:58 +0200
4 files changed,
147 insertions(+),
0 deletions(-)
A
configuration.nix
@@ -0,0 +1,67 @@
+{ config, lib, pkgs, ... }: + +{ + imports = + [ + ./hardware-configuration.nix + ]; + + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + + boot.kernelPackages = pkgs.linuxPackages_latest; + + networking.hostName = "RFC-7168"; + + networking.networkmanager.enable = true; + + time.timeZone = "Europe/Berlin"; + + services.pipewire = { + enable = true; + pulse.enable = true; + }; + + # Enable touchpad support (enabled default in most desktopManager). + services.libinput.enable = true; + + # Define a user account. Don't forget to set a password with ‘passwd’. + users.users.crispy = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + packages = with pkgs; [ + tree + ]; + }; + + programs.firefox.enable = true; + + environment.systemPackages = with pkgs; [ + vim + curl + microfetch + gdu + ]; + + programs.gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; + programs.git = { + enable = true; + config = { + user = { + email = "crispy@crispy-caesus.eu"; + name = "crispy-caesus"; + }; + }; + }; + + services.openssh.enable = true; + + networking.firewall.allowedTCPPorts = [ 22 ]; + + system.stateVersion = "25.11"; + +} +
A
flake.lock
@@ -0,0 +1,27 @@
+{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1775002709, + "narHash": "sha256-d3Yx83vSrN+2z/loBh4mJpyRqr9aAJqlke4TkpFmRJA=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "bcd464ccd2a1a7cd09aa2f8d4ffba83b761b1d0e", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-25.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +}
A
flake.nix
@@ -0,0 +1,20 @@
+{ + + description = "This might just be the crispiest flake out there"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11"; + }; + + outputs = inputs: { + + nixosConfigurations.RFC-7168 = inputs.nixpkgs.lib.nixosSystem { + modules = [ + { nix.settings.experimental-features = ["nix-command" "flakes"]; } + ./configuration.nix + ]; + }; + + }; + +}
A
hardware-configuration.nix
@@ -0,0 +1,33 @@
+# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/d1c00901-06c2-415a-bf8e-d943b7416589"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/DB75-234C"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/2ebc1079-4dfa-4fb9-9afb-7a41e00e18e3"; } + ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +}