more work, start adding basic paths and files where i see fit

This commit is contained in:
cydiralis 2025-06-24 14:39:33 +01:00
parent 149918fdbc
commit b43b8f0464
No known key found for this signature in database
17 changed files with 273 additions and 0 deletions

BIN
assets/FATEINVERSION.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 MiB

BIN
assets/desktop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

BIN
assets/scenes.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

BIN
assets/twinkbook.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

BIN
assets/waybar.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

14
base/fonts.nix Normal file
View file

@ -0,0 +1,14 @@
{pkgs, ...}:{
fonts.packages = with pkgs; [
font-awesome
jetbrains-mono
nerd-fonts.iosevka
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
source-han-sans
source-han-sans-japanese
source-han-serif-japanese
comfortaa
];
};

19
base/greetd.nix Normal file
View file

@ -0,0 +1,19 @@
{pkgs, ...}:{
services.greetd = {
enable = true;
restart = true;
settings.default-session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd niri-session";
user = "greeter";
};
};
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "tty";
StandardError = "journal";
TTYReset = "true";
TTYHangup = "true";
TTYVTDisallocate = "true;"
};
}

43
base/overrides.nix Normal file
View file

@ -0,0 +1,43 @@
{pkgs, ...}:{
environment.systemPackages = with pkgs; [
(envision.overrideAttrs {
buildInputs = [pkgs.mesa];
})
(lutris.override {
extraPkgs = pkgs: [
wineWowPackages.waylandFull
gamescope
antimicrox
sc-controller
winetricks
];
extraLibraries = pkgs: [
nspr
xorg.libXdamage
xorg.libXfixes
openal
gnutls
libidn2
libssh2
libpsl
brotli
pkgsi686Linux.expat
pkgsi686Linux.openal
pkgsi686Linux.nvidia_cg_toolkit
pkgsi686Linux.tcp_wrappers
pkgsi686Linux.libasyncns
pkgsi686Linux.libapparmor
pkgsi686Linux.xorg.libXrandr
pkgsi686Linux.xorg.libxcb
pkgsi686Linux.xorg.libXi
pkgsi686Linux.libsndfile
pkgsi686Linux.libmpg123
# gnome2.GConf
icu
openldap
];
})
];
}

10
base/ssh.nix Normal file
View file

@ -0,0 +1,10 @@
{
networking.firewall.allowedTCPPorts = [22];
services.openssh = {
enable = true;
settings = {
passwordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
};

16
base/substituters.nix Normal file
View file

@ -0,0 +1,16 @@
{inputs, config, pkgs, lib, ...}; {
nix.settings.substituters = [
"https://nix-community.cachix.org"
"https://nixpkgs-wayland.cachix.org"
"https://cache.garnix.io"
"https://niri.cachix.org"
];
nix-settings.trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964="
];
};

1
base/todo Normal file
View file

@ -0,0 +1 @@
drop config files in

44
home/nixvim/default.nix Normal file
View file

@ -0,0 +1,44 @@
{vars, lib, ...}:{
programs.nixvim = {
enable = true;
colorschemes.catppuccin.enable = true;
colorschemes.catppuccin.settings.flavour = "mocha";
plugins = {
treesitter.enable = true;
fidget.enable = true;
lualine.enable = true;
lualine.settings.options.theme = "dracula";
cmp = {
enable = true;
settings = {
performance.throttle = 30;
sources = [{name = "nvim_lsp";}{name = "luasnip";}{name = "path";}{name = "buffer";}];
mapping = {
"<Tab>" = "cmp.mapping.select_next_item()";
"<S-Tab>" = "cmp.mapping.select_prev_item()";
"<C-space>" = "cmp.mapping.confirm({ select = false })";
};
};
};
lsp = {
enable = true;
servers.cssls.enable = true;
servers.clangd.enable = true;
servers.pylsp.enable = true;
servers.html = {
enable = true;
};
servers.nixd = {
enable = true;
extraOptions.offset_encoding = "utf-8";
settings.nixpkgs.expr = "import (builtins.getFlake \"/home/${vars.user}/.config/nixos\").inputs.nixpkgs {}";
settings.options = {
nixos.expr = "(builtins.getFlake \"/home/${vars.user}/.config/nixos\").nixosConfigurations.callisto.options";
home-manager.expr = "(builtins.getFlake \"/home/${vars.user}/.config/nixos\").nixosConfigurations.callisto.options.home-manager.users.type.getSubOptions []";
#niri.expr = "(builtins.getFlake \"/home/${vars.user}/.config/nixos\").nixosConfigurations.callisto.config.home-manager.users.${vars.user}.programs.niri.settings";
};
};
};
};
};
}

50
home/packages.nix Normal file
View file

@ -0,0 +1,50 @@
{pkgs, vars, ...}:{
home.packages = with pkgs; [
blender-hip
brightnessctl
bs-manager
clonehero
comma
emacs
fastfetch
firefox
fzf
gamescope
grayjay
gimp
gzdoom
hyfetch
iamb
inkscape
kanshi
kdePackages.ark
libgpod
libimobiledevice
libreoffice
mpc
nemo
nextcloud-client
openrct2
openscad
openutau
pamixer
pavucontrol
prismlauncher
prusa-slicer
ripcord
swaybg
swaynotificationcenter
tetrio-desktop
transmission_4-qt
udiskie
v4l-utils
vesktop
vlc
wl-clipboard
wlr-randr
wttrbar
wlx-overlay-s
xfce.ristretto
xfce.tumbler
];
}

39
home/syncthing.nix Normal file
View file

@ -0,0 +1,39 @@
{
services.syncthing = {
overrideDevices = true;
overrideFolders = true;
settings = {
devices = {
"hypermac" = { id = "XVY5YLM-QETCA4H-KT4XBEH-IR4U47O-CJCJ5YM-DPVWQQX-VHEK4MS-GJCMIQ2"; };
"adventurer" = { id = "LLKP3BJ-5RBN5KR-63NXUCW-JC4FMAX-QOXTJBK-65OHI7V-OKZQPTD-5FJIIAB"; };
"callisto" = { id = "NPXGWEK-JP4C2NM-QZZPBYI-ISAXIZK-ORCNVGO-C4GFRHJ-SWWFQGC-F5JAMQC"; };
"traveler" = { id = "JVNNE3V-IMVW2YL-JKEWUJZ-N5PU4NE-3YQDEU7-77ZHIP3-ADW3LAA-NODOVA3"; };
};
folders = {
"General" = {
path = "/home/maya/sync/general";
devices = [ "callisto" "hypermac" "adventurer" "traveler" ];
};
"Music" = {
path = "/home/maya/Music";
devices = [ "callisto" "hypermac" "adventurer" "traveler" ];
};
"College" = {
path = "/home/maya/sync/college";
devices = [ "callisto" "hypermac" "adventurer" "traveler" ];
versioning = {
type = "staggered";
params = {
cleanInterval = "3600";
maxAge = "15768000";
};
};
};
"PrusaSlicer" = {
path = "/home/maya/.config/PrusaSlicer";
devices = [ "callisto" "hypermac" "adventurer" "traveler" ];
};
};
};
};
}

35
home/theming.nix Normal file
View file

@ -0,0 +1,35 @@
{pkgs, ...}:{
home.pointerCursor = {
gtk.enable = true;
x11.enable = true;
package = pkgs.catppuccin-cursors.mochaMauve;
name = "catppuccin-mocha-mauve-cursors";
size = 24;
};
catppuccin = {
enable = true;
gtk.enable = false;
kvantum.enable = true;
waybar.enable = false;
};
gtk = {
#catppuccin.enable = false;
enable = true;
theme = {
name = "catppuccin-mocha-mauve-standard";
package = pkgs.catppuccin-gtk.override {
accents = ["mauve"];
size = "standard";
variant = "mocha";
};
};
iconTheme.package = pkgs.adwaita-icon-theme;
iconTheme.name = "Adwaita";
};
qt = {
enable = true;
style.name = "kvantum";
#style.catppuccin.enable = true;
platformTheme.name = "kvantum";
};
}

1
home/todo Normal file
View file

@ -0,0 +1 @@
niri, default.nix, waybar

1
todo Normal file
View file

@ -0,0 +1 @@
add all hosts, add configs, finish home manager setup