Desktop updates

This commit is contained in:
John Locke 2024-03-22 16:26:52 -07:00
parent df5f3bbaf1
commit 28d295b574
5 changed files with 24 additions and 9 deletions

View file

@ -1,8 +1,5 @@
{
pkgs,
...
} @ args: {
imports = [
../base

View file

@ -1,4 +1,10 @@
{pkgs, ...}: {
{config, pkgs, lib, ...}:
{
nixpkgs.config = {
packageOverrides = pkgs: {
inherit mergedPkgs;
};
};
environment.systemPackages = with pkgs; [
ddev
@ -9,6 +15,8 @@
vscode
];
# increase inotify limits - https://intellij-support.jetbrains.com/hc/en-us/articles/15268113529362-Inotify-Watches-Limit-Linux
boot.kernel.sysctl = { "fs.inotify.max_user_watches" = 1048576; };
# DDev setup
# Install & enable docker.

View file

@ -1,7 +1,4 @@
{
pkgs,
...
} @ args: {
{ pkgs, ... }: {
# AppImage support
boot.binfmt.registrations.appimage = {

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{
# Configure keymap in X11
services.xserver.xkb = {

13
desktop/overlays.nix Normal file
View file

@ -0,0 +1,13 @@
# overlays.nix
{ self, nixpkgs, myNixpkgs }:
let
myOverlay = final: prev: {
# Replace 'examplePackage' with the package you want to override
jetbrains.phpstorm = myNixpkgs.jetbrains.phpstorm;
};
in
{
overlays = [ myOverlay ];
}