nixos-config/home-manager/default.nix

171 lines
2.9 KiB
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
2022-01-25 00:31:56 +00:00
let
home-manager = (import ../nix/sources.nix).home-manager;
unstable = import <nixos-unstable> { };
2022-02-06 23:01:27 +00:00
in
{
2022-01-25 00:31:56 +00:00
imports = [
"${home-manager}/nixos"
];
2022-02-06 22:31:17 +00:00
2022-01-25 00:31:56 +00:00
home-manager.users.fleaz = { pkgs, ... }: {
imports = [
2022-02-06 23:01:27 +00:00
modules/neovim.nix
modules/vscode.nix
2022-05-20 08:39:10 +00:00
modules/direnv.nix
2022-02-07 00:09:06 +00:00
modules/sway.nix
2023-10-13 14:45:26 +00:00
modules/waybar.nix
2022-03-01 22:59:14 +00:00
modules/git.nix
modules/gpg.nix
2022-05-31 12:09:15 +00:00
modules/udiskie.nix
modules/discord.nix
2023-04-18 21:07:13 +00:00
modules/devenv.nix
modules/overlay.nix
modules/zsh.nix
2023-10-03 13:51:29 +00:00
modules/foot.nix
2023-12-13 11:16:22 +00:00
modules/manual.nix
2023-12-18 20:00:43 +00:00
modules/tig.nix
2023-12-01 22:41:37 +00:00
../secrets/ssh-config.nix
] ++ lib.optionals (config.networking.hostName == "smithers") [
modules/kanshi.nix
2022-01-25 00:31:56 +00:00
];
2022-02-06 22:31:17 +00:00
2022-01-25 00:31:56 +00:00
home.packages = with pkgs; [
httpie
wdisplays
firefox
2022-01-28 14:34:35 +00:00
evince
2022-01-25 00:31:56 +00:00
chromium
via
nextcloud-client
deluge
gnupg
gpicview
2022-01-25 00:31:56 +00:00
hicolor-icon-theme
cinnamon.nemo
element-desktop
2022-01-25 00:31:56 +00:00
signal-desktop
2022-03-16 22:24:33 +00:00
nix-output-monitor
samba
2022-01-25 00:31:56 +00:00
dnsutils
mtr
tig
ncdu
fd
silver-searcher
2024-08-31 15:17:26 +00:00
ripgrep
thunderbird
2022-01-25 00:31:56 +00:00
mosh
mpv
go
python3
2022-02-07 00:09:06 +00:00
pavucontrol
playerctl
jq
2022-03-01 23:00:03 +00:00
psmisc
zip
nmap
vnstat
2023-11-21 22:38:28 +00:00
whois
sipcalc
vnstat
strace
usbutils
pciutils
2022-01-25 00:31:56 +00:00
swaylock
swayidle
brightnessctl
2022-01-25 00:31:56 +00:00
wl-clipboard
mako
sway-contrib.grimshot
albert
foot
2022-01-25 00:31:56 +00:00
wofi
unzip
whois
sublime-music
fzf
2023-01-08 00:41:45 +00:00
ncmpcpp
acpi
2024-08-26 18:40:33 +00:00
unstable.joplin-desktop
unstable.prusa-slicer
2022-01-25 00:31:56 +00:00
htop
xdg-utils
2022-06-21 13:38:11 +00:00
moreutils
2022-07-22 09:25:59 +00:00
insomnia
2022-11-24 19:13:07 +00:00
mumble
2023-04-17 16:05:42 +00:00
inkscape
guvcview
2023-05-12 15:52:54 +00:00
vnstat
2024-06-12 19:55:19 +00:00
gedit
pwgen
2024-06-12 20:02:23 +00:00
magic-wormhole
2024-08-31 09:37:03 +00:00
kicad
picocom
wirelesstools
xournal
nix-tree
# kubernetes stuff
kubectl
krew
kubectx
2024-04-04 19:22:58 +00:00
] ++ lib.optionals (config.my.isLaptop) [
networkmanager
2022-01-25 00:31:56 +00:00
];
2024-04-04 19:22:58 +00:00
home.stateVersion = "21.11";
gtk = {
enable = true;
theme = {
name = "Adwaita";
package = pkgs.gnome3.adwaita-icon-theme;
};
};
xdg = {
enable = true;
};
2022-01-25 00:31:56 +00:00
services.gnome-keyring.enable = true;
# e.g. for vscode
nixpkgs.config.allowUnfree = true;
2022-01-25 00:31:56 +00:00
programs.git = {
enable = true;
userName = "fleaz";
userEmail = "mail@felixbreidenstein.de";
};
2023-06-01 16:28:59 +00:00
services.mako = {
2022-01-25 00:31:56 +00:00
enable = true;
groupBy = "app-name";
defaultTimeout = 5000;
};
services.gammastep = {
2022-01-25 00:31:56 +00:00
enable = true;
tray = true;
2022-01-25 00:31:56 +00:00
latitude = "49.8";
longitude = "8.6";
temperature = {
day = 5500;
2024-02-06 22:21:34 +00:00
night = 3000;
};
2022-02-23 22:42:42 +00:00
2022-01-25 00:31:56 +00:00
};
2022-06-21 13:34:34 +00:00
# Enable blueman-applet when the machine has bluetooth enabled
services.blueman-applet.enable = config.hardware.bluetooth.enable == true;
2022-01-25 00:31:56 +00:00
2023-10-03 13:51:29 +00:00
};
}