Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ereslibre committed Jul 18, 2024
1 parent 4926b50 commit 8ea5989
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 9 deletions.
28 changes: 22 additions & 6 deletions devbox/configuration.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{pkgs, ...}: {
{
pkgs,
lib,
...
}: {
imports = [
../common/aliases
../common/nixos
Expand All @@ -18,6 +22,7 @@
environment.variables = {
TERMINAL = "terminator";
GDK_DPI_SCALE = "0.75";
GDK_SCALE = "1";
};

fonts = {
Expand All @@ -35,17 +40,21 @@
packages = with pkgs; [
dejavu_fonts
fira-code
iosevka
ubuntu_font_family
];
};

home-manager.users.ereslibre = {
home-manager.users.ereslibre = let
emacs-graphical-wrapper = let
emacs = pkgs.writeScriptBin "emacs-x" ''
${pkgs.emacs}/bin/emacs --no-wait --xrm "Xft.dpi: 150"
'';
in "${emacs}/bin/emacs-x";
in {
home = {
file = {
".ssh/id_rsa" = {
source = /Users/ereslibre/.ssh/id_rsa;
recursive = true;
};
".ssh/id_rsa".source = /Users/ereslibre/.ssh/id_rsa;
};
pointerCursor = {
name = "Vanilla-DMZ";
Expand All @@ -54,8 +63,12 @@
gtk.enable = true;
size = 64;
};
shellAliases = {
emacs-x = emacs-graphical-wrapper;
};
};
programs = {
alacritty.settings.font.size = lib.mkForce 7;
firefox.enable = true;
terminator = {
enable = true;
Expand Down Expand Up @@ -91,6 +104,7 @@
};
};
};
zsh.shellAliases.emacs = lib.mkForce emacs-graphical-wrapper;
};
gtk.enable = true;
xsession.enable = true;
Expand Down Expand Up @@ -334,6 +348,8 @@
# Scroll speed
exec --no-startup-id xset 26/10 4
exec --no-startup-id ${pkgs.feh}/bin/feh --bg-scale ${./wallpapers/nix-wallpaper-dracula.png}
'';
};
displayManager.lightdm.enable = true;
Expand Down
Binary file added devbox/wallpapers/nix-wallpaper-dracula.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8ea5989

Please sign in to comment.