2023-05-13 16:40:29 +03:00
|
|
|
{ pkgs, inputs, 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-03-28 23:24:44 +03:00
|
|
|
doom-emacs = inputs.nix-doom-emacs.packages.${pkgs.system}.default.override {
|
|
|
|
doomPrivateDir = ./doom.d;
|
|
|
|
};
|
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 = [
|
|
|
|
inputs.nix-doom-emacs.hmModule
|
|
|
|
# inputs.hyprland.homeManagerModules.default
|
|
|
|
];
|
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
|
|
|
|
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-05-13 11:38:16 +03:00
|
|
|
# xivlauncher # Still fails to build :(
|
2023-05-13 16:40:29 +03:00
|
|
|
nixpkgs-master.xivlauncher # It's fixed on master
|
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
|
|
|
|
eww-wayland
|
|
|
|
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-03-27 17:41:56 +03:00
|
|
|
];
|
|
|
|
};
|
2023-06-05 15:02:59 +03:00
|
|
|
|
|
|
|
# ${config.xdg.configFile}."hypr/hyprland.conf".source = ./configs/hyprland/hyprland.conf;
|
2023-03-27 18:21:54 +03:00
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
2023-03-28 13:58:34 +03:00
|
|
|
doom-emacs = {
|
2023-04-18 11:52:50 +03:00
|
|
|
enable = false; # takes a lot of time to compile
|
2023-03-28 13:58:34 +03:00
|
|
|
doomPrivateDir = ./doom.d;
|
|
|
|
};
|
2023-03-27 18:21:54 +03:00
|
|
|
# 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-05 15:02:59 +03:00
|
|
|
/*
|
|
|
|
hyprland = {
|
|
|
|
enable = true;
|
|
|
|
extraConfig = builtins.readFile ./configs/hyprland/hyprland.conf;
|
|
|
|
};
|
|
|
|
*/
|
2023-03-27 18:21:54 +03:00
|
|
|
};
|
2023-06-05 15:02:59 +03:00
|
|
|
|
|
|
|
}
|