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-03-27 18:21:54 +03:00
|
|
|
in {
|
2023-03-28 13:58:34 +03:00
|
|
|
imports = [ inputs.nix-doom-emacs.hmModule ];
|
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-05-14 15:18:27 +03:00
|
|
|
# helix
|
2023-03-27 17:41:56 +03:00
|
|
|
];
|
|
|
|
};
|
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;
|
|
|
|
languages = [
|
|
|
|
{
|
|
|
|
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" ];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
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-03-27 18:21:54 +03:00
|
|
|
};
|
2023-03-27 17:41:56 +03:00
|
|
|
}
|