nix/hosts/laptop/default.nix

89 lines
1.8 KiB
Nix
Raw Normal View History

2024-08-01 21:22:47 +02:00
{ pkgs, ... }:
{
2024-06-13 15:38:40 +02:00
imports = [
./hardware-configuration.nix
];
2024-08-01 23:35:09 +02:00
config = let
monitor = "eDP-1";
user = config.chuj.system.user;
in {
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
home-manager.users.${user}.home.packages = with pkgs; [
pamixer
yt-dlp
aseprite
cloc
viu
];
chuj = {
system = {
user = "krizej";
host = "laptop";
platform = "x86_64-linux";
};
home-manager.enable = true;
stuff = {
xserver.enable = true;
sddm.enable = true;
alacritty.enable = true;
vim.enable = true;
firefox.enable = true;
thunar.enable = true;
flameshot.enable = true;
git.enable = true;
other-desktop-programs.enable = true;
other-dev-programs.enable = true;
documentation.enable = true;
theme.enable = true;
printing.enable = true;
gaming = {
enable = true;
homm3 = true;
};
fish = {
enable = true;
extraAliases = {
"rebuild" = "sudo nixos-rebuild switch --flake ~/nix#laptop -v";
};
};
i3 = {
enable = true;
communicators = {
autostart = false;
workspace = null;
};
};
ssh = {
enable = true;
keys = {
"git@github.com".file = "github";
"forgejo@git.jacekpoz.pl".file = "jacekgit";
"krizej@192.168.1.12".file = "rpi";
"discord@zasadzka.pl" = {
file = "zasadzka";
env."TERM" = "xterm-256color";
};
};
};
dunst = {
output = monitor;
side = "right";
enable = true;
};
};
};
};
2024-08-01 21:22:47 +02:00
}