feat: update flake; feat: use kanagawa

This commit is contained in:
Artur Manuel 2024-11-23 21:03:41 +00:00
commit fc29618f45
4 changed files with 19 additions and 61 deletions

View file

@ -43,9 +43,9 @@
(use-package which-key
:init (which-key-mode 1))
(use-package base16-theme
(use-package kanagawa-themes
:init
(load-theme 'base16-rose-pine t))
(load-theme 'kanagawa-wave t))
(use-package nix-mode
:mode "\\.nix\\'")

View file

@ -32,7 +32,7 @@ in
mood-line
which-key
helm
base16-theme
kanagawa-themes
nix-mode
rust-mode
haskell-mode

60
flake.lock generated
View file

@ -2,18 +2,17 @@
"nodes": {
"emacs": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1724951607,
"narHash": "sha256-cOCOZOilbAtW29FaYZEP/K/Tf8E6VeWGrKJlK+GRe2M=",
"lastModified": 1732381887,
"narHash": "sha256-BN5xYNaROH5yE5KR5ZJfYte/Dl4G2schjkalmQoQq8s=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "33812cad36ad7826d7eb9bd72eb11995be20cff6",
"rev": "61af138b0b7ffc19b1221b5d6d28f164a8c0d919",
"type": "github"
},
"original": {
@ -22,47 +21,29 @@
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1724748588,
"narHash": "sha256-NlpGA4+AIf1dKNq76ps90rxowlFXUsV9x7vK/mN37JM=",
"lastModified": 1732014248,
"narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "a6292e34000dc93d43bccf78338770c1c5ec8a99",
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1724727824,
"narHash": "sha256-0XH9MJk54imJm+RHOLTUJ7e+ponLW00tw5ke4MTVa1Y=",
"lastModified": 1731797254,
"narHash": "sha256-df3dJApLPhd11AlueuoN0Q4fHo/hagP75LlM5K1sz9g=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "36bae45077667aff5720e5b3f1a5458f51cf0776",
"rev": "e8c38b73aeb218e27163376a2d617e61a2ad9b59",
"type": "github"
},
"original": {
@ -79,11 +60,11 @@
]
},
"locked": {
"lastModified": 1722555600,
"narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=",
"lastModified": 1730504689,
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "8471fe90ad337a8074e957b69ca4d0089218391d",
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
"type": "github"
},
"original": {
@ -98,21 +79,6 @@
"nixpkgs": "nixpkgs",
"parts": "parts"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",

View file

@ -1,7 +1,7 @@
{
description = "Pankomacs";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
@ -38,16 +38,8 @@
};
packages = {
pankomacs = mkEmacs (
pkgs.emacs29-pgtk.override {
withSystemd = false;
}
);
pankomacs-x11 = mkEmacs (
pkgs.emacs-gtk.override {
withSystemd = false;
}
);
pankomacs = mkEmacs pkgs.emacs30-pgtk;
pankomacs-x11 = mkEmacs pkgs.emacs30-gtk3;
};
formatter = pkgs.nixfmt-rfc-style;