diff --git a/assets/FATEINVERSION.png b/assets/FATEINVERSION.png new file mode 100644 index 0000000..fcbb82a Binary files /dev/null and b/assets/FATEINVERSION.png differ diff --git a/assets/desktop.png b/assets/desktop.png new file mode 100644 index 0000000..0bfd5fb Binary files /dev/null and b/assets/desktop.png differ diff --git a/assets/scenes.jpg b/assets/scenes.jpg new file mode 100644 index 0000000..d29ba78 Binary files /dev/null and b/assets/scenes.jpg differ diff --git a/assets/twinkbook.png b/assets/twinkbook.png new file mode 100644 index 0000000..a8fd9a7 Binary files /dev/null and b/assets/twinkbook.png differ diff --git a/assets/waybar.gif b/assets/waybar.gif new file mode 100644 index 0000000..f004e9a Binary files /dev/null and b/assets/waybar.gif differ diff --git a/base/fonts.nix b/base/fonts.nix new file mode 100644 index 0000000..f8ee4b5 --- /dev/null +++ b/base/fonts.nix @@ -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 + ]; +}; diff --git a/base/greetd.nix b/base/greetd.nix new file mode 100644 index 0000000..dfb5ab9 --- /dev/null +++ b/base/greetd.nix @@ -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;" + }; +} diff --git a/base/overrides.nix b/base/overrides.nix new file mode 100644 index 0000000..33e4721 --- /dev/null +++ b/base/overrides.nix @@ -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 + ]; + }) + ]; +} diff --git a/base/ssh.nix b/base/ssh.nix new file mode 100644 index 0000000..a491825 --- /dev/null +++ b/base/ssh.nix @@ -0,0 +1,10 @@ +{ + networking.firewall.allowedTCPPorts = [22]; + services.openssh = { + enable = true; + settings = { + passwordAuthentication = false; + KbdInteractiveAuthentication = false; + }; + }; +}; diff --git a/base/substituters.nix b/base/substituters.nix new file mode 100644 index 0000000..82f0472 --- /dev/null +++ b/base/substituters.nix @@ -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=" + ]; +}; diff --git a/base/todo b/base/todo new file mode 100644 index 0000000..962aa92 --- /dev/null +++ b/base/todo @@ -0,0 +1 @@ +drop config files in diff --git a/home/nixvim/default.nix b/home/nixvim/default.nix new file mode 100644 index 0000000..255d35d --- /dev/null +++ b/home/nixvim/default.nix @@ -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 = { + "" = "cmp.mapping.select_next_item()"; + "" = "cmp.mapping.select_prev_item()"; + "" = "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"; + }; + }; + }; + }; + }; +} diff --git a/home/packages.nix b/home/packages.nix new file mode 100644 index 0000000..a1ee4a2 --- /dev/null +++ b/home/packages.nix @@ -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 + ]; +} diff --git a/home/syncthing.nix b/home/syncthing.nix new file mode 100644 index 0000000..ec02d09 --- /dev/null +++ b/home/syncthing.nix @@ -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" ]; + }; + }; + }; + }; +} diff --git a/home/theming.nix b/home/theming.nix new file mode 100644 index 0000000..99c6203 --- /dev/null +++ b/home/theming.nix @@ -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"; + }; +} diff --git a/home/todo b/home/todo new file mode 100644 index 0000000..9df0279 --- /dev/null +++ b/home/todo @@ -0,0 +1 @@ +niri, default.nix, waybar diff --git a/todo b/todo new file mode 100644 index 0000000..1beaa13 --- /dev/null +++ b/todo @@ -0,0 +1 @@ +add all hosts, add configs, finish home manager setup