first commit

This commit is contained in:
benstrb 2026-01-03 12:48:28 +01:00
commit 780ddcda1c
37 changed files with 981 additions and 0 deletions

View file

@ -0,0 +1,10 @@
{pkgs, ...}: {
boot = {
kernelPackages = pkgs.linuxPackages_6_6;
loader.grub = {
enable = true;
device = "/dev/disk/by-id/ata-KINGSTON_SKC300S37A60G_50026B7239039148";
};
};
}

View file

@ -0,0 +1,13 @@
{config, ...}: {
services.xserver.videoDrivers = ["nvidia"];
hardware = {
graphics.enable = true;
nvidia = {
modesetting.enable = true;
open = false;
package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
};
};
}

View file

@ -0,0 +1,3 @@
{
services.libinput.enable = true;
}

View file

@ -0,0 +1,6 @@
{
services.xserver.xkb = {
layout = "cz";
options = "caps:escape";
};
}

View file

@ -0,0 +1,19 @@
{
console.keyMap = "cz-lat2";
time.timeZone = "Europe/Prague";
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = "cs_CZ.UTF-8";
LC_IDENTIFICATION = "cs_CZ.UTF-8";
LC_MEASUREMENT = "cs_CZ.UTF-8";
LC_MONETARY = "cs_CZ.UTF-8";
LC_NAME = "cs_CZ.UTF-8";
LC_NUMERIC = "cs_CZ.UTF-8";
LC_PAPER = "cs_CZ.UTF-8";
LC_TELEPHONE = "cs_CZ.UTF-8";
LC_TIME = "cs_CZ.UTF-8";
};
};
}

View file

@ -0,0 +1,8 @@
{pkgs, ...}: {
users.users.benag = {
isNormalUser = true;
extraGroups = ["wheel"];
shell = pkgs.nushell;
};
}

View file

@ -0,0 +1,6 @@
{
networking = {
hostName = "nixos";
networkmanager.enable = true;
};
}

View file

@ -0,0 +1,3 @@
{
services.printing.enable = true;
}

View file

@ -0,0 +1,8 @@
{
programs = {
firefox.enable = true;
steam.enable = true;
bash.blesh.enable = true;
nix-ld.enable = true;
};
}

View file

@ -0,0 +1,3 @@
{
services.displayManager.sddm.enable = true;
}

View file

@ -0,0 +1,13 @@
{
services = {
pipewire = {
enable = true;
pulse.enable = true;
alsa = {
enable = true;
support32Bit = true;
};
};
};
}

View file

@ -0,0 +1,3 @@
{
services.openssh.enable = true;
}

View file

@ -0,0 +1,5 @@
{
services.xserver.windowManager = {
bspwm.enable = true;
};
}

View file

@ -0,0 +1,9 @@
{pkgs, ...}: {
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gtk];
configPackages = with pkgs; [
xdg-desktop-portal-gtk
];
};
}