mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-25 22:38:44 +01:00
jfkdajfasklfmaslj
This commit is contained in:
parent
fa2c1e84ec
commit
a9bd549741
12
flake.lock
12
flake.lock
|
@ -52,16 +52,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1661984032,
|
"lastModified": 1661595788,
|
||||||
"narHash": "sha256-IG9bSw8FLe8Ztms+lOb/Vn2bIqxwj6/a9T1xU5Wc8Y0=",
|
"narHash": "sha256-m87mpIxqALkxpXMQdowHPquUF1SiqCufjnKZK9tFZcs=",
|
||||||
"owner": "NixOS",
|
"owner": "kekrby",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "034175e4bea4e4b735d35fd06e04213f0777d4ff",
|
"rev": "a5fe34678f40ef37ca295da014db7d9aaea43a36",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "kekrby",
|
||||||
"ref": "nixos-unstable-small",
|
"ref": "add-fetchpartial",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,12 +2,14 @@
|
||||||
description = "home manager config apparently";
|
description = "home manager config apparently";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
# nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||||
|
nixpkgs.url = "github:kekrby/nixpkgs/add-fetchpartial";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpks.follows = "nixpkgs";
|
inputs.nixpks.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nixos-hardware.url = "github:kekrby/nixos-hardware";
|
nixos-hardware.url = "github:kekrby/nixos-hardware";
|
||||||
|
# nixpkgs-fetchpartial.url = "github:kekrby/nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, nixos-hardware, ... }: {
|
outputs = { self, nixpkgs, home-manager, nixos-hardware, ... }: {
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [ ./desktop.nix ];
|
imports = [
|
||||||
|
./desktop.nix
|
||||||
|
./terminal.nix
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -278,7 +278,7 @@ in with lib; {
|
||||||
width = "100%";
|
width = "100%";
|
||||||
height = "24px";
|
height = "24px";
|
||||||
radius = 0;
|
radius = 0;
|
||||||
tray-position = "enter";
|
tray-position = "center";
|
||||||
background = "\${colors.background}";
|
background = "\${colors.background}";
|
||||||
foreground = "\${colors.foreground}";
|
foreground = "\${colors.foreground}";
|
||||||
line-size = "4px";
|
line-size = "4px";
|
||||||
|
@ -288,7 +288,7 @@ in with lib; {
|
||||||
module-margin = 1;
|
module-margin = 1;
|
||||||
separator = "|";
|
separator = "|";
|
||||||
separator-foreground = "\${colors.disabled}";
|
separator-foreground = "\${colors.disabled}";
|
||||||
font-0 = "FiraMono Nerd Font";
|
font-0 = "FiraCode Nerd Font";
|
||||||
modules-left = "xworkspaces xwindow";
|
modules-left = "xworkspaces xwindow";
|
||||||
modules-right = "memory cpu wlan battery date";
|
modules-right = "memory cpu wlan battery date";
|
||||||
cursor-click = "pointer";
|
cursor-click = "pointer";
|
||||||
|
|
41
modules/terminal.nix
Normal file
41
modules/terminal.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let cfg = config.jade.terminal;
|
||||||
|
in with lib; {
|
||||||
|
options.jade.terminal = {
|
||||||
|
enable = mkEnableOption "Enable Kitty";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home-manager.users.jade = { pkgs, ...} : {
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
font = {
|
||||||
|
name = "FiraCode Nerd Font Mono";
|
||||||
|
size = 11;
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
adjust_column_width = "75%";
|
||||||
|
color0 = "#282828";
|
||||||
|
color8 = "#928374";
|
||||||
|
color1 = "#cc241d";
|
||||||
|
color9 = "#fb4934";
|
||||||
|
color2 = "#98971a";
|
||||||
|
color10 = "#b8bb26";
|
||||||
|
color3 = "#d79921";
|
||||||
|
color11 = "#fabd2f";
|
||||||
|
color4 = "#458588";
|
||||||
|
color12 = "#83a598";
|
||||||
|
color5 = "#b16286";
|
||||||
|
color13 = "#d3869b";
|
||||||
|
color6 = "#689d6a";
|
||||||
|
color14 = "#8ec07c";
|
||||||
|
color7 = "#a89984";
|
||||||
|
color15 = "#ebdbb2";
|
||||||
|
|
||||||
|
foreground = "#ebdbb2";
|
||||||
|
background = "#282828";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -21,6 +21,7 @@
|
||||||
jade = {
|
jade = {
|
||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
desktop.compositing = true;
|
desktop.compositing = true;
|
||||||
|
terminal.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
@ -30,12 +31,41 @@
|
||||||
|
|
||||||
networking.hostName = "potatobook-g";
|
networking.hostName = "potatobook-g";
|
||||||
|
|
||||||
services.xserver.layout = "us";
|
|
||||||
services.xserver.xkbVariant = "altgr-intl";
|
services.xserver = {
|
||||||
|
resolutions = [ { x = 1920; y = 1200; } ];
|
||||||
|
# dpi = 180;
|
||||||
|
layout = "us";
|
||||||
|
xkbVariant = "altgr-intl";
|
||||||
|
libinput = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.autorandr = {
|
||||||
|
enable = true;
|
||||||
|
profiles = {
|
||||||
|
"default" = {
|
||||||
|
config = {
|
||||||
|
"eDP-1" = {
|
||||||
|
enable = true;
|
||||||
|
mode = "1920x1200";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# environment.variables = {
|
||||||
|
# GDK_SCALE = "2";
|
||||||
|
# GDK_DPI_SCALE = "0.5";
|
||||||
|
# _JAVA_OPTIONS = "-Dsun.java2d.uiScale=2";
|
||||||
|
# };
|
||||||
|
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
hardware.keyboard.uhk.enable = true;
|
hardware.keyboard.uhk.enable = true;
|
||||||
|
|
||||||
|
|
||||||
# missing: menu-qalc picom-jonaburg
|
# missing: menu-qalc picom-jonaburg
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# TODO: clean up.
|
# TODO: clean up.
|
||||||
|
|
Loading…
Reference in a new issue