diff --git a/nixos/ares/configuration.nix b/nixos/ares/configuration.nix index 0e06386..b16150e 100644 --- a/nixos/ares/configuration.nix +++ b/nixos/ares/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). -{ config, lib, pkgs, ... }: +{ config, pkgs, ... }: { imports = @@ -14,6 +14,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + networking.hostName = "ares"; # networking.hostName = "nixos"; # Define your hostname. # Pick only one of the below networking options. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. @@ -49,7 +50,8 @@ # Enable the X11 windowing system. # services.xserver.enable = true; - + # Configure console keymap + console.keyMap = "no"; # Configure keymap in X11 @@ -83,8 +85,20 @@ ]; }; + environment.systemPackages = with pkgs; [ + btop + vim + tailscale + python3 + ]; + nixpkgs.config.allowUnfree = true; + + nix.settings.experimental-features = [ "nix-command" "flakes" ]; # programs.firefox.enable = true; + services.tailscale.enable = true; + # Enable the OpenSSH daemon. + services.openssh.settings.PermitRootLogin = "no"; # List packages installed in system profile. To search, run: # $ nix search wget # environment.systemPackages = with pkgs; [ diff --git a/nixos/ares/flake.lock b/nixos/ares/flake.lock new file mode 100644 index 0000000..15639ce --- /dev/null +++ b/nixos/ares/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1747209494, + "narHash": "sha256-fLise+ys+bpyjuUUkbwqo5W/UyIELvRz9lPBPoB0fbM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "5d736263df906c5da72ab0f372427814de2f52f8", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +}