begin a little funny thing
This commit is contained in:
parent
865ad79a9d
commit
19c9a31c5f
2 changed files with 49 additions and 5 deletions
48
default.nix
Normal file
48
default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ config, pkgs, lib, home-manager, ...}:
|
||||
{
|
||||
imports = [
|
||||
# home manager
|
||||
home-manager.nixosModules.default
|
||||
# modules
|
||||
#i dont think this is right
|
||||
./modules
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes"];
|
||||
|
||||
# grub (mount efi partition to /boot/efi)
|
||||
# why /boot/efi? instead of /efi?
|
||||
# 1. when dualbooting, windows makes the efi partition 100mb instead of 512mb+ (we need this for generations
|
||||
# and intel microcode)
|
||||
# 2. nixos does not like /efi :(
|
||||
# 3. i dont like systemd boot D:
|
||||
# TODO(sako):: add shim secure boot
|
||||
# because window and riot games devs :(
|
||||
boot.loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot/efi";
|
||||
};
|
||||
grub = {
|
||||
devices = [ "nodev" ];
|
||||
efiSupport = true;
|
||||
enable = true;
|
||||
useOSProber = true;
|
||||
};
|
||||
};
|
||||
|
||||
# this shouldnt cause any issues right?
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
time.timeZone = "Africa/Cairo";
|
||||
|
||||
il8n.defaultLocale = "en_US.UTF-8";
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
# keyMap = "us";
|
||||
useXkbConfig = true;
|
||||
};
|
||||
# already sold soul to corporations \_O_/
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
}
|
|
@ -55,14 +55,10 @@
|
|||
useXkbConfig = true; # use xkbOptions in tty.
|
||||
};
|
||||
|
||||
#TODO(sako):: put this in that curly bracket
|
||||
# Enable the X11 windowing system.
|
||||
#services.xserver.enable = true;
|
||||
# enable bspwm
|
||||
#services.xserver.windowManager.bspwm.enable = true;
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
# bspwm
|
||||
windowManager.bspwm.enable = true;
|
||||
layout = "us";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue