Compare commits

..

No commits in common. "eca2096db58f6ef2bbb2dbe3431851367055ecf7" and "6e03352e5af5c3974def47d03caa64f6b65b92ab" have entirely different histories.

6 changed files with 37 additions and 39 deletions

View File

@ -102,6 +102,7 @@
pkgs.fprintd pkgs.fprintd
wget wget
vim vim
emacs29-pgtk
sg3_utils sg3_utils
nfs-utils nfs-utils
fontconfig fontconfig

View File

@ -29,6 +29,10 @@
url = "github:nix-community/home-manager"; #/release-23.11"; url = "github:nix-community/home-manager"; #/release-23.11";
inputs.nixpkgs.follows = "nixpkgs-unstable"; inputs.nixpkgs.follows = "nixpkgs-unstable";
}; };
emacs-config = {
url = "git+https://git.marq42.xyz/mir/emacs?ref=main";
flake = false;
};
displaylink = { displaylink = {
url = "file+https://marq42.xyz/displaylink-580.zip"; url = "file+https://marq42.xyz/displaylink-580.zip";
flake = false; flake = false;

View File

@ -6,14 +6,15 @@ with lib.hm.gvariant;
./modules/dconf.nix ./modules/dconf.nix
./modules/shell.nix ./modules/shell.nix
./modules/firefox.nix ./modules/firefox.nix
# ./modules/emacs.nix
# ./modules/sway.nix # ./modules/sway.nix
./modules/emacs.nix
]; ];
# Home Manager needs a bit of information about you and the # Home Manager needs a bit of information about you and the
# paths it should manage. # paths it should manage.
home.username = "mir"; home.username = "mir";
home.homeDirectory = "/home/mir"; home.homeDirectory = "/home/mir";
home.packages = [ home.packages = [
pkgs.emacs-all-the-icons-fonts
pkgs.btop pkgs.btop
pkgs.killall pkgs.killall
pkgs.gdb pkgs.gdb
@ -55,7 +56,11 @@ with lib.hm.gvariant;
enable = true; enable = true;
# version = "23.11"; # version = "23.11";
}; };
# environment.variables = rec {
# EDITOR = "emacs -nw";
# };
home.sessionVariables = { home.sessionVariables = {
EDITOR = "emacs";
TERMINAL = "kitty"; TERMINAL = "kitty";
TERM_PROGRAM = "kitty"; TERM_PROGRAM = "kitty";
BROWSER = "firefox"; BROWSER = "firefox";
@ -87,6 +92,11 @@ with lib.hm.gvariant;
# programs.gdb = { # programs.gdb = {
# enable = true; # enable = true;
# }; # };
# home.file.".emacs.d" = {
# source = inputs.emacs-config;
# recursive = true;
# };
programs.gpg = { programs.gpg = {
enable = true; enable = true;

View File

@ -1,33 +1,20 @@
{ lib, config, pkgs, inputs, ... }: { lib, config, pkgs, inputs, ... }:
{ {
# home.packages = [ home.packages = [
# (pkgs.emacsWithPackages { (pkgs.emacsWithPackages {
# package = pkgs.emacs29; package = pkgs.emacs29;
# # config = ~/.emacs.d/init.el; # config = ~/.emacs.d/init.el;
# extraEmacsPackages = epkgs: [ extraEmacsPackages = epkgs: [
# epkgs.dash epkgs.dash
# epkgs.compat epkgs.compat
# epkgs.marginalia epkgs.marginalia
# epkgs.page-break-lines epkgs.page-break-lines
# epkgs.rainbow-mode epkgs.rainbow-mode
# epkgs.powershell epkgs.powershell
# epkgs.diminish epkgs.diminish
# # epkgs.general # epkgs.general
# epkgs.eldoc epkgs.eldoc
# ]; ];
# } }
#)]; )];
programs.emacs = {
enable = true;
package = pkgs.emacs29-pgtk.override {
# inherit (pkgs) imagemagickBig;
withImageMagick = true;
};
# package = (pkgs.emacsWithPackages.override {
# imagemagick = pkgs.imagemagickBig;
# withImagemagick = true;
# };
# }
# );
};
} }

View File

@ -1,8 +0,0 @@
{ config, lib, pkgs, nixos-unstable, inputs, ... }:
{
programs.niri = {
enable = true;
# wrapperFeatures.gtk = true;
};}

View File

@ -6,6 +6,9 @@
# ls = "eza"; # ls = "eza";
# tree = "eza -T"; # tree = "eza -T";
# }; # };
# initExtra = ''
# export EDITOR=emacs\ -nw
# '';
# }; # };
programs.zsh = { programs.zsh = {
enable = true; enable = true;
@ -16,6 +19,7 @@
ip = "ip -c"; ip = "ip -c";
}; };
initExtraFirst = '' initExtraFirst = ''
export EDITOR=emacs\ -nw
[ -n "$EAT_SHELL_INTEGRATION_DIR" ] && \ [ -n "$EAT_SHELL_INTEGRATION_DIR" ] && \
source "$EAT_SHELL_INTEGRATION_DIR/zsh" source "$EAT_SHELL_INTEGRATION_DIR/zsh"
source ~/.p10k.zsh source ~/.p10k.zsh