Compare commits

..

4 Commits

Author SHA1 Message Date
1d2bbf3598 Add linux home 2023-10-18 23:57:01 +02:00
7a074ac055 Refactor home configuration 2023-10-18 23:56:44 +02:00
5e8ef3c462 hls → haskell-language-server-wrapper 2023-10-18 11:25:13 +02:00
98e863070f hyfetch 2023-10-13 17:21:11 +02:00
3 changed files with 38 additions and 13 deletions

View File

@ -29,28 +29,42 @@
outputs = { self, nixpkgs, home-manager, kak, unispect, ansi-utils, unambig-path }:
let
system = "aarch64-darwin";
pkgs = import nixpkgs { system = system; config.allowUnfree = true; };
xdg-runtime-dir = "/tmp/xdg-rt";
home = import ./home.nix {
mkPkgs = system: import nixpkgs { system = system; config.allowUnfree = true; };
mkHome = {system, pkgs} : import ./home.nix {
kak-pkg = kak.packages.${system}.kak;
unispect = unispect.packages.${system}.unispect;
ansi-utils = ansi-utils.packages.${system};
unambig-path = unambig-path.packages.${system}.unambig-path;
inherit pkgs xdg-runtime-dir;
};
in {
homeConfigurations."xenia" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
homeConfigurations."xenia" =
let
system = "aarch64-darwin";
pkgs = mkPkgs system;
home = mkHome { inherit system pkgs; };
in home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
home
( import ./mac.nix { emacs = home.programs.emacs.package; inherit pkgs xdg-runtime-dir; } )
];
modules = [
home
( import ./mac.nix { emacs = home.programs.emacs.package; inherit pkgs xdg-runtime-dir; } )
];
};
homeConfigurations."coral" =
let
system = "x86_64-linux";
pkgs = mkPkgs system;
home = mkHome { inherit system pkgs; };
in home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
home
];
};
};
}

View File

@ -118,6 +118,17 @@ in rec {
nix-direnv.enable = true;
};
programs.hyfetch = {
enable = true;
settings = {
preset = "nonbinary";
mode = "rgb";
color_align = {
mode = "horizontal";
};
};
};
programs.tmux = {
enable = true;
escapeTime = 50;

View File

@ -44,7 +44,7 @@ with pkgs; let
[language.haskell]
filetypes = ["haskell"]
roots = ["Setup.hs", "stack.yaml", "*.cabal"]
command = "hls"
command = "haskell-language-server-wrapper"
[language.python]
filetypes = ["python"]