mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 14:09:51 -07:00
chore: switch to nixfmt-rfc-style
This commit is contained in:
parent
90f6446f5f
commit
523a59f2b3
41 changed files with 362 additions and 167 deletions
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.file.".essentials" = {
|
||||
source = ./essentials;
|
||||
recursive = true;
|
||||
|
@ -15,7 +16,9 @@
|
|||
'';
|
||||
};
|
||||
|
||||
programs.fzf = {enable = true;};
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
@ -58,7 +61,7 @@
|
|||
|
||||
programs.gh = {
|
||||
enable = true;
|
||||
extensions = [pkgs.github-copilot-cli];
|
||||
extensions = [ pkgs.github-copilot-cli ];
|
||||
};
|
||||
|
||||
programs.oh-my-posh = {
|
||||
|
|
|
@ -1 +1 @@
|
|||
{imports = [./core.nix];}
|
||||
{ imports = [ ./core.nix ]; }
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
home.username = "youwen";
|
||||
home.homeDirectory = "/Users/youwen";
|
||||
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
home.username = "youwen";
|
||||
home.homeDirectory = "/home/youwen";
|
||||
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
inputs,
|
||||
system,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
wl-clipboard
|
||||
grim
|
||||
|
@ -25,7 +26,7 @@
|
|||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
settings = {
|
||||
exec-once = ["waypaper --restore"];
|
||||
exec-once = [ "waypaper --restore" ];
|
||||
"$mod" = "SUPER";
|
||||
"$Left" = "H";
|
||||
"$Right" = "L";
|
||||
|
@ -120,9 +121,7 @@
|
|||
",XF86AudioRewind, exec, playerctl previous"
|
||||
]
|
||||
++ (
|
||||
if pkgs.system != "aarch64-linux"
|
||||
then ["$mod, F, exec, zen"]
|
||||
else ["$mod, F, exec, librewolf"]
|
||||
if pkgs.system != "aarch64-linux" then [ "$mod, F, exec, zen" ] else [ "$mod, F, exec, librewolf" ]
|
||||
);
|
||||
bindm = [
|
||||
"$mod, mouse:272, movewindow"
|
||||
|
|
|
@ -1 +1 @@
|
|||
{imports = [../common.nix];}
|
||||
{ imports = [ ../common.nix ]; }
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{lib, ...}: {
|
||||
imports = [../common.nix];
|
||||
{ lib, ... }:
|
||||
{
|
||||
imports = [ ../common.nix ];
|
||||
wayland.windowManager.hyprland.settings.input.touchpad = {
|
||||
natural_scroll = true;
|
||||
disable_while_typing = true;
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [../theming ../home.nix ../programs ../hyprland/laptop ../waybar/laptop];
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
../theming
|
||||
../home.nix
|
||||
../programs
|
||||
../hyprland/laptop
|
||||
../waybar/laptop
|
||||
];
|
||||
|
||||
# some overrides for laptop specifically
|
||||
programs.kitty.settings.font_size = pkgs.lib.mkForce 11;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
{pkgs, ...}: let
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
createCommon = import ../common-packages.nix;
|
||||
in {home.packages = (createCommon pkgs) ++ [];}
|
||||
in
|
||||
{
|
||||
home.packages = (createCommon pkgs) ++ [ ];
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
pkgs:
|
||||
with pkgs; [
|
||||
pkgs: with pkgs; [
|
||||
neofetch
|
||||
|
||||
# archives
|
||||
|
|
|
@ -2,13 +2,16 @@
|
|||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
createCommon = import ../common-packages.nix;
|
||||
zen-browser = inputs.zen-browser.packages.${pkgs.system}.specific;
|
||||
in {
|
||||
in
|
||||
{
|
||||
home.packages =
|
||||
(createCommon pkgs)
|
||||
++ (with pkgs;
|
||||
++ (
|
||||
with pkgs;
|
||||
[
|
||||
bitwarden-desktop
|
||||
modrinth-app
|
||||
|
@ -17,16 +20,17 @@ in {
|
|||
sbctl
|
||||
r2modman
|
||||
]
|
||||
++ [zen-browser]);
|
||||
++ [ zen-browser ]
|
||||
);
|
||||
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"text/html" = ["zen.desktop"];
|
||||
"x-scheme-handler/http" = ["zen.desktop"];
|
||||
"x-scheme-handler/https" = ["zen.desktop"];
|
||||
"x-scheme-handler/about" = ["zen.desktop"];
|
||||
"x-scheme-handler/unknown" = ["zen.desktop"];
|
||||
"text/html" = [ "zen.desktop" ];
|
||||
"x-scheme-handler/http" = [ "zen.desktop" ];
|
||||
"x-scheme-handler/https" = [ "zen.desktop" ];
|
||||
"x-scheme-handler/about" = [ "zen.desktop" ];
|
||||
"x-scheme-handler/unknown" = [ "zen.desktop" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
theme = "Tokyo Night";
|
||||
|
|
|
@ -2,9 +2,11 @@
|
|||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
spicepkgs = inputs.spicetify.legacyPackages.${pkgs.system};
|
||||
in {
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.spicetify.homeManagerModules.default
|
||||
];
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [./catppuccin.nix];
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [ ./catppuccin.nix ];
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
@ -8,7 +9,9 @@
|
|||
name = "Bibata-Modern-Ice";
|
||||
size = 26;
|
||||
};
|
||||
iconTheme = {name = "Papirus-Dark";};
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
};
|
||||
};
|
||||
|
||||
qt = {
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
|
||||
reload_style_on_change = true;
|
||||
|
||||
modules-left = ["hyprland/workspaces"];
|
||||
modules-center = ["hyprland/window"];
|
||||
modules-left = [ "hyprland/workspaces" ];
|
||||
modules-center = [ "hyprland/window" ];
|
||||
modules-right = [
|
||||
"tray"
|
||||
"idle_inhibitor"
|
||||
|
@ -75,13 +75,31 @@
|
|||
on-click = "pamixer -t";
|
||||
on-scroll-up = "pamixer set 5%+";
|
||||
on-scroll-down = "pamixer set 5%-";
|
||||
format-icons = ["" "" "" "" ""];
|
||||
format-icons = [
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
};
|
||||
|
||||
battery = {
|
||||
interval = 10;
|
||||
format = "{icon}{capacity}%";
|
||||
format-icons = ["" "" "" "" "" "" "" "" "" "" ""];
|
||||
format-icons = [
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
tooltip = true;
|
||||
tooltip-format = "{timeTo}";
|
||||
};
|
||||
|
@ -115,7 +133,18 @@
|
|||
"hyprland/workspaces" = {
|
||||
show-special = true;
|
||||
persistent-workspaces = {
|
||||
"*" = [1 2 3 4 5 6 7 8 9 10];
|
||||
"*" = [
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
];
|
||||
};
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
|
|
|
@ -24,7 +24,10 @@
|
|||
|
||||
reload_style_on_change = true;
|
||||
|
||||
modules-left = ["hyprland/workspaces" "hyprland/window"];
|
||||
modules-left = [
|
||||
"hyprland/workspaces"
|
||||
"hyprland/window"
|
||||
];
|
||||
modules-right = [
|
||||
"tray"
|
||||
"idle_inhibitor"
|
||||
|
@ -74,13 +77,31 @@
|
|||
on-click = "pamixer -t";
|
||||
on-scroll-up = "pamixer set 5%+";
|
||||
on-scroll-down = "pamixer set 5%-";
|
||||
format-icons = ["" "" "" "" ""];
|
||||
format-icons = [
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
};
|
||||
|
||||
battery = {
|
||||
interval = 10;
|
||||
format = "{icon} {capacity}%";
|
||||
format-icons = ["" "" "" "" "" "" "" "" "" "" ""];
|
||||
format-icons = [
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
tooltip = true;
|
||||
tooltip-format = "{timeTo}";
|
||||
};
|
||||
|
@ -114,7 +135,18 @@
|
|||
"hyprland/workspaces" = {
|
||||
show-special = true;
|
||||
persistent-workspaces = {
|
||||
"*" = [1 2 3 4 5 6 7 8 9 10];
|
||||
"*" = [
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
];
|
||||
};
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue