- Formatted everything using Alejandra

- Added 'ncli format' as a quick command to format everything
This commit is contained in:
2026-03-11 16:03:16 +01:00
parent 25ecab4a70
commit c6862c78db
36 changed files with 987 additions and 839 deletions

View File

@ -3,17 +3,21 @@
#nmcli device wifi connect <ssid> password <password>
# or if no password (open wifi)
#nmcli device wifi connect <ssid>
{ config, pkgs, lib, username, version, ... }:
{
imports =
[
./hardware-configuration.nix
./zsh.nix
#./ncli.nix
#./neovim.nix
./packages.nix
];
config,
pkgs,
lib,
username,
version,
...
}: {
imports = [
./hardware-configuration.nix
./zsh.nix
#./ncli.nix
#./neovim.nix
./packages.nix
];
#networking.hostName = "nixos";
# Define your hostname.
@ -38,7 +42,7 @@
LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
services = {
# Enable the OpenSSH daemon.
openssh.enable = true;
@ -51,7 +55,7 @@
users.users.cookiez = {
isNormalUser = true;
description = "Cookiez";
extraGroups = [ "networkmanager" "wheel" "docker" ];
extraGroups = ["networkmanager" "wheel" "docker"];
packages = with pkgs; [
#User Packages Here
];
@ -60,21 +64,21 @@
virtualisation.docker.enable = true;
#So no user in the group Wheel has to input the password in order to use sudo
security.sudo.wheelNeedsPassword = false;
security.sudo.wheelNeedsPassword = false;
#Allow Nix Commands
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.experimental-features = ["nix-command" "flakes"];
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
environment.variables = {
EDITOR = "nvim";
# XKB_DEFAULT_LAYOUT = "de";
EDITOR = "nvim";
# XKB_DEFAULT_LAYOUT = "de";
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1"; #For chromium to work under wayland and with virtual Keyboards (Only really needed for virtual keyboards, but doest hurt ...)
NIXOS_OZONE_WL = "1"; #For chromium to work under wayland and with virtual Keyboards (Only really needed for virtual keyboards, but doest hurt ...)
TERMINAL = "kitty";
};