Add rot8 package, enable fontconfig in home-manager
This commit is contained in:
parent
fdc0bcf7c5
commit
1bbb00268b
|
@ -1,4 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
{pkgs, ...}: let
|
||||
rot8 = pkgs.callPackage ../desktop/pkgs/rot8 {};
|
||||
in {
|
||||
imports = [
|
||||
../env
|
||||
../tui
|
||||
|
@ -11,7 +13,7 @@
|
|||
home.username = "xenia";
|
||||
home.homeDirectory = "/home/xenia";
|
||||
home.stateVersion = "22.11";
|
||||
home.packages = with pkgs; [home-manager];
|
||||
home.packages = with pkgs; [home-manager rot8];
|
||||
programs.bash.bashrcExtra = ''
|
||||
source $HOME/.nix-profile/etc/profile.d/nix.sh
|
||||
'';
|
||||
|
@ -20,6 +22,7 @@
|
|||
enable = true;
|
||||
tray = {enable = false;};
|
||||
};
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
config = {
|
||||
|
@ -37,9 +40,17 @@
|
|||
bg = "~/nixos/wallpaper.jpg fill";
|
||||
};
|
||||
};
|
||||
gaps = {
|
||||
inner = 5;
|
||||
top = 5;
|
||||
bottom = 5;
|
||||
left = 20;
|
||||
right = 20;
|
||||
};
|
||||
startup = [
|
||||
{command = "dunst";}
|
||||
{command = "waybar";}
|
||||
{command = "rot8";}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
{...}: {imports = [./env ./gui ./tui];}
|
||||
{...}: {
|
||||
imports = [./env ./gui ./tui];
|
||||
fonts.fontconfig.enable = true;
|
||||
}
|
||||
|
|
18
home/desktop/pkgs/rot8/default.nix
Normal file
18
home/desktop/pkgs/rot8/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rot8";
|
||||
version = "7ed926f6d94a999cd2cb702af9f3de0f566095b1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "efernau";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-i+VLVA/XKZiFPEeFHR3CpZKi8CWA/tiaZJerciqQHJ0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-BoBuc3YkVdAR+gZZf5WxxRj/LCsBNSW7FSSU2OnNPgM=";
|
||||
}
|
|
@ -31,10 +31,6 @@ in {
|
|||
names = ["FiraCode Nerd Font" "FiraCode Nerd Font Mono"];
|
||||
size = 12.0;
|
||||
};
|
||||
gaps = {
|
||||
inner = 5;
|
||||
outer = 20;
|
||||
};
|
||||
bars = [];
|
||||
keybindings = lib.mkOptionDefault {
|
||||
"${modifier}+Return" = "exec ${term}";
|
||||
|
|
Loading…
Reference in a new issue