formating

This commit is contained in:
joygnu 2024-09-14 21:25:34 +02:00
parent 1fa4e183db
commit 68b6c04cc5
7 changed files with 53 additions and 44 deletions

View file

@ -1,10 +1,10 @@
{pkgs,...}: { {pkgs, ...}: {
home-manager.users.joy.programs.vscode = { home-manager.users.joy.programs.vscode = {
enable = true; enable = true;
package = pkgs.vscodium; package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [
ms-dotnettools.csharp ms-dotnettools.csharp
jdinhlife.gruvbox jdinhlife.gruvbox
]; ];
}; };
} }

View file

@ -1,5 +1,5 @@
{ {
pkgs, pkgs,
lib, lib,
... ...
}: { }: {
@ -14,7 +14,6 @@
Z.Q = ":q!"; Z.Q = ":q!";
}; };
}; };
}; };
home-manager.users.joy.home.packages = with pkgs; [ home-manager.users.joy.home.packages = with pkgs; [

View file

@ -1,19 +1,24 @@
{pkgs,lib,...}: { environment.systemPackages = [ {
(let pkgs,
packagesWithSchemas = [ lib,
pkgs.nemo ...
]; }: {
in environment.systemPackages = [
pkgs.runCommand "ngsettings" { (let
nativeBuildInputs = [ packagesWithSchemas = [
pkgs.makeWrapper pkgs.nemo
]; ];
} '' in
mkdir -p "$out/bin" pkgs.runCommand "ngsettings" {
# Creates ngsettings program (wrapped gsettings) nativeBuildInputs = [
makeWrapper "${pkgs.glib.bin}/bin/gsettings" "$out/bin/ngsettings" \ pkgs.makeWrapper
--set XDG_DATA_DIRS "${lib.concatMapStringsSep ":" pkgs.glib.getSchemaDataDirPath packagesWithSchemas}" ];
'') } ''
pkgs.nemo mkdir -p "$out/bin"
# Creates ngsettings program (wrapped gsettings)
makeWrapper "${pkgs.glib.bin}/bin/gsettings" "$out/bin/ngsettings" \
--set XDG_DATA_DIRS "${lib.concatMapStringsSep ":" pkgs.glib.getSchemaDataDirPath packagesWithSchemas}"
'')
pkgs.nemo
]; ];
} }

View file

@ -1,5 +1,9 @@
{pkgs,lib, ...}: { {
environment.systemPackages = with pkgs; [ pkgs,
lib,
...
}: {
environment.systemPackages = with pkgs; [
fastfetch fastfetch
cmatrix cmatrix
cava cava

View file

@ -77,8 +77,8 @@
}; };
device = { device = {
name = [ name = [
"compx-2.4g-wireless-receiver" "compx-2.4g-wireless-receiver"
"at-translated-set-2-keyboard" "at-translated-set-2-keyboard"
]; ];
repeat_rate = "50"; repeat_rate = "50";
}; };

View file

@ -1,5 +1,6 @@
{...}: { home-manager = { {...}: {
backupFileExtension = "bkp"; home-manager = {
backupFileExtension = "bkp";
users.joy = { users.joy = {
programs.home-manager.enable = true; programs.home-manager.enable = true;
xresources.path = ".config/.Xresources"; xresources.path = ".config/.Xresources";

View file

@ -1,16 +1,16 @@
{...}: { {...}: {
home-manager.users.joy.xdg = { home-manager.users.joy.xdg = {
desktopEntries = { desktopEntries = {
hx = { hx = {
name = "Helix"; name = "Helix";
exec = "alacritty -e hx %F"; exec = "alacritty -e hx %F";
icon = "Helix"; icon = "Helix";
terminal = false; terminal = false;
type = "Application"; type = "Application";
categories = ["Utility" "TextEditor"]; categories = ["Utility" "TextEditor"];
mimeType = ["text/plain"]; mimeType = ["text/plain"];
};
}; };
};
mimeApps = { mimeApps = {
enable = true; enable = true;
defaultApplications = { defaultApplications = {