mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 06:50:14 +01:00
Compare commits
12 commits
8cba7f17c5
...
73d770fe57
| Author | SHA1 | Date | |
|---|---|---|---|
| 73d770fe57 | |||
| cceceb35c7 | |||
| e262c4470b | |||
| 104d10f7b3 | |||
| 6c6c3a8652 | |||
| b31f9615eb | |||
| 535780048e | |||
| 9dd9083a37 | |||
| ddbca9dbd9 | |||
| cfe2e227b3 | |||
| dd430bbe4a | |||
| 54ffe2e375 |
9 changed files with 97 additions and 27 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
imports =
|
imports =
|
||||||
[ (import ./docker.nix) ]
|
[ (import ./docker.nix) ]
|
||||||
++ [ (import ./hardware.nix) ]
|
++ [ (import ./hardware.nix) ]
|
||||||
# ++ [(import ./displaylink.nix)]
|
++ [ (import ./displaylink.nix) ]
|
||||||
# ++ [(import ./printing.nix)]
|
# ++ [(import ./printing.nix)]
|
||||||
++ [ (import ./xserver.nix) ]
|
++ [ (import ./xserver.nix) ]
|
||||||
++ [ (import ./network.nix) ]
|
++ [ (import ./network.nix) ]
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,20 @@
|
||||||
{ username, ... }:
|
{ username, ... }:
|
||||||
{
|
{
|
||||||
services = {
|
#services = {
|
||||||
xserver = {
|
# xserver = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
xkb.layout = "us";
|
# xkb.layout = "us";
|
||||||
# displayManager.lightdm.greeters.slick.enable = true;
|
# displayManager.lightdm.greeters.slick.enable = true;
|
||||||
displayManager.lightdm.greeters.mini = {
|
# #displayManager.lightdm.greeters.mini = {
|
||||||
enable = true;
|
# # enable = true;
|
||||||
user = "liv";
|
# # user = "liv";
|
||||||
extraConfig = ''
|
# # extraConfig = ''
|
||||||
[greeter]
|
# # [greeter]
|
||||||
show-password-label = false
|
# # show-password-label = false
|
||||||
[greeter-theme]
|
# # [greeter-theme]
|
||||||
background-image = "/home/liv/Pictures/wallpapers/others/anime-sky-lonely.png"
|
# # background-image = "/home/liv/Pictures/wallpapers/others/anime-sky-lonely.png"
|
||||||
'';
|
# # '';
|
||||||
};
|
# #};
|
||||||
};
|
# };
|
||||||
};
|
#};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,14 +21,32 @@
|
||||||
login.u2fAuth = true;
|
login.u2fAuth = true;
|
||||||
greetd.u2fAuth = true;
|
greetd.u2fAuth = true;
|
||||||
sudo.u2fAuth = true;
|
sudo.u2fAuth = true;
|
||||||
swaylock.fprintAuth = if (host == "sakura") then true else false;
|
swaylock.fprintAuth =
|
||||||
|
if (host == "sakura") then
|
||||||
|
true
|
||||||
|
else if (host == "zinnia") then
|
||||||
|
true
|
||||||
|
else
|
||||||
|
false;
|
||||||
# No longer using Hyprlock, might stay here for if I ever switch to it again.
|
# No longer using Hyprlock, might stay here for if I ever switch to it again.
|
||||||
hyprlock.u2fAuth = true;
|
hyprlock.u2fAuth = true;
|
||||||
hyprlock.fprintAuth = if (host == "sakura") then true else false;
|
hyprlock.fprintAuth =
|
||||||
|
if (host == "sakura") then
|
||||||
|
true
|
||||||
|
else if (host == "zinnia") then
|
||||||
|
true
|
||||||
|
else
|
||||||
|
false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.fprintd.enable = if (host == "sakura") then true else false;
|
services.fprintd.enable =
|
||||||
|
if (host == "sakura") then
|
||||||
|
true
|
||||||
|
else if (host == "zinnia") then
|
||||||
|
true
|
||||||
|
else
|
||||||
|
false;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
yubikey-manager
|
yubikey-manager
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
++ [ (import ./hyprland) ]
|
++ [ (import ./hyprland) ]
|
||||||
++ [ (import ./hyprlock) ]
|
++ [ (import ./hyprlock) ]
|
||||||
++ [ (import ./kitty.nix) ]
|
++ [ (import ./kitty.nix) ]
|
||||||
|
++ [ (import ./foot.nix) ]
|
||||||
++ [ (import ./nvim.nix) ]
|
++ [ (import ./nvim.nix) ]
|
||||||
++ [ (import ./zathura.nix) ]
|
++ [ (import ./zathura.nix) ]
|
||||||
++ [ (import ./packages.nix) ]
|
++ [ (import ./packages.nix) ]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
scientifica
|
||||||
# nerd-fonts._0xproto
|
# nerd-fonts._0xproto
|
||||||
# nerd-fonts._3270
|
# nerd-fonts._3270
|
||||||
# nerd-fonts.agave
|
# nerd-fonts.agave
|
||||||
|
|
|
||||||
48
modules/home/foot.nix
Normal file
48
modules/home/foot.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
{ pkgs, username, ... }:
|
||||||
|
{
|
||||||
|
home.file."/home/${username}.config/foot/foot.ini".text = ''
|
||||||
|
# -*- conf -*-
|
||||||
|
|
||||||
|
# font=GohuFont 14 Nerd Font Mono:size=9
|
||||||
|
initial-window-mode=maximized
|
||||||
|
# [tweak]
|
||||||
|
# allow-overflowing-double-width-glyphs=true
|
||||||
|
|
||||||
|
[desktop-notifications]
|
||||||
|
# command=notify-send --wait --app-name $\{app-id} --icon $\{app-id} --category $\{category} --urgency $\{urgency} --expire-time $\{expire-time} --hint STRING:image-path:$\{icon} --hint BOOLEAN:suppress-sound:$\{muted} --hint STRING:sound-name:$\{sound-name} --replace-id $\{replace-id} $\{action-argument} --print-id -- $\{title} $\{body}
|
||||||
|
# command-action-argument=--action $\{action-name}=$\{action-label}
|
||||||
|
# close=""
|
||||||
|
# inhibit-when-focused=yes
|
||||||
|
|
||||||
|
[cursor]
|
||||||
|
style=block
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
alpha=0.5
|
||||||
|
|
||||||
|
background=000000
|
||||||
|
foreground=878ba6
|
||||||
|
flash=7f7f00
|
||||||
|
flash-alpha=0.5
|
||||||
|
|
||||||
|
## Normal/regular colors (color palette 0-7)
|
||||||
|
regular0=1e202f # black
|
||||||
|
regular1=7586f5 # red
|
||||||
|
regular2=fb6fa9 # green
|
||||||
|
regular3=ffb3d2 # yellow
|
||||||
|
regular4=8696fd # blue
|
||||||
|
regular5=fb6fa9 # magenta
|
||||||
|
regular6=a0acfe # cyan
|
||||||
|
regular7=878ba6 # white
|
||||||
|
|
||||||
|
## Bright colors (color palette 8-15)
|
||||||
|
bright0=4f5472 # bright black
|
||||||
|
bright1=fe81b5 # bright red
|
||||||
|
bright2=292c3d # bright green
|
||||||
|
bright3=444864 # bright yellow
|
||||||
|
bright4=5b6080 # bright blue
|
||||||
|
bright5=d2d8fe # bright magenta
|
||||||
|
bright6=f764a1 # bright cyan
|
||||||
|
bright7=ebedff # bright white
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
@ -99,10 +99,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gestures = {
|
#gestures = {
|
||||||
workspace_swipe = true;
|
# workspace_swipe = true;
|
||||||
workspace_swipe_invert = true;
|
# workspace_swipe_invert = true;
|
||||||
};
|
#};
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
"$mainMod" = "ALT";
|
"$mainMod" = "ALT";
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@
|
||||||
python3
|
python3
|
||||||
|
|
||||||
# CLI shit
|
# CLI shit
|
||||||
|
fff
|
||||||
imagemagick
|
imagemagick
|
||||||
foot
|
foot
|
||||||
termpdfpy
|
termpdfpy
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,8 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
pkgs.kitty.terminfo
|
kitty.terminfo
|
||||||
|
foot.terminfo
|
||||||
powertop
|
powertop
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue