tweaks to the i3 configuration now that Im actually testing on real hardware.
This commit is contained in:
parent
2bcc6c86aa
commit
d3e13cf0f0
9 changed files with 52 additions and 11 deletions
25
configs/home-manager/ghostty.nix
Normal file
25
configs/home-manager/ghostty.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
fira-code
|
||||
# monocraft
|
||||
# miracode
|
||||
nerd-fonts.symbols-only
|
||||
];
|
||||
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
font-family = "Fira Code";
|
||||
theme = "Gruvbox Dark";
|
||||
font-size = 12;
|
||||
background-opacity = 0.8;
|
||||
background-blur = true;
|
||||
window-decoration = "server";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -6,7 +6,8 @@
|
|||
}: {
|
||||
services.picom = {
|
||||
enable = true;
|
||||
# backend = "glx";
|
||||
backend = "glx";
|
||||
extraArgs = ["--transparent-clipping"];
|
||||
};
|
||||
xsession.windowManager.i3.config.startup = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@
|
|||
};
|
||||
xkb.options = "ctrl:nocaps,compose:rctrl";
|
||||
};
|
||||
fonts.fontDir.enable = true;
|
||||
fonts.enableDefaultPackages = true;
|
||||
home-manager.users.${config.host.details.user} = {config, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
maim
|
||||
|
|
@ -49,7 +51,7 @@
|
|||
enable = true;
|
||||
config = {
|
||||
modifier = mod;
|
||||
terminal = "kitty";
|
||||
terminal = "ghostty";
|
||||
menu = "rofi -show drun";
|
||||
defaultWorkspace = "workspace ${ws1}";
|
||||
keybindings = {
|
||||
|
|
@ -234,7 +236,7 @@
|
|||
};
|
||||
};
|
||||
imports = [
|
||||
../../home-manager/kitty.nix
|
||||
../../home-manager/ghostty.nix
|
||||
../../home-manager/rofi.nix
|
||||
../../home-manager/dunst.nix
|
||||
../../home-manager/feh.nix
|
||||
|
|
|
|||
|
|
@ -4,6 +4,13 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
fonts.packages = with pkgs; [
|
||||
fira-code
|
||||
monocraft
|
||||
miracode
|
||||
nerd-fonts.symbols-only
|
||||
];
|
||||
services.upower.enable = config.host.details.isLaptop;
|
||||
home-manager.users.${config.host.details.user} = {
|
||||
config,
|
||||
osConfig,
|
||||
|
|
@ -13,8 +20,7 @@
|
|||
xsession.windowManager.i3.config.bars = [
|
||||
{
|
||||
fonts = {
|
||||
names = ["FiraCode Nerd Font"];
|
||||
style = "Mono";
|
||||
names = ["Fira Code"];
|
||||
size = 10.0;
|
||||
};
|
||||
position = "bottom";
|
||||
|
|
|
|||
|
|
@ -4,15 +4,16 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
betterlockscreen
|
||||
];
|
||||
home-manager.users.${config.host.details.user} = {
|
||||
config,
|
||||
osConfig,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
betterlockscreen
|
||||
];
|
||||
|
||||
xsession.windowManager.i3.config = {
|
||||
keybindings = let
|
||||
mod = config.xsession.windowManager.i3.config.modifier;
|
||||
|
|
|
|||
|
|
@ -38,6 +38,12 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
networking.hostName = "harmatan";
|
||||
networking.hostId = "7a42af26";
|
||||
|
||||
services.xserver.dpi = 180;
|
||||
environment.variables = {
|
||||
GDK_SCALE = "2";
|
||||
GDK_DPI_SCALE = "0.5";
|
||||
};
|
||||
|
||||
home-manager.sharedModules = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue