2024-02-25 15:34:13 -09:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Home Manager needs a bit of information about you and the
|
|
|
|
# paths it should manage.
|
|
|
|
home.username = "mir";
|
|
|
|
home.homeDirectory = "/home/mir";
|
|
|
|
home.packages = [
|
|
|
|
pkgs.btop
|
|
|
|
pkgs.firefox
|
|
|
|
pkgs.git
|
|
|
|
pkgs.killall
|
|
|
|
pkgs.gdb
|
|
|
|
pkgs.neofetch
|
|
|
|
pkgs.hyfetch
|
|
|
|
pkgs.file
|
|
|
|
pkgs.findutils
|
|
|
|
pkgs.wget
|
|
|
|
pkgs.yt-dlp
|
|
|
|
pkgs.mpv
|
2024-02-25 21:51:21 -09:00
|
|
|
pkgs.nerdfonts
|
2024-02-25 15:34:13 -09:00
|
|
|
# pkgs.gnupg
|
|
|
|
# pkgs.python3
|
2024-03-02 14:13:44 -09:00
|
|
|
# (pkgs.python3.withPackages(
|
|
|
|
# ps: with ps; [
|
|
|
|
# epc sexpdata six pynput inflect
|
|
|
|
# pyqt6
|
|
|
|
# # pyqt6-qt6
|
|
|
|
# pyqt6-sip]))
|
2024-02-25 15:34:13 -09:00
|
|
|
# (pkgs.emacsWithPackagesFromUsePackage {
|
|
|
|
# package = pkgs.emacs29-pgtk;
|
|
|
|
# config = ~/.emacs.d/init.el;
|
|
|
|
# extraEmacsPackages = epkgs: [
|
|
|
|
# epkgs.dash;
|
|
|
|
# ]
|
|
|
|
# })
|
|
|
|
# pkgs.fetchFromGitHub
|
|
|
|
];
|
|
|
|
|
|
|
|
# This value determines the Home Manager release that your
|
|
|
|
# configuration is compatible with. This helps avoid breakage
|
|
|
|
# when a new Home Manager release introduces backwards
|
|
|
|
# incompatible changes.
|
|
|
|
#
|
|
|
|
# You can update Home Manager without changing this value. See
|
|
|
|
# the Home Manager release notes for a list of state version
|
|
|
|
# changes in each release.
|
|
|
|
home.stateVersion = "23.05";
|
|
|
|
# nix = {
|
|
|
|
# package = pkgs.nix;
|
|
|
|
# settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
# };
|
|
|
|
|
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
programs.home-manager = {
|
|
|
|
enable = true;
|
|
|
|
# version = "23.11";
|
|
|
|
};
|
|
|
|
# environment.variables = rec {
|
|
|
|
# EDITOR = "emacs -nw";
|
|
|
|
# };
|
|
|
|
# environment.systemPackages = with pkgs; [
|
|
|
|
# (python3.withPackages(
|
|
|
|
# ps: with ps; [epc sexpdata six pynput inflect PyQt6 PyQt6-Qt6 PyQt6-sip]))
|
|
|
|
# ];
|
2024-02-25 21:49:40 -09:00
|
|
|
fonts.fontconfig.enable = true;
|
2024-02-25 15:34:13 -09:00
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "mir";
|
|
|
|
userEmail = "mirmarq428@gmail.com";
|
|
|
|
};
|
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
programs.bash = {
|
|
|
|
enable = true;
|
|
|
|
initExtra = ''
|
|
|
|
export EDITOR=emacs\ -nw
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
# programs.gdb = {
|
|
|
|
# enable = true;
|
|
|
|
# };
|
2024-03-02 17:38:48 -09:00
|
|
|
# home.file.".local/src/emacs".source = builtins.fetchGit {
|
|
|
|
# url = "git:git.marq42.xyz/mir/emacs";
|
|
|
|
# };
|
2024-02-25 15:34:13 -09:00
|
|
|
# programs.dconf.enable = true;
|
|
|
|
home.file.".local/share/backgrounds/mojave.jpg".source = builtins.fetchurl {
|
|
|
|
url = "https://www.teahub.io/photos/full/154-1542362_mac-os-mojave-screenshot.jpg";
|
|
|
|
sha256 = "0vrcn44aibdsl1hc6n0jbp0znpwhcb4hyhbzs5690i1nrapcmyka";
|
|
|
|
};
|
|
|
|
dconf.settings = {
|
2024-02-28 15:00:06 -09:00
|
|
|
"org/gnome/desktop/interface" = {
|
|
|
|
"color-scheme" = "prefer-dark";
|
|
|
|
};
|
2024-02-25 15:34:13 -09:00
|
|
|
"org/gnome/desktop/background" = {
|
|
|
|
"picture-uri" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
|
2024-02-28 15:00:06 -09:00
|
|
|
"picture-uri-dark" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
|
2024-02-25 15:34:13 -09:00
|
|
|
};
|
|
|
|
"org/gnome/desktop/screensaver" = {
|
|
|
|
"picture-uri" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
|
2024-02-28 15:00:06 -09:00
|
|
|
"picture-uri-dark" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
|
2024-02-25 15:34:13 -09:00
|
|
|
};
|
|
|
|
"org/gnome/desktop/input-sources" = {
|
|
|
|
"xkb-options" = [ "caps:escape" ];
|
|
|
|
};
|
2024-02-26 18:20:52 -09:00
|
|
|
"org/gnome/settings-daemon/plugins/power" = {
|
2024-02-27 11:43:59 -09:00
|
|
|
"idle-dim" = false;
|
2024-02-27 11:48:25 -09:00
|
|
|
"sleep-inactive-ac-type" = "nothing";
|
2024-02-26 18:20:52 -09:00
|
|
|
};
|
|
|
|
"org/gnome/gnome-system-monitor" = {
|
|
|
|
"current-tab" = "resources";
|
|
|
|
};
|
2024-02-27 11:41:26 -09:00
|
|
|
"org/gnome/desktop/interface" = {
|
2024-02-27 11:48:25 -09:00
|
|
|
"show-battery-percentage" = true;
|
|
|
|
};
|
|
|
|
"org/gnome/desktop/session" = {
|
2024-02-27 12:37:13 -09:00
|
|
|
"idle-delay" = 0;
|
2024-02-27 11:41:26 -09:00
|
|
|
};
|
2024-02-25 15:34:13 -09:00
|
|
|
};
|
|
|
|
|
|
|
|
programs.gpg = {
|
2024-02-25 21:50:01 -09:00
|
|
|
enable = true;
|
2024-03-02 13:38:45 -09:00
|
|
|
# package = pkgs.gnupg.overrideAttrs (orig: {
|
|
|
|
# version = "2.4.0";
|
|
|
|
# src = pkgs.fetchurl {
|
|
|
|
# url = "mirror://gnupg/gnupg/gnupg-2.4.0.tar.bz2";
|
|
|
|
# hash = "sha256-HXkVjdAdmSQx3S4/rLif2slxJ/iXhOosthDGAPsMFIM=";
|
|
|
|
# };
|
|
|
|
# });
|
2024-02-25 21:50:01 -09:00
|
|
|
# agent = {
|
|
|
|
# pinentryFlavor = "gnome3";
|
|
|
|
# };
|
2024-02-25 15:34:13 -09:00
|
|
|
};
|
|
|
|
|
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
defaultCacheTtl = 1800;
|
|
|
|
enableSshSupport = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|