summaryrefslogtreecommitdiff
path: root/nixos/configuration.nix
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2026-06-07 00:15:20 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2026-06-07 00:15:20 +0200
commitc36e55e90f9bdcf2c080a874b947632fb3d56202 (patch)
treed4ec4804a3312ea6e9d9666d6c3b554a86888b45 /nixos/configuration.nix
parentcc84916ba8c8f9b2e7b176ae3bd00aabac5137a1 (diff)
add nixos dotfiles
Diffstat (limited to 'nixos/configuration.nix')
-rw-r--r--nixos/configuration.nix63
1 files changed, 63 insertions, 0 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
new file mode 100644
index 0000000..59891cd
--- /dev/null
+++ b/nixos/configuration.nix
@@ -0,0 +1,63 @@
+{ inputs, 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 = "calamity";
+ networking.networkmanager.enable = true;
+
+ time.timeZone = "Europe/Paris";
+
+ i18n.defaultLocale = "fr_FR.UTF-8";
+
+ console = {
+ font = "Lat2-Terminus16";
+ keyMap = "fr";
+ };
+
+ services.pipewire = {
+ enable = true;
+ pulse.enable = true;
+ };
+
+ services.libinput.enable = true;
+
+ #services.getty.autologinUser = "nantha";
+
+ programs.hyprland = {
+ enable = true;
+ xwayland.enable = true;
+ };
+
+ users.users.nantha = {
+ isNormalUser = true;
+ extraGroups = [ "wheel" ];
+ packages = with pkgs; [];
+ };
+
+ environment.systemPackages = with pkgs; [
+ brightnessctl
+ sof-firmware
+ alsa-firmware
+ linux-firmware
+ ];
+
+ services.openssh.enable = true;
+
+ networking.firewall.allowedTCPPorts = [ ];
+ networking.firewall.allowedUDPPorts = [ ];
+ networking.firewall.enable = true;
+
+ nix.settings.experimental-features = [ "nix-command" "flakes" ];
+
+ system.stateVersion = "26.05";
+}
+