Switch to emacs 30

This commit is contained in:
Curt Spark 2024-12-17 23:57:39 +00:00
parent 56a075687a
commit 1b27dde7e8
4 changed files with 97 additions and 13 deletions

View File

@ -1,5 +1,24 @@
{ {
"nodes": { "nodes": {
"emacs-overlay": {
"inputs": {
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1734456142,
"narHash": "sha256-mSGDni1iJzHgNS04eiFM8u3d8IB8ziyNuf1A/YU+eWE=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "7932d8e1fa38eb94ab264469e915c5f04393f7a1",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "emacs-overlay",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
@ -55,7 +74,7 @@
}, },
"musnix": { "musnix": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1733444216, "lastModified": 1733444216,
@ -78,7 +97,7 @@
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable_2",
"xwayland-satellite-stable": "xwayland-satellite-stable", "xwayland-satellite-stable": "xwayland-satellite-stable",
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
@ -133,7 +152,7 @@
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"flake-root": "flake-root", "flake-root": "flake-root",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_3",
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
@ -152,11 +171,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1732837521, "lastModified": 1734119587,
"narHash": "sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE=", "narHash": "sha256-AKU6qqskl0yf2+JdRdD0cfxX4b9x3KKV5RqA6wijmPM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "970e93b9f82e2a0f3675757eb0bfc73297cc6370", "rev": "3566ab7246670a43abd2ffa913cc62dad9cdf7d5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -185,6 +204,22 @@
} }
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": {
"lastModified": 1734323986,
"narHash": "sha256-m/lh6hYMIWDYHCAsn81CDAiXoT3gmxXI9J987W5tZrE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "394571358ce82dff7411395829aa6a3aad45b907",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1733730953, "lastModified": 1733730953,
"narHash": "sha256-dlK7n82FEyZlHH7BFHQAM5tua+lQO1Iv7aAtglc1O5s=", "narHash": "sha256-dlK7n82FEyZlHH7BFHQAM5tua+lQO1Iv7aAtglc1O5s=",
@ -200,7 +235,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_3": {
"locked": { "locked": {
"lastModified": 1733842502, "lastModified": 1733842502,
"narHash": "sha256-XbMLD1CxUx/nqoxKkz+jT35oU3vjryFjoHagsJZB/3U=", "narHash": "sha256-XbMLD1CxUx/nqoxKkz+jT35oU3vjryFjoHagsJZB/3U=",
@ -217,6 +252,22 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1732837521,
"narHash": "sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "970e93b9f82e2a0f3675757eb0bfc73297cc6370",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1732617236, "lastModified": 1732617236,
"narHash": "sha256-PYkz6U0bSEaEB1al7O1XsqVNeSNS+s3NVclJw7YC43w=", "narHash": "sha256-PYkz6U0bSEaEB1al7O1XsqVNeSNS+s3NVclJw7YC43w=",
@ -232,7 +283,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1733759999, "lastModified": 1733759999,
"narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=", "narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=",
@ -250,12 +301,13 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"emacs-overlay": "emacs-overlay",
"home-manager": "home-manager", "home-manager": "home-manager",
"musnix": "musnix", "musnix": "musnix",
"niri": "niri", "niri": "niri",
"nixd": "nixd", "nixd": "nixd",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_4",
"nixpkgs-stable": "nixpkgs-stable_2" "nixpkgs-stable": "nixpkgs-stable_3"
} }
}, },
"treefmt-nix": { "treefmt-nix": {

View File

@ -23,6 +23,10 @@
url = "github:musnix/musnix"; url = "github:musnix/musnix";
}; };
#emacs-overlay = {
# url = "github:nix-community/emacs-overlay";
#};
#xwayland-satellite-flake = { #xwayland-satellite-flake = {
# url = "github:cspark-development/xwayland-satellite-flake"; # url = "github:cspark-development/xwayland-satellite-flake";
#}; #};

View File

@ -83,7 +83,19 @@
zoxide # A fast cd command that learns your habits zoxide # A fast cd command that learns your habits
tealdeer # A very fast implementation of tldr in Rust tealdeer # A very fast implementation of tldr in Rust
sc-im sc-im
emacs-gtk
# emacs-gtk
#((inputs.emacs-overlay.packages.x86_64-linux.emacs-unstable-pgtk.overrideAttrs (oldAttrs: {
# buildInputs = oldAttrs.buildInputs ++ [ pkgs.webkitgtk ];
#})).override {
# withXwidgets = true;
#})
#(emacs30-pgtk.overrideAttrs (oldAttrs: {
# nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ pkgs.webkitgtk_4_0 ];
# buildInputs = oldAttrs.buildInputs ++ [ pkgs.webkitgtk_4_0 ];
#}))
emacs30-gtk3
fastfetch fastfetch
appimage-run appimage-run
imagemagick imagemagick

View File

@ -20,7 +20,13 @@ in
desktopManager.xterm.enable = false; desktopManager.xterm.enable = false;
excludePackages = with pkgs; [ xterm ]; excludePackages = with pkgs; [ xterm ];
windowManager.exwm.enable = true; # windowManager.exwm.enable = true;
windowManager.session = lib.lists.singleton {
name = "exwm";
start = ''
emacs
'';
};
displayManager.startx.enable = true; displayManager.startx.enable = true;
}; };
@ -36,12 +42,22 @@ in
pinentry-qt pinentry-qt
gtk3 # Includes gtk-launch which is used by counsel-linux-app inside emacs gtk3 # Includes gtk-launch which is used by counsel-linux-app inside emacs
emacs-gtk
# emacs-gtk
#((inputs.emacs-overlay.packages.x86_64-linux.emacs-unstable-pgtk.overrideAttrs (oldAttrs: {
# buildInputs = oldAttrs.buildInputs ++ [ pkgs.webkitgtk ];
#})).override {
# withXwidgets = true;
#})
# inputs.emacs-overlay.packages.x86_64-linux.emacs-unstable-pgtk
emacs30-gtk3
light # GNU/Linux application to control backlights light # GNU/Linux application to control backlights
udiskie # Automounting drives udiskie # Automounting drives
dunst # Notification daemon dunst # Notification daemon
alacritty # External terminal just in case
scrot # Screenshot tool scrot # Screenshot tool
lxqt.pcmanfm-qt # File Manager lxqt.pcmanfm-qt # File Manager
lxqt.lxqt-archiver # Archiver lxqt.lxqt-archiver # Archiver