Compare commits
4 Commits
ccff3036c3
...
1d2bbf3598
Author | SHA1 | Date | |
---|---|---|---|
1d2bbf3598 | |||
7a074ac055 | |||
5e8ef3c462 | |||
98e863070f |
38
flake.nix
38
flake.nix
|
@ -29,28 +29,42 @@
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, kak, unispect, ansi-utils, unambig-path }:
|
outputs = { self, nixpkgs, home-manager, kak, unispect, ansi-utils, unambig-path }:
|
||||||
let
|
let
|
||||||
system = "aarch64-darwin";
|
|
||||||
|
|
||||||
pkgs = import nixpkgs { system = system; config.allowUnfree = true; };
|
|
||||||
|
|
||||||
xdg-runtime-dir = "/tmp/xdg-rt";
|
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;
|
kak-pkg = kak.packages.${system}.kak;
|
||||||
unispect = unispect.packages.${system}.unispect;
|
unispect = unispect.packages.${system}.unispect;
|
||||||
ansi-utils = ansi-utils.packages.${system};
|
ansi-utils = ansi-utils.packages.${system};
|
||||||
unambig-path = unambig-path.packages.${system}.unambig-path;
|
unambig-path = unambig-path.packages.${system}.unambig-path;
|
||||||
inherit pkgs xdg-runtime-dir;
|
inherit pkgs xdg-runtime-dir;
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
homeConfigurations."xenia" = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations."xenia" =
|
||||||
inherit pkgs;
|
let
|
||||||
|
system = "aarch64-darwin";
|
||||||
|
pkgs = mkPkgs system;
|
||||||
|
home = mkHome { inherit system pkgs; };
|
||||||
|
in home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
home
|
home
|
||||||
( import ./mac.nix { emacs = home.programs.emacs.package; inherit pkgs xdg-runtime-dir; } )
|
( 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
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
11
home.nix
11
home.nix
|
@ -118,6 +118,17 @@ in rec {
|
||||||
nix-direnv.enable = true;
|
nix-direnv.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.hyfetch = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
preset = "nonbinary";
|
||||||
|
mode = "rgb";
|
||||||
|
color_align = {
|
||||||
|
mode = "horizontal";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
escapeTime = 50;
|
escapeTime = 50;
|
||||||
|
|
2
kak.nix
2
kak.nix
|
@ -44,7 +44,7 @@ with pkgs; let
|
||||||
[language.haskell]
|
[language.haskell]
|
||||||
filetypes = ["haskell"]
|
filetypes = ["haskell"]
|
||||||
roots = ["Setup.hs", "stack.yaml", "*.cabal"]
|
roots = ["Setup.hs", "stack.yaml", "*.cabal"]
|
||||||
command = "hls"
|
command = "haskell-language-server-wrapper"
|
||||||
|
|
||||||
[language.python]
|
[language.python]
|
||||||
filetypes = ["python"]
|
filetypes = ["python"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user