1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Antoine Langlois 0c5c6de3cf
add espanso 2024-02-23 11:30:36 +01:00
Antoine Langlois 7d19148426
refactor hm nixos 2024-02-23 11:27:50 +01:00
3 changed files with 62 additions and 80 deletions

View File

@ -74,22 +74,6 @@
"type": "github"
}
},
"pr-hoppscotch": {
"locked": {
"lastModified": 1708621173,
"narHash": "sha256-ZgakQyQVYxpr7buwPyza9HIUhkpdXRRuXyaaYsx22ao=",
"owner": "datahearth",
"repo": "nixpkgs",
"rev": "4375e546f4de4652970e9af54625dad44515aed0",
"type": "github"
},
"original": {
"owner": "datahearth",
"repo": "nixpkgs",
"rev": "4375e546f4de4652970e9af54625dad44515aed0",
"type": "github"
}
},
"pr-nosql-workbench": {
"locked": {
"lastModified": 1708552631,
@ -112,7 +96,6 @@
"home-manager": "home-manager",
"nix-darwin": "nix-darwin",
"nixpkgs": "nixpkgs",
"pr-hoppscotch": "pr-hoppscotch",
"pr-nosql-workbench": "pr-nosql-workbench"
}
},

View File

@ -15,7 +15,6 @@
# Pending PRs
pr-nosql-workbench.url = "github:datahearth/nixpkgs/8d4967078aca101d396e651ac894c63d0a3bee48";
pr-hoppscotch.url = "github:datahearth/nixpkgs/4375e546f4de4652970e9af54625dad44515aed0";
};
outputs = inputs@{ self, nixpkgs, nix-darwin, home-manager, flake-utils, ... }:
@ -25,9 +24,6 @@
system = prev.system;
config.allowUnfree = true;
};
pr-hoppscotch = import inputs.pr-hoppscotch {
system = prev.system;
};
};
in
{

View File

@ -1,29 +1,26 @@
{ pkgs, lib, ... }:
{
# Almost static information
home.username = "datahearth";
home.homeDirectory = "/home/datahearth";
home.stateVersion = "23.11";
programs.home-manager.enable = true;
imports = [
imports = let
modules_base_path = ../../../modules;
modules_hm_path = modules_base_path + "/home-manager";
in [
# Reusable modules
../../../modules/home-manager/alacritty.nix
../../../modules/home-manager/zsh.nix
../../../modules/home-manager/git.nix
../../../modules/home-manager/ssh.nix
../../../modules/home-manager/go.nix
../../../modules/home-manager/utils.nix
../../../modules/home-manager/services/dunst.nix
# ../../../modules/home-manager/services/espanso.nix
../../../modules/home-manager/services/gpg_ssh_agent.nix
"${modules_hm_path}/alacritty.nix"
"${modules_hm_path}/zsh.nix"
"${modules_hm_path}/git.nix"
"${modules_hm_path}/ssh.nix"
"${modules_hm_path}/go.nix"
"${modules_hm_path}/utils.nix"
"${modules_hm_path}/services/dunst.nix"
"${modules_hm_path}/services/espanso.nix"
"${modules_hm_path}/services/gpg_ssh_agent.nix"
../../../modules/home-manager/hyprland
../../../modules/home-manager/waybar
../../../modules/home-manager/swaylock
../../../modules/home-manager/looking-glass
../../../modules/home-manager/vscode
../../../modules/home-manager/tofi
"${modules_hm_path}/hyprland"
"${modules_hm_path}/waybar"
"${modules_hm_path}/swaylock"
"${modules_hm_path}/looking-glass"
"${modules_hm_path}/vscode"
"${modules_hm_path}/tofi"
# Shared home-manager configuration between systems
../../shared/hm.nix
@ -32,49 +29,57 @@
./services.nix
];
home.packages = with pkgs; [
# GUI Applications
firefox
discord
spotify
gparted
satty
nextcloud-client
signal-desktop
vlc
# Almost static information
home = {
username = "datahearth";
homeDirectory = "/home/datahearth";
stateVersion = "23.11";
# CLI tools
cliphist
gnupg
grim
hyprshot
pciutils
python3
slurp
swaynotificationcenter
swww
tofi
waybar
wl-clipboard
iotop
sessionVariables = {
XDG_CACHE_HOME = "$HOME/.cache";
XDG_CONFIG_HOME = "$HOME/.config";
XDG_DATA_HOME = "$HOME/.local/share";
XDG_STATE_HOME = "$HOME/.local/state";
};
# Libraries
libnotify
packages = with pkgs; [
# GUI Applications
firefox
discord
spotify
gparted
satty
nextcloud-client
signal-desktop
vlc
# Overlay
pr-nosql.nosql-workbench
pr-hoppscotch.hoppscotch
];
# CLI tools
cliphist
gnupg
grim
hyprshot
pciutils
python3
slurp
swaynotificationcenter
swww
tofi
waybar
wl-clipboard
iotop
home.sessionVariables = {
XDG_CACHE_HOME = "$HOME/.cache";
XDG_CONFIG_HOME = "$HOME/.config";
XDG_DATA_HOME = "$HOME/.local/share";
XDG_STATE_HOME = "$HOME/.local/state";
# Libraries
libnotify
# Overlay
pr-nosql.nosql-workbench
];
};
programs = {
home-manager.enable = true;
cava.enable = true;
git.signing.key = "A12925470298BFEE7EE092B3946E2D0C410C7B3D";
gpg = {
enable = true;
@ -82,8 +87,6 @@
mutableTrust = true;
};
git.signing.key = "A12925470298BFEE7EE092B3946E2D0C410C7B3D";
vscode = {
extensions = with pkgs.vscode-extensions; [
ms-vsliveshare.vsliveshare