add arabic

This commit is contained in:
Sakooooo 2023-08-08 10:21:47 +03:00
parent 41cf780173
commit 27f8f252ac
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -1,12 +1,19 @@
{ config, inputs, outputs, pkgs, lib, home-manager, ...}:
{
config,
inputs,
outputs,
pkgs,
lib,
home-manager,
...
}: {
imports = [
# home manager
inputs.home-manager.nixosModules.default
# modules
# import for each folder
# modules/desktop IMPORT
# modules/desktop/example DO NOT IMPORT,
# modules/desktop/example DO NOT IMPORT,
# add entry to module's default.nix
outputs.nixosModules.desktop
outputs.nixosModules.shell
@ -14,18 +21,18 @@
outputs.nixosModules.dev
outputs.nixosModules.media
];
# flakes
nix.settings.experimental-features = [ "nix-command" "flakes"];
nix.settings.experimental-features = ["nix-command" "flakes"];
# import the overlays
nixpkgs = {
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.unstable-packages
];
};
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.unstable-packages
];
};
# grub (mount efi partition to /boot/efi)
# why /boot/efi? instead of /efi?
@ -33,7 +40,7 @@
# and intel microcode)
# 2. nixos does not like /efi :(
# 3. i dont like systemd boot D:
# TODO(sako):: add shim secure boot
# TODO(sako):: add shim secure boot
# because window and riot games devs :(
boot.loader = {
efi = {
@ -41,7 +48,7 @@
efiSysMountPoint = "/boot/efi";
};
grub = {
devices = [ "nodev" ];
devices = ["nodev"];
efiSupport = true;
enable = true;
useOSProber = true;
@ -58,30 +65,30 @@
console = {
font = "Lat2-Terminus16";
# keyMap = "us";
# use xorg layout option
# use xorg layout option
# TODO(sako):: add arabic locale
useXkbConfig = true;
};
# xorg layout
# change to needed
services.xserver.layout = "us";
services.xserver.layout = "us,ar";
# already sold soul to corporations \_o_/
nixpkgs.config.allowUnfree = true;
home-manager.useUserPackages = true;
home-manager.users.sako = { pkgs, ...}: {
# CHANGE THIS WHEN THE SYSTEM VERSION CHANGES TOO!!!
home.stateVersion = "23.05";
home.packages = [];
home.username = "sako";
home.homeDirectory = "/home/sako";
programs.bash.enable = true;
programs.home-manager.enable = true;
xdg.configFile.git = {
source = ./config/git;
};
home-manager.users.sako = {pkgs, ...}: {
# CHANGE THIS WHEN THE SYSTEM VERSION CHANGES TOO!!!
home.stateVersion = "23.05";
home.packages = [];
home.username = "sako";
home.homeDirectory = "/home/sako";
programs.bash.enable = true;
programs.home-manager.enable = true;
xdg.configFile.git = {
source = ./config/git;
};
};
# bare minimum
environment.systemPackages = with pkgs; [
@ -96,9 +103,9 @@
gh # github
htop # htop
tree # trees
];
];
# you phisiclally cannot live without this
# litearlly! ! ! ! ! !
# litearlly! ! ! ! ! !
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "gtk2";
@ -106,11 +113,10 @@
};
programs.git = {
enable = true;
package = pkgs.gitFull;
enable = true;
package = pkgs.gitFull;
};
# something nixos release
# something use ful in for mat ion
# blah blah blah
@ -118,6 +124,6 @@
# change this on every update idiot
# dont name it to string beans or some shit
# you idiot
system.stateVersion = "23.05";
system.stateVersion = "23.05";
# read comment you read the comment?
}