Compare commits
3 Commits
71a6fa6a58
...
d820a596f5
Author | SHA1 | Date | |
---|---|---|---|
d820a596f5 | |||
558812e9e6 | |||
efdb559c2f |
11
flake.nix
11
flake.nix
|
@ -48,7 +48,10 @@
|
||||||
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;
|
||||||
};
|
};
|
||||||
mkLaptop = {system, pkgs} : import ./home/graphical.nix {
|
mkPC = {system, pkgs} : import ./home/graphical.nix {
|
||||||
|
inherit pkgs xdg-runtime-dir;
|
||||||
|
};
|
||||||
|
mkLaptop = {system, pkgs} : import ./home/apps.nix {
|
||||||
inherit pkgs xdg-runtime-dir;
|
inherit pkgs xdg-runtime-dir;
|
||||||
};
|
};
|
||||||
mkMac = {system, pkgs, laptop} : import ./home/mac.nix {
|
mkMac = {system, pkgs, laptop} : import ./home/mac.nix {
|
||||||
|
@ -74,6 +77,7 @@
|
||||||
prompt-color = 172;
|
prompt-color = 172;
|
||||||
inherit system pkgs;
|
inherit system pkgs;
|
||||||
};
|
};
|
||||||
|
pc = mkPC { inherit system pkgs; };
|
||||||
laptop = mkLaptop { inherit system pkgs; };
|
laptop = mkLaptop { inherit system pkgs; };
|
||||||
mac = mkMac { inherit system pkgs laptop; };
|
mac = mkMac { inherit system pkgs laptop; };
|
||||||
in home-manager.lib.homeManagerConfiguration {
|
in home-manager.lib.homeManagerConfiguration {
|
||||||
|
@ -81,6 +85,7 @@
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
home
|
home
|
||||||
|
pc
|
||||||
laptop
|
laptop
|
||||||
mac
|
mac
|
||||||
];
|
];
|
||||||
|
@ -114,13 +119,13 @@
|
||||||
prompt-color = 205;
|
prompt-color = 205;
|
||||||
inherit system pkgs;
|
inherit system pkgs;
|
||||||
};
|
};
|
||||||
laptop = mkLaptop { inherit system pkgs; };
|
pc = mkPC { inherit system pkgs; };
|
||||||
in home-manager.lib.homeManagerConfiguration {
|
in home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
home
|
home
|
||||||
laptop
|
pc
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,8 @@ case $CHOICE in
|
||||||
;;
|
;;
|
||||||
esac";
|
esac";
|
||||||
|
|
||||||
|
font-size = if pkgs.stdenv.isLinux then 8 else 15;
|
||||||
|
|
||||||
base-cfg = {
|
base-cfg = {
|
||||||
window = {
|
window = {
|
||||||
padding.x = 0;
|
padding.x = 0;
|
||||||
|
@ -50,7 +52,7 @@ esac";
|
||||||
mouse.hide_when_typing = true;
|
mouse.hide_when_typing = true;
|
||||||
font = {
|
font = {
|
||||||
normal.family = "SAX2";
|
normal.family = "SAX2";
|
||||||
size = 15;
|
size = font-size;
|
||||||
};
|
};
|
||||||
colors.primary = {
|
colors.primary = {
|
||||||
background = "#282828";
|
background = "#282828";
|
||||||
|
|
8
home/apps.nix
Normal file
8
home/apps.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ pkgs, xdg-runtime-dir }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
discord-canary
|
||||||
|
|
||||||
|
alloy6
|
||||||
|
];
|
||||||
|
}
|
|
@ -4,8 +4,6 @@ let
|
||||||
alacritty = import ./alacritty/alacritty.nix pkgs;
|
alacritty = import ./alacritty/alacritty.nix pkgs;
|
||||||
in rec {
|
in rec {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
discord-canary
|
|
||||||
# libreoffice-bin
|
|
||||||
fira-code ibm-plex
|
fira-code ibm-plex
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
layout = "fox";
|
layout = "fox";
|
||||||
|
xkbOptions = "caps:escape";
|
||||||
extraLayouts.fox = {
|
extraLayouts.fox = {
|
||||||
description = "Layout suitable to be used by a fox";
|
description = "Layout suitable to be used by a fox";
|
||||||
languages = ["se"];
|
languages = ["se"];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user