2022-02-03 10:09:29 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
2022-01-25 00:31:56 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
home-manager = (import ../nix/sources.nix).home-manager;
|
2023-04-28 11:28:55 +00:00
|
|
|
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
|
2022-03-03 16:10:43 +00:00
|
|
|
modules/gpg.nix
|
2022-05-31 12:09:15 +00:00
|
|
|
modules/udiskie.nix
|
2022-06-15 19:35:24 +00:00
|
|
|
modules/discord.nix
|
2023-04-18 21:07:13 +00:00
|
|
|
modules/devenv.nix
|
2023-09-15 13:23:59 +00:00
|
|
|
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
|
2024-04-16 22:07:00 +00:00
|
|
|
] ++ lib.optionals (config.networking.hostName == "smithers") [
|
2022-06-03 21:50:49 +00:00
|
|
|
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
|
2022-02-06 13:21:22 +00:00
|
|
|
nextcloud-client
|
|
|
|
deluge
|
|
|
|
gnupg
|
|
|
|
gpicview
|
2022-01-25 00:31:56 +00:00
|
|
|
hicolor-icon-theme
|
|
|
|
cinnamon.nemo
|
2023-07-19 20:34:32 +00:00
|
|
|
element-desktop
|
2022-01-25 00:31:56 +00:00
|
|
|
signal-desktop
|
2022-03-16 22:24:33 +00:00
|
|
|
nix-output-monitor
|
2022-04-11 12:27:53 +00:00
|
|
|
samba
|
2022-01-25 00:31:56 +00:00
|
|
|
|
|
|
|
dnsutils
|
|
|
|
mtr
|
|
|
|
tig
|
|
|
|
ncdu
|
|
|
|
fd
|
|
|
|
silver-searcher
|
2022-11-21 15:01:23 +00:00
|
|
|
thunderbird
|
2022-01-25 00:31:56 +00:00
|
|
|
mosh
|
|
|
|
mpv
|
|
|
|
go
|
2022-10-28 14:02:30 +00:00
|
|
|
python3
|
2022-02-07 00:09:06 +00:00
|
|
|
pavucontrol
|
|
|
|
playerctl
|
2022-02-09 10:35:47 +00:00
|
|
|
jq
|
2022-03-01 23:00:03 +00:00
|
|
|
psmisc
|
2022-04-11 12:27:53 +00:00
|
|
|
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
|
2022-03-01 23:00:53 +00:00
|
|
|
brightnessctl
|
2022-01-25 00:31:56 +00:00
|
|
|
wl-clipboard
|
|
|
|
mako
|
|
|
|
sway-contrib.grimshot
|
|
|
|
albert
|
2023-01-20 10:47:20 +00:00
|
|
|
foot
|
2022-01-25 00:31:56 +00:00
|
|
|
wofi
|
2022-03-23 15:31:23 +00:00
|
|
|
unzip
|
|
|
|
whois
|
|
|
|
sublime-music
|
2022-08-05 12:23:29 +00:00
|
|
|
fzf
|
2023-01-08 00:41:45 +00:00
|
|
|
ncmpcpp
|
|
|
|
acpi
|
2024-02-13 23:15:30 +00:00
|
|
|
joplin-desktop # gui
|
2022-02-03 10:11:08 +00:00
|
|
|
|
2023-04-28 11:28:55 +00:00
|
|
|
unstable.prusa-slicer
|
2022-01-25 00:31:56 +00:00
|
|
|
htop
|
2022-03-01 23:01:30 +00:00
|
|
|
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
|
2023-04-25 21:50:04 +00:00
|
|
|
guvcview
|
2023-05-12 15:52:54 +00:00
|
|
|
vnstat
|
2024-06-12 19:55:19 +00:00
|
|
|
gedit
|
2023-09-15 13:23:59 +00:00
|
|
|
pwgen
|
2024-06-12 20:02:23 +00:00
|
|
|
magic-wormhole
|
2022-02-03 10:09:29 +00:00
|
|
|
|
2024-05-23 22:00:15 +00:00
|
|
|
nixpkgs-fmt
|
2022-03-29 14:58:31 +00:00
|
|
|
|
2023-09-15 13:23:59 +00:00
|
|
|
# kubernetes stuff
|
|
|
|
kubectl
|
|
|
|
krew
|
|
|
|
kubectx
|
|
|
|
|
2024-04-04 19:22:58 +00:00
|
|
|
] ++ lib.optionals (config.my.isLaptop) [
|
2022-06-03 21:50:49 +00:00
|
|
|
networkmanager
|
2022-01-25 00:31:56 +00:00
|
|
|
];
|
2024-04-04 19:22:58 +00:00
|
|
|
|
2023-09-15 13:23:59 +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
|
|
|
|
2023-09-15 13:23:59 +00:00
|
|
|
services.gnome-keyring.enable = true;
|
|
|
|
|
|
|
|
# e.g. for vscode
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
2022-02-03 10:09:29 +00:00
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2022-02-03 16:41:47 +00:00
|
|
|
services.gammastep = {
|
2022-01-25 00:31:56 +00:00
|
|
|
enable = true;
|
2022-02-03 16:41:47 +00:00
|
|
|
tray = true;
|
2022-01-25 00:31:56 +00:00
|
|
|
latitude = "49.8";
|
|
|
|
longitude = "8.6";
|
2022-02-07 23:18:05 +00:00
|
|
|
temperature = {
|
|
|
|
day = 5500;
|
2024-02-06 22:21:34 +00:00
|
|
|
night = 3000;
|
2022-02-07 23:18:05 +00:00
|
|
|
};
|
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
|
|
|
};
|
|
|
|
}
|