home-manager: removed common.nix, split gnome.nix into separate file

This commit is contained in:
Aly Raffauf 2024-03-23 15:19:23 -04:00
parent 7b1991b2aa
commit af4ac64135
3 changed files with 23 additions and 30 deletions

View file

@ -2,32 +2,27 @@
{ {
imports = [ imports = [
./common.nix ./gnome.nix
./shell.nix ./shell.nix
]; ];
# TODO please change the username & home directory to your own
home.username = "aly"; home.username = "aly";
home.homeDirectory = "/home/aly"; home.homeDirectory = "/home/aly";
services.syncthing.enable = true; home.stateVersion = "23.11";
programs.home-manager.enable = true;
# Packages that should be installed to the user profile. # Packages that should be installed to the user profile.
home.packages = with pkgs; [ home.packages = with pkgs; [
# warp-terminal # warp-terminal
# backblaze-b2
curl
discord discord
gh
git
github-desktop github-desktop
obsidian obsidian
syncthing
vscode vscode
wget
nixfmt
]; ];
services.syncthing.enable = true;
programs.alacritty = { programs.alacritty = {
enable = true; enable = true;
settings = { settings = {

View file

@ -37,16 +37,4 @@
uris = ["qemu:///system"]; uris = ["qemu:///system"];
}; };
}; };
# 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.11";
# Let home Manager install and manage itself.
programs.home-manager.enable = true;
} }

View file

@ -1,6 +1,16 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
home.packages = with pkgs; [
# backblaze-b2
curl
gh
git
wget
nixfmt
];
programs.bash = { programs.bash = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
@ -13,21 +23,21 @@
enable = true; enable = true;
extraPackages = ( epkgs: (with epkgs; [ extraPackages = ( epkgs: (with epkgs; [
better-defaults better-defaults
markdown-mode
nix-mode
org org
org-bullets org-bullets
org-journal org-journal
org-roam org-roam
nix-mode ox-pandoc
treemacs
treemacs-tab-bar
treemacs-projectile
projectile projectile
python
treemacs
treemacs-projectile
treemacs-tab-bar
use-package
yaml yaml
yaml-mode yaml-mode
markdown-mode
ox-pandoc
use-package
python
]) ])
); );
package = pkgs.emacs-nox; package = pkgs.emacs-nox;