2023-08-14 16:23:18 +03:00
|
|
|
inputs:
|
|
|
|
{ pkgs, lib, config, ... }:
|
2023-03-27 18:21:54 +03:00
|
|
|
let
|
|
|
|
nix-software-center = inputs.nix-software-center.packages.${pkgs.system}.nix-software-center;
|
2023-07-12 19:35:24 +03:00
|
|
|
/*
|
2023-03-28 23:24:44 +03:00
|
|
|
doom-emacs = inputs.nix-doom-emacs.packages.${pkgs.system}.default.override {
|
|
|
|
doomPrivateDir = ./doom.d;
|
|
|
|
};
|
2023-07-12 19:35:24 +03:00
|
|
|
*/
|
2023-07-09 10:41:18 +03:00
|
|
|
# eww-git = inputs.eww.packages.${pkgs.system}.default;
|
2023-05-06 21:04:27 +03:00
|
|
|
helix = inputs.helix.packages.${pkgs.system}.default;
|
2023-05-13 16:40:29 +03:00
|
|
|
# nixpkgs-master-pkgs = inputs.nixpkgs-master.legacyPackages.${pkgs.system};
|
|
|
|
# nixpkgs-master = inputs.nixpkgs-master;
|
|
|
|
nixpkgs-master = import inputs.nixpkgs-master {
|
|
|
|
inherit (config.nixpkgs) config overlays;
|
|
|
|
inherit (pkgs) system;
|
|
|
|
};
|
2023-06-05 15:02:59 +03:00
|
|
|
hypr-contrib = inputs.hypr-contrib.packages.${pkgs.system};
|
2023-06-21 14:14:11 +03:00
|
|
|
nh = inputs.nix-but-gigachad.packages.${pkgs.system}.default;
|
2023-03-27 18:21:54 +03:00
|
|
|
in {
|
2023-06-05 15:02:59 +03:00
|
|
|
imports = [
|
2023-06-24 00:16:37 +03:00
|
|
|
inputs.hyprland.homeManagerModules.default
|
2023-06-05 15:02:59 +03:00
|
|
|
];
|
2023-03-29 12:12:30 +03:00
|
|
|
# Allow unfree packages
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
2023-04-08 15:07:55 +03:00
|
|
|
nixpkgs.config.allowUnfreePredicate = (pkg: true);
|
2023-04-18 11:52:50 +03:00
|
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
|
|
"electron-21.4.0"
|
|
|
|
];
|
2023-05-13 16:40:29 +03:00
|
|
|
/*
|
2023-05-13 12:09:24 +03:00
|
|
|
nixpkgs-master.config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
allowUnfreePredicate = (pkg: true);
|
|
|
|
permittedInsecurePackages = [
|
|
|
|
"electron-21.4.0"
|
|
|
|
];
|
|
|
|
};
|
2023-05-13 16:40:29 +03:00
|
|
|
*/
|
2023-03-27 17:41:56 +03:00
|
|
|
home = {
|
|
|
|
username = "ultra";
|
|
|
|
homeDirectory = "/home/ultra/";
|
|
|
|
stateVersion = "22.11";
|
|
|
|
packages = with pkgs; [
|
2023-03-27 18:21:54 +03:00
|
|
|
firefox
|
2023-09-06 11:59:18 +03:00
|
|
|
tor-browser-bundle-bin
|
2023-03-27 18:21:54 +03:00
|
|
|
kate
|
|
|
|
distrobox
|
|
|
|
fish
|
|
|
|
nushell
|
|
|
|
git
|
|
|
|
bat
|
|
|
|
gnupg1
|
|
|
|
zoom-us
|
|
|
|
google-chrome
|
|
|
|
zoxide
|
|
|
|
starship
|
|
|
|
atuin
|
|
|
|
clang
|
2023-03-27 20:42:25 +03:00
|
|
|
(lib.hiPrio gcc)
|
2023-03-27 18:21:54 +03:00
|
|
|
exa
|
|
|
|
gnumake
|
|
|
|
plasma-browser-integration
|
|
|
|
libsForQt5.bismuth
|
|
|
|
whatsapp-for-linux
|
|
|
|
signal-desktop
|
|
|
|
nodejs
|
|
|
|
onlyoffice-bin
|
|
|
|
drawio
|
|
|
|
xclip
|
|
|
|
steam
|
|
|
|
packagekit
|
|
|
|
armcord
|
|
|
|
rnote
|
|
|
|
obsidian
|
|
|
|
gnome-obfuscate
|
|
|
|
microsoft-edge
|
2023-03-28 23:24:44 +03:00
|
|
|
# doom-emacs
|
2023-03-27 18:21:54 +03:00
|
|
|
ripgrep
|
2023-03-27 22:01:57 +03:00
|
|
|
w3m
|
2023-03-28 01:07:34 +03:00
|
|
|
github-cli
|
2023-03-28 14:03:03 +03:00
|
|
|
mc
|
2023-03-28 19:45:10 +03:00
|
|
|
zellij
|
|
|
|
lsd
|
2023-03-28 23:24:44 +03:00
|
|
|
tealdeer
|
2023-03-30 09:34:50 +03:00
|
|
|
fd
|
|
|
|
broot
|
|
|
|
fzf
|
|
|
|
bottom
|
|
|
|
hyperfine
|
|
|
|
procs
|
|
|
|
httpie
|
|
|
|
curlie
|
|
|
|
xh
|
2023-03-30 10:04:31 +03:00
|
|
|
du-dust
|
|
|
|
duf
|
2023-04-06 12:24:49 +03:00
|
|
|
virtualbox
|
2023-04-07 21:57:48 +03:00
|
|
|
spotify
|
2023-04-09 17:04:43 +03:00
|
|
|
appimage-run
|
2023-06-28 09:28:17 +03:00
|
|
|
xivlauncher # No longer fails to build!
|
|
|
|
# nixpkgs-master.xivlauncher # It's fixed on unstable, as well as master, but the unstable input doesn't get updated every 5 picoseconds
|
2023-04-24 23:47:09 +03:00
|
|
|
prismlauncher
|
|
|
|
ghostwriter
|
2023-04-29 17:57:18 +03:00
|
|
|
skypeforlinux
|
|
|
|
man-pages
|
2023-04-30 15:04:06 +03:00
|
|
|
ckan
|
2023-05-04 20:39:56 +03:00
|
|
|
cool-retro-term
|
2023-06-05 15:02:59 +03:00
|
|
|
wofi
|
|
|
|
hyprpaper
|
|
|
|
alacritty
|
|
|
|
tofi
|
|
|
|
dunst
|
|
|
|
wl-clipboard
|
|
|
|
polkit-kde-agent
|
|
|
|
grim
|
|
|
|
hypr-contrib.grimblast
|
|
|
|
hypr-contrib.scratchpad
|
|
|
|
kitty
|
|
|
|
waybar
|
2023-07-09 10:41:18 +03:00
|
|
|
/*
|
2023-06-24 00:16:37 +03:00
|
|
|
(eww-git.override {
|
|
|
|
withWayland = true;
|
|
|
|
})
|
2023-07-09 10:41:18 +03:00
|
|
|
*/
|
|
|
|
(eww.override { withWayland = true; })
|
2023-06-05 15:02:59 +03:00
|
|
|
notify-desktop
|
|
|
|
libnotify
|
|
|
|
xdg-desktop-portal-hyprland
|
2023-06-05 18:37:12 +03:00
|
|
|
jq
|
2023-06-10 18:43:51 +03:00
|
|
|
libsForQt5.alligator
|
2023-06-11 22:00:53 +03:00
|
|
|
thunderbird
|
2023-06-15 21:05:09 +03:00
|
|
|
brave
|
2023-06-21 14:14:11 +03:00
|
|
|
nh
|
2023-06-23 01:24:33 +03:00
|
|
|
irssi
|
2023-06-24 00:16:37 +03:00
|
|
|
syncthing
|
2023-06-28 09:08:39 +03:00
|
|
|
# android-studio # literally proprietary bloat, I don't want that garbage on my system.
|
|
|
|
flutter
|
|
|
|
comic-mono
|
|
|
|
screen
|
2023-06-28 12:01:52 +03:00
|
|
|
moonlander
|
2023-07-13 23:33:19 +03:00
|
|
|
amfora
|
2023-08-14 16:23:18 +03:00
|
|
|
weechat
|
|
|
|
filezilla
|
|
|
|
fluffychat
|
2023-09-06 11:59:18 +03:00
|
|
|
akregator
|
|
|
|
bitwarden
|
2023-09-06 12:00:53 +03:00
|
|
|
schildichat-desktop
|
|
|
|
xonsh
|
2023-09-07 11:38:04 +03:00
|
|
|
kiwix
|
2023-03-27 17:41:56 +03:00
|
|
|
];
|
|
|
|
};
|
2023-06-05 15:02:59 +03:00
|
|
|
|
2023-08-14 16:23:18 +03:00
|
|
|
xdg.configFile."hypr/hyprland.conf".source = ./configs/hyprland/hyprland.conf;
|
|
|
|
xdg.configFile."presets/user/everblush.json".source = ./configs/presets/everblush.json;
|
2023-03-27 18:21:54 +03:00
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
# fish.enable = true;
|
2023-05-14 16:13:27 +03:00
|
|
|
|
|
|
|
# Helix config
|
2023-05-14 15:18:27 +03:00
|
|
|
helix = {
|
|
|
|
enable = true;
|
|
|
|
package = helix;
|
2023-05-20 19:40:15 +03:00
|
|
|
languages = {
|
|
|
|
language-server = with pkgs; {
|
|
|
|
cpp.command = "${clang-tools}/bin/clangd";
|
|
|
|
c.command = "${clang-tools}/bin/clangd";
|
|
|
|
nix.command = "${nil}/bin/nil";
|
|
|
|
};
|
|
|
|
language = [
|
|
|
|
{
|
|
|
|
name = "cpp";
|
|
|
|
scope = "source.cpp";
|
|
|
|
indent = {
|
|
|
|
tab-width = 4;
|
|
|
|
unit = " ";
|
|
|
|
};
|
|
|
|
# language-server.command = "clangd";
|
|
|
|
file-types = [ "cpp" ];
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "c";
|
|
|
|
scope = "source.c";
|
|
|
|
indent = {
|
|
|
|
tab-width = 4;
|
|
|
|
unit = " ";
|
|
|
|
};
|
|
|
|
# language-server.command = "clangd";
|
|
|
|
file-types = [ "c" ];
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "nix";
|
|
|
|
scope = "source.nix";
|
|
|
|
indent = {
|
|
|
|
tab-width = 4;
|
|
|
|
unit = " ";
|
|
|
|
};
|
|
|
|
# language-server.command = "nil";
|
|
|
|
file-types = [ "nix" ];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2023-05-14 15:18:27 +03:00
|
|
|
settings = {
|
|
|
|
theme = "everblush";
|
|
|
|
editor = {
|
|
|
|
line-number = "relative";
|
|
|
|
mouse = true;
|
|
|
|
cursor-shape = {
|
|
|
|
insert = "bar";
|
|
|
|
normal = "block";
|
|
|
|
select = "underline";
|
|
|
|
};
|
|
|
|
file-picker.hidden = false;
|
2023-05-14 16:13:27 +03:00
|
|
|
auto-save = true;
|
|
|
|
true-color = true;
|
2023-05-14 15:18:27 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-06-24 00:16:37 +03:00
|
|
|
|
|
|
|
|
2023-03-27 18:21:54 +03:00
|
|
|
};
|
2023-06-23 12:16:53 +03:00
|
|
|
services = {
|
|
|
|
dunst.enable = false;
|
|
|
|
};
|
2023-06-24 00:16:37 +03:00
|
|
|
systemd.user = {
|
|
|
|
services = {
|
|
|
|
dunst.Unit = {
|
|
|
|
After = lib.mkForce [];
|
|
|
|
WantedBy = [ "hyprland-session.target" ];
|
|
|
|
PartOf = lib.mkForce [ "hyprland-session.target" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.hyprland;
|
|
|
|
extraConfig = builtins.readFile ./configs/hyprland/hyprland.conf;
|
|
|
|
systemdIntegration = true;
|
|
|
|
};
|
2023-06-05 15:02:59 +03:00
|
|
|
}
|