Desktop updates
This commit is contained in:
parent
df5f3bbaf1
commit
28d295b574
5 changed files with 24 additions and 9 deletions
|
@ -1,8 +1,5 @@
|
|||
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
} @ args: {
|
||||
|
||||
imports = [
|
||||
../base
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
} @ args: {
|
||||
{ pkgs, ... }: {
|
||||
|
||||
# AppImage support
|
||||
boot.binfmt.registrations.appimage = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver.xkb = {
|
||||
|
|
13
desktop/overlays.nix
Normal file
13
desktop/overlays.nix
Normal 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 ];
|
||||
}
|
Loading…
Reference in a new issue