Compare commits
No commits in common. "main" and "741f1b5cb42318c03a287d71b664e3773f57223e" have entirely different histories.
main
...
741f1b5cb4
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
hardware-configuration.nix
|
|
||||||
@ -19,11 +19,12 @@
|
|||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
noto-fonts
|
noto-fonts
|
||||||
nerd-fonts._0xproto
|
nerd-fonts._0xproto
|
||||||
|
gnome-tweaks
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
services.displayManager.gdm.enable = true;
|
services.displayManager.gdm.enable = true;
|
||||||
services.desktopManager.gnome.enable = true;
|
services.desktopManager.gnome.enable = true;
|
||||||
|
programs.hyprland.enable = true;
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
|
||||||
@ -59,12 +60,24 @@
|
|||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
security.sudo.enable = true;
|
security.doas.enable = true;
|
||||||
|
security.sudo.enable = false;
|
||||||
|
security.doas.extraRules = [
|
||||||
|
{
|
||||||
|
users = [ "foo" ];
|
||||||
|
# Optional, retains environment variables while running commands
|
||||||
|
# e.g. retains your NIX_PATH when applying your config
|
||||||
|
keepEnv = true;
|
||||||
|
persist = true; # Optional, only require password verification a single time
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
# Use latest kernel.
|
# Use latest kernel.
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
services.power-profiles-daemon.enable = true;
|
services.power-profiles-daemon.enable = false;
|
||||||
services.upower.enable = true;
|
services.upower.enable = true;
|
||||||
|
services.tlp.enable = true;
|
||||||
|
services.auto-cpufreq.enable = true;
|
||||||
|
|
||||||
networking.hostName = "wired"; # Define your hostname.
|
networking.hostName = "wired"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
@ -91,18 +104,6 @@
|
|||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
i18n.extraLocaleSettings = {
|
|
||||||
LC_ADDRESS = "de_DE.UTF-8";
|
|
||||||
LC_IDENTIFICATION = "de_DE.UTF-8";
|
|
||||||
LC_MEASUREMENT = "de_DE.UTF-8";
|
|
||||||
LC_MONETARY = "de_DE.UTF-8";
|
|
||||||
LC_NAME = "de_DE.UTF-8";
|
|
||||||
LC_NUMERIC = "de_DE.UTF-8";
|
|
||||||
LC_PAPER = "de_DE.UTF-8";
|
|
||||||
LC_TELEPHONE = "de_DE.UTF-8";
|
|
||||||
LC_TIME = "de_DE.UTF-8";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
services.xserver.xkb = {
|
services.xserver.xkb = {
|
||||||
layout = "us";
|
layout = "us";
|
||||||
@ -112,6 +113,7 @@
|
|||||||
console.keyMap = "us";
|
console.keyMap = "us";
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
|
programs.direnv.enable = true;
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
users.users.lucy = {
|
users.users.lucy = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
@ -135,6 +137,9 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
openssl
|
openssl
|
||||||
fastfetch
|
fastfetch
|
||||||
|
gnomeExtensions.blur-my-shell
|
||||||
|
gnomeExtensions.appindicator
|
||||||
|
gnomeExtensions.just-perfection
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
|
|||||||
43
flake.lock
generated
43
flake.lock
generated
@ -179,6 +179,48 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ignis": {
|
||||||
|
"inputs": {
|
||||||
|
"ignis-gvc": "ignis-gvc",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1767456002,
|
||||||
|
"narHash": "sha256-q+ZYdTMLr0RCfN5qxOl56CbZBj702hYY2H5dOLynW+o=",
|
||||||
|
"owner": "ignis-sh",
|
||||||
|
"repo": "ignis",
|
||||||
|
"rev": "5fd140227c0f2d9d65a98d4af78b95b1558966da",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ignis-sh",
|
||||||
|
"repo": "ignis",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ignis-gvc": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"ignis",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1754064086,
|
||||||
|
"narHash": "sha256-ft5KvY2OYrWF+jEsfBL/Zx8Iuo2C10C6COk8wHwZw34=",
|
||||||
|
"owner": "ignis-sh",
|
||||||
|
"repo": "ignis-gvc",
|
||||||
|
"rev": "f2c9f10d8b49cc38106a2f07a51ea959c6aa4e63",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ignis-sh",
|
||||||
|
"repo": "ignis-gvc",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770841267,
|
"lastModified": 1770841267,
|
||||||
@ -304,6 +346,7 @@
|
|||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
|
"ignis": "ignis",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"spicetify-nix": "spicetify-nix",
|
"spicetify-nix": "spicetify-nix",
|
||||||
|
|||||||
13
flake.nix
13
flake.nix
@ -6,17 +6,22 @@
|
|||||||
nixvim.url = "github:nix-community/nixvim";
|
nixvim.url = "github:nix-community/nixvim";
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
|
|
||||||
|
ignis = {
|
||||||
|
url = "github:ignis-sh/ignis";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs"; # recommended
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{
|
{
|
||||||
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
stylix,
|
stylix,
|
||||||
spicetify-nix,
|
spicetify-nix,
|
||||||
nixvim,
|
nixvim,
|
||||||
home-manager,
|
home-manager,
|
||||||
...
|
...
|
||||||
}:
|
}@inputs:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
@ -35,7 +40,8 @@
|
|||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.users.lucy = {
|
home-manager.users.lucy = {
|
||||||
imports = [
|
imports = [
|
||||||
nixvim.homeModules.nixvim
|
inputs.ignis.homeManagerModules.default
|
||||||
|
nixvim.homeModules.nixvim
|
||||||
spicetify-nix.homeManagerModules.spicetify
|
spicetify-nix.homeManagerModules.spicetify
|
||||||
./home/home.nix
|
./home/home.nix
|
||||||
|
|
||||||
@ -47,7 +53,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
homeConfigurations.lucy = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations.lucy = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
extraSpecialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
stylix.homeModules.stylix
|
stylix.homeModules.stylix
|
||||||
nixvim.homeModules.nixvim
|
nixvim.homeModules.nixvim
|
||||||
|
|||||||
33
hardware-configuration.nix
Executable file
33
hardware-configuration.nix
Executable file
@ -0,0 +1,33 @@
|
|||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-uuid/fbea1f31-4ad2-42f7-857a-15f7a1250793";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-uuid/9B5B-14D1";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices =
|
||||||
|
[ { device = "/dev/disk/by-uuid/440b6cb1-02bf-4bda-998c-575589ec415a"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
@ -1,4 +1,8 @@
|
|||||||
{ config, pkgs, ... }:
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
@ -17,7 +21,38 @@
|
|||||||
# You should not change this value, even if you update Home Manager. If you do
|
# You should not change this value, even if you update Home Manager. If you do
|
||||||
# want to update the value, then make sure to first check the Home Manager
|
# want to update the value, then make sure to first check the Home Manager
|
||||||
# release notes.
|
# release notes.
|
||||||
|
home.pointerCursor = {
|
||||||
|
gtk.enable = true;
|
||||||
|
x11.enable = true;
|
||||||
|
package = pkgs.runCommand "teto-cursors" { } ''
|
||||||
|
mkdir -p $out/share/icons
|
||||||
|
ln -s /home/lucy/.icons/tetoW/ $out/share/icons/
|
||||||
|
'';
|
||||||
|
name = "tetoW";
|
||||||
|
size = 48;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.ignis = {
|
||||||
|
enable = true;
|
||||||
|
addToPythonEnv = true;
|
||||||
|
services = {
|
||||||
|
bluetooth.enable = true;
|
||||||
|
recorder.enable = true;
|
||||||
|
audio.enable = true;
|
||||||
|
network.enable = true;
|
||||||
|
};
|
||||||
|
sass = {
|
||||||
|
enable = true;
|
||||||
|
useDartSass = true;
|
||||||
|
};
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
hello
|
||||||
|
python313Packages.jinja2
|
||||||
|
python313Packages.materialyoucolor
|
||||||
|
python313Packages.pillow
|
||||||
|
dart-sass
|
||||||
|
];
|
||||||
|
};
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
|
|||||||
@ -45,8 +45,7 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
input = {
|
input = {
|
||||||
kb_layout = "de";
|
kb_layout = "eu";
|
||||||
kb_options = "nodeadkeys";
|
|
||||||
sensitivity = 0.3;
|
sensitivity = 0.3;
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
natural_scroll = true;
|
natural_scroll = true;
|
||||||
@ -123,14 +122,5 @@
|
|||||||
"$mod, mouse:272, movewindow"
|
"$mod, mouse:272, movewindow"
|
||||||
"alt, mouse:272, resizewindow"
|
"alt, mouse:272, resizewindow"
|
||||||
];
|
];
|
||||||
layerrule = [
|
|
||||||
"noanim, walker"
|
|
||||||
];
|
|
||||||
windowrule = [
|
|
||||||
"float, class:^(waypaper)"
|
|
||||||
"float, class:^(Ryujinx)"
|
|
||||||
"suppressevent maximize, class:.*"
|
|
||||||
"nofocus, class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,12 +12,7 @@
|
|||||||
|
|
||||||
servers = {
|
servers = {
|
||||||
bashls.enable = true;
|
bashls.enable = true;
|
||||||
qmlls.enable = true;
|
pyright.enable = true;
|
||||||
qmlls.package = null;
|
|
||||||
qmlls.cmd = [
|
|
||||||
"qmlls"
|
|
||||||
"-E"
|
|
||||||
];
|
|
||||||
clangd.package = null;
|
clangd.package = null;
|
||||||
clangd.enable = true;
|
clangd.enable = true;
|
||||||
clangd.cmd = [
|
clangd.cmd = [
|
||||||
@ -33,50 +28,19 @@
|
|||||||
conform-nvim = {
|
conform-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
format_on_save = {
|
|
||||||
lspFormat = "fallback";
|
|
||||||
timeoutMs = 500;
|
|
||||||
};
|
|
||||||
|
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = [ "stylua" ];
|
lua = [ "stylua" ];
|
||||||
nix = [ "nixfmt" ];
|
nix = [ "nixfmt" ];
|
||||||
python = [ "ruff_format" ];
|
c = [ "clang-format" ];
|
||||||
javascript = [ "prettier" ];
|
cpp = [ "clang-format" ];
|
||||||
typescript = [ "prettier" ];
|
python = [ "black" ];
|
||||||
svelte = [ "prettier" ];
|
|
||||||
css = [ "prettier" ];
|
|
||||||
json = [ "prettier" ];
|
|
||||||
html = [ "prettier" ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
blink-cmp = {
|
||||||
cmp = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnableSources = true;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
sources = [
|
|
||||||
{ name = "nvim_lsp"; }
|
|
||||||
{ name = "path"; }
|
|
||||||
{ name = "buffer"; }
|
|
||||||
];
|
|
||||||
|
|
||||||
mapping = {
|
|
||||||
"<C-b>" = "cmp.mapping.scroll_docs(-4)";
|
|
||||||
"<C-f>" = "cmp.mapping.scroll_docs(4)";
|
|
||||||
"<C-Space>" = "cmp.mapping.complete()";
|
|
||||||
"<C-e>" = "cmp.mapping.abort()";
|
|
||||||
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
|
||||||
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
|
||||||
"<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item(), {'i', 's'})";
|
|
||||||
};
|
|
||||||
|
|
||||||
window.completion.border = "rounded";
|
|
||||||
window.documentation.border = "rounded";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -56,6 +56,11 @@
|
|||||||
mode = "n";
|
mode = "n";
|
||||||
action = ":BufferLineGoToBuffer last<CR>";
|
action = ":BufferLineGoToBuffer last<CR>";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
key = "<leader>w";
|
||||||
|
mode = "n";
|
||||||
|
action = "<cmd>bdelete!<cr>";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
key = "<A-S-e>";
|
key = "<A-S-e>";
|
||||||
mode = "n";
|
mode = "n";
|
||||||
@ -69,12 +74,22 @@
|
|||||||
{
|
{
|
||||||
key = "<C-F>";
|
key = "<C-F>";
|
||||||
mode = "n";
|
mode = "n";
|
||||||
action = "<Cmd>lua vim.lsp.buf.format()<CR>";
|
action = "<cmd>lua require('conform').format({ async = true, lsp_fallback = true }) <cr>";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
key = "<leader>t";
|
key = "<leader>t";
|
||||||
mode = "n";
|
mode = "n";
|
||||||
action = "<cmd>terminal<cr>";
|
action = "<cmd>terminal<cr>";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
key = "<leader>ff";
|
||||||
|
mode = "n";
|
||||||
|
action = ":lua Snacks.picker.files() <cr>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<leader>lg";
|
||||||
|
mode = "n";
|
||||||
|
action = ":lua Snacks.picker.grep() <cr>";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,6 +15,8 @@
|
|||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
nixd
|
nixd
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
|
stylua
|
||||||
|
black
|
||||||
];
|
];
|
||||||
globals.mapleader = " ";
|
globals.mapleader = " ";
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
|
|||||||
@ -1,10 +1,32 @@
|
|||||||
{ lib, ... }:
|
let
|
||||||
|
button = shortcut: text: action: {
|
||||||
|
type = "button";
|
||||||
|
val = text;
|
||||||
|
on_press.__raw = "function() vim.cmd([[${action}]]) end";
|
||||||
|
opts = {
|
||||||
|
keymap = [
|
||||||
|
"n"
|
||||||
|
shortcut
|
||||||
|
action
|
||||||
|
{
|
||||||
|
noremap = true;
|
||||||
|
silent = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
shortcut = shortcut;
|
||||||
|
position = "center";
|
||||||
|
width = 30;
|
||||||
|
align_shortcut = "right";
|
||||||
|
hl_shortcut = "Keyword";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
programs.nixvim.plugins = {
|
programs.nixvim.plugins = {
|
||||||
|
|
||||||
neocord.enable = true;
|
neocord.enable = true;
|
||||||
colorizer.enable = true;
|
colorizer.enable = true;
|
||||||
nvim-autopairs.enable = true;
|
nvim-autopairs.enable = true;
|
||||||
|
|
||||||
treesitter = {
|
treesitter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@ -13,47 +35,15 @@
|
|||||||
ignore_install = [ "ipkg" ];
|
ignore_install = [ "ipkg" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
render-markdown = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
bullet = {
|
|
||||||
icons = [
|
|
||||||
"◆ "
|
|
||||||
"• "
|
|
||||||
"• "
|
|
||||||
];
|
|
||||||
right_pad = 1;
|
|
||||||
};
|
|
||||||
code = {
|
|
||||||
above = " ";
|
|
||||||
below = " ";
|
|
||||||
border = "thick";
|
|
||||||
language_pad = 2;
|
|
||||||
left_pad = 2;
|
|
||||||
position = "right";
|
|
||||||
right_pad = 2;
|
|
||||||
sign = true;
|
|
||||||
width = "block";
|
|
||||||
};
|
|
||||||
heading = {
|
|
||||||
border = true;
|
|
||||||
position = "inline";
|
|
||||||
sign = false;
|
|
||||||
width = "full";
|
|
||||||
};
|
|
||||||
render_modes = true;
|
|
||||||
signs = {
|
|
||||||
enabled = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
nvim-tree.enable = true;
|
||||||
|
|
||||||
alpha = {
|
alpha = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.layout = [
|
settings.layout = [
|
||||||
{
|
{
|
||||||
type = "padding";
|
type = "padding";
|
||||||
val = 20;
|
val = 2;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "text";
|
type = "text";
|
||||||
@ -89,84 +79,24 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "group";
|
type = "group";
|
||||||
val = [
|
|
||||||
{
|
|
||||||
type = "button";
|
|
||||||
val = " new file ";
|
|
||||||
on_press.__raw = "function() vim.cmd[[ene]] end";
|
|
||||||
opts = {
|
|
||||||
position = "center";
|
|
||||||
hl = "Keyword";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "padding";
|
|
||||||
val = 2;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "button";
|
|
||||||
val = " search files ";
|
|
||||||
on_press.__raw = "function() vim.cmd[[Telescope find_files]] end";
|
|
||||||
opts = {
|
|
||||||
position = "center";
|
|
||||||
hl = "Keyword";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "padding";
|
|
||||||
val = 2;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "button";
|
|
||||||
val = " live grep ";
|
|
||||||
on_press.__raw = "function() vim.cmd[[Telescope live_grep]] end";
|
|
||||||
opts = {
|
|
||||||
position = "center";
|
|
||||||
hl = "Keyword";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "padding";
|
|
||||||
val = 2;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "button";
|
|
||||||
val = " quit neovim ";
|
|
||||||
on_press.__raw = "function() vim.cmd[[qa]] end";
|
|
||||||
opts = {
|
|
||||||
position = "center";
|
|
||||||
hl = "Keyword";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
opts = {
|
opts = {
|
||||||
position = "center";
|
position = "center";
|
||||||
hl = "Keyword";
|
|
||||||
};
|
};
|
||||||
|
val = [
|
||||||
|
(button "f" " Find File" "<cmd>lua Snacks.picker.files()<cr>")
|
||||||
|
(button "g" " Find Text" "<cmd>lua Snacks.picker.grep()<cr>")
|
||||||
|
(button "r" " Recent Files" "<cmd>lua Snacks.dashboard.pick('oldfiles')<cr>")
|
||||||
|
(button "q" " Quit" "<cmd>qa<cr>")
|
||||||
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
nvim-tree.enable = true;
|
snacks = {
|
||||||
telescope = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
pickers = {
|
notifier.enabled = true;
|
||||||
find_files = {
|
picker.enabled = true;
|
||||||
find_command = [
|
indent.enabled = true;
|
||||||
"fd"
|
|
||||||
"--unrestricted"
|
|
||||||
"--no-ignore"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
defaults = {
|
|
||||||
sorting_strategy = "ascending";
|
|
||||||
selection_caret = "> ";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
keymaps = {
|
|
||||||
"<leader>fg" = "live_grep";
|
|
||||||
"<leader>ff" = "find_files";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -178,21 +108,23 @@
|
|||||||
section_separators = {
|
section_separators = {
|
||||||
left = "";
|
left = "";
|
||||||
right = "";
|
right = "";
|
||||||
a = "";
|
|
||||||
b = "";
|
|
||||||
c = "";
|
|
||||||
x = "";
|
|
||||||
y = "";
|
|
||||||
z = "";
|
|
||||||
};
|
};
|
||||||
|
component_separators = {
|
||||||
|
left = "";
|
||||||
|
right = "";
|
||||||
|
}; # Fixed: Added missing braces
|
||||||
};
|
};
|
||||||
sections = {
|
sections = {
|
||||||
lualine_a = [ "mode" ];
|
lualine_a = [ "mode" ];
|
||||||
lualine_b = [ "branch" ];
|
lualine_b = [ "diagnostics" ];
|
||||||
lualine_c = [ "filename" ];
|
lualine_c = [
|
||||||
|
"filename"
|
||||||
|
"branch"
|
||||||
|
"navic"
|
||||||
|
];
|
||||||
lualine_x = [
|
lualine_x = [
|
||||||
"diagnostics"
|
|
||||||
"filetype"
|
"filetype"
|
||||||
|
"lsp_status"
|
||||||
];
|
];
|
||||||
lualine_y = [ "progress" ];
|
lualine_y = [ "progress" ];
|
||||||
lualine_z = [ "location" ];
|
lualine_z = [ "location" ];
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
@ -18,6 +19,14 @@
|
|||||||
dconf
|
dconf
|
||||||
fd
|
fd
|
||||||
ripgrep
|
ripgrep
|
||||||
|
ani-cli
|
||||||
|
element-desktop
|
||||||
|
gnome-tweaks
|
||||||
|
btop
|
||||||
|
(discord.override {
|
||||||
|
withOpenASAR = true; # can do this here too
|
||||||
|
withVencord = true;
|
||||||
|
})
|
||||||
];
|
];
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -134,7 +143,7 @@
|
|||||||
style = "underline";
|
style = "underline";
|
||||||
};
|
};
|
||||||
main = {
|
main = {
|
||||||
pad = "20x20";
|
pad = "14x14";
|
||||||
initial-window-size-pixels = "800x600";
|
initial-window-size-pixels = "800x600";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -155,10 +164,11 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs.vesktop = {
|
programs.vesktop = {
|
||||||
enable = true;
|
enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
staticTitle = true;
|
staticTitle = true;
|
||||||
arRPC = true;
|
arRPC = true;
|
||||||
|
customTitleBar = false;
|
||||||
};
|
};
|
||||||
vencord.settings.plugins = {
|
vencord.settings.plugins = {
|
||||||
MessageLogger.enabled = true;
|
MessageLogger.enabled = true;
|
||||||
|
|||||||
@ -1,16 +1,22 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
{
|
||||||
stylix = {
|
stylix = {
|
||||||
image = ./wallpaper.png;
|
image = ./wallpaper.png;
|
||||||
|
polarity = "dark";
|
||||||
targets = {
|
targets = {
|
||||||
waybar.enable = true;
|
waybar.enable = true;
|
||||||
waybar.addCss = false;
|
waybar.addCss = false;
|
||||||
hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
|
nixvim.enable = true;
|
||||||
|
foot.enable = true;
|
||||||
hyprland.hyprpaper.enable = false;
|
hyprland.hyprpaper.enable = false;
|
||||||
|
gnome.image.enable = false;
|
||||||
|
gnome.enable = true;
|
||||||
|
spicetify.enable = true;
|
||||||
|
fuzzel.enable = true;
|
||||||
|
dunst.enable = true;
|
||||||
|
vencord.enable = true;
|
||||||
|
vencord.fonts.enable = true;
|
||||||
|
gtksourceview.enable = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
105
home/waybar.nix
105
home/waybar.nix
@ -5,59 +5,60 @@
|
|||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
style = ''
|
style = ''
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background-color: transparent;
|
||||||
|
border-radius: ${builtins.toString config.wayland.windowManager.hyprland.settings.decoration.rounding};
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
|
||||||
background-color: transparent;
|
|
||||||
border-radius: ${builtins.toString config.wayland.windowManager.hyprland.settings.decoration.rounding};
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
all: unset;
|
all: unset;
|
||||||
padding: 1px 6px;
|
padding: 1px 3px;
|
||||||
margin: 2px;
|
color: alpha(@base05, 0.5);
|
||||||
color: alpha(@base05, 0.5);
|
border-radius: 1em;
|
||||||
border-radius: 1em;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
color: @base05;
|
color: @base05;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 2px;
|
padding: 2px 6px;
|
||||||
background-color: @base00;
|
background-color: @base00;
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
}
|
}
|
||||||
#mpris,
|
#mpris,
|
||||||
#backlight,
|
#backlight,
|
||||||
#tray,
|
#tray,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#window,
|
#window,
|
||||||
#upower,
|
#upower,
|
||||||
#clock,
|
#clock,
|
||||||
#power-profiles-daemon {
|
#power-profiles-daemon {
|
||||||
padding: 2px 10px;
|
padding: 2px 10px;
|
||||||
background-color: @base00;
|
background-color: @base00;
|
||||||
color: @base05;
|
color: @base05;
|
||||||
border-radius: ${builtins.toString config.wayland.windowManager.hyprland.settings.decoration.rounding};
|
border-radius: ${builtins.toString config.wayland.windowManager.hyprland.settings.decoration.rounding};
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray {
|
#tray {
|
||||||
padding: 0px 8px;
|
padding: 0px 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar.empty #window {
|
window#waybar.empty #window {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
padding: 0px;
|
||||||
#custom-sep {
|
margin: 0px;
|
||||||
color: alpha(@base05, 0.5);
|
}
|
||||||
}
|
#custom-sep {
|
||||||
|
color: alpha(@base05, 0.5);
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
@ -69,14 +70,14 @@
|
|||||||
spacing = 4;
|
spacing = 4;
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"hyprland/workspaces"
|
"hyprland/workspaces"
|
||||||
"hyprland/window"
|
|
||||||
"mpris"
|
"mpris"
|
||||||
];
|
];
|
||||||
|
modules-center = [
|
||||||
|
"hyprland/window"
|
||||||
|
];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"backlight"
|
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"upower"
|
"upower"
|
||||||
"power-profiles-daemon"
|
|
||||||
"clock"
|
"clock"
|
||||||
"tray"
|
"tray"
|
||||||
];
|
];
|
||||||
@ -95,6 +96,7 @@
|
|||||||
|
|
||||||
"tray" = {
|
"tray" = {
|
||||||
icon-size = 14;
|
icon-size = 14;
|
||||||
|
spacing = 5;
|
||||||
};
|
};
|
||||||
|
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
@ -110,11 +112,6 @@
|
|||||||
tooltip-spacing = 20;
|
tooltip-spacing = 20;
|
||||||
};
|
};
|
||||||
|
|
||||||
"power-profiles-daemon" = {
|
|
||||||
format = "{profile}";
|
|
||||||
format-tooltip = "Power profile: {profile}\nDriver: {driver}";
|
|
||||||
};
|
|
||||||
|
|
||||||
"backlight" = {
|
"backlight" = {
|
||||||
format = "{icon} {percent}%";
|
format = "{icon} {percent}%";
|
||||||
format-icons = [
|
format-icons = [
|
||||||
|
|||||||
17
stylix.nix
17
stylix.nix
@ -2,20 +2,14 @@
|
|||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
apple-fonts,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
stylix.opacity = {
|
stylix.opacity = {
|
||||||
terminal = 0.8;
|
terminal = 1.0;
|
||||||
desktop = 1.0;
|
desktop = 1.0;
|
||||||
popups = 1.0;
|
popups = 1.0;
|
||||||
};
|
};
|
||||||
stylix.cursor = {
|
|
||||||
name = "macOS";
|
|
||||||
package = pkgs.apple-cursor;
|
|
||||||
size = 24;
|
|
||||||
};
|
|
||||||
stylix.icons = {
|
stylix.icons = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dark = "Papirus-Dark";
|
dark = "Papirus-Dark";
|
||||||
@ -25,11 +19,14 @@
|
|||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnable = true;
|
autoEnable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark.yaml";
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
image = ./home/wallpaper.png;
|
image = ./home/wallpaper.png;
|
||||||
targets = {
|
targets = {
|
||||||
qt.platform = lib.mkForce "qtct";
|
qt.platform = lib.mkForce "qtct";
|
||||||
|
gnome.enable = true;
|
||||||
|
gtk.enable = true;
|
||||||
|
gtksourceview.enable = false;
|
||||||
};
|
};
|
||||||
fonts = {
|
fonts = {
|
||||||
sizes = {
|
sizes = {
|
||||||
@ -46,8 +43,8 @@
|
|||||||
name = config.stylix.fonts.monospace.name;
|
name = config.stylix.fonts.monospace.name;
|
||||||
};
|
};
|
||||||
monospace = {
|
monospace = {
|
||||||
package = apple-fonts.packages.${pkgs.system}.sf-mono-nerd;
|
package = pkgs.maple-mono.NF;
|
||||||
name = "SFMono Nerd Font";
|
name = "Maple Mono NF";
|
||||||
};
|
};
|
||||||
|
|
||||||
emoji = {
|
emoji = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user