formating

This commit is contained in:
joy 2024-09-14 21:25:34 +02:00
parent 38c064ae3a
commit 36d91dd327
7 changed files with 53 additions and 44 deletions

View file

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

View file

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

View file

@ -1,19 +1,24 @@
{pkgs,lib,...}: { environment.systemPackages = [
(let
packagesWithSchemas = [
pkgs.nemo
];
in
pkgs.runCommand "ngsettings" {
nativeBuildInputs = [
pkgs.makeWrapper
];
} ''
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
{
pkgs,
lib,
...
}: {
environment.systemPackages = [
(let
packagesWithSchemas = [
pkgs.nemo
];
in
pkgs.runCommand "ngsettings" {
nativeBuildInputs = [
pkgs.makeWrapper
];
} ''
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
cmatrix
cava

View file

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

View file

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

View file

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