2024-08-02 00:10:45 +02:00
|
|
|
{ config, pkgs, ... }:
|
2024-06-17 16:36:50 +02:00
|
|
|
{
|
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;
|
|
|
|
};
|
|
|
|
|
2024-08-02 00:10:45 +02:00
|
|
|
home-manager.users.${user}.home = {
|
|
|
|
packages = with pkgs; [
|
|
|
|
pamixer
|
|
|
|
yt-dlp
|
|
|
|
aseprite
|
|
|
|
cloc
|
|
|
|
viu
|
|
|
|
];
|
|
|
|
|
|
|
|
file = {
|
|
|
|
# for some reason no background is set at all by default
|
|
|
|
# which means i get the last "frame" of the login screen as my bg
|
|
|
|
".background-image".source = ../../files/black.png;
|
|
|
|
};
|
|
|
|
};
|
2024-08-01 23:35:09 +02:00
|
|
|
|
|
|
|
chuj = {
|
|
|
|
system = {
|
|
|
|
user = "krizej";
|
|
|
|
host = "laptop";
|
|
|
|
platform = "x86_64-linux";
|
|
|
|
};
|
|
|
|
|
|
|
|
home-manager.enable = true;
|
2024-08-08 00:34:02 +02:00
|
|
|
xdg.enable = true;
|
2024-08-01 23:35:09 +02:00
|
|
|
|
|
|
|
stuff = {
|
|
|
|
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;
|
2024-08-08 00:34:02 +02:00
|
|
|
mpd.enable = true;
|
2024-08-02 00:10:45 +02:00
|
|
|
|
|
|
|
xserver = {
|
|
|
|
enable = true;
|
|
|
|
libinput = true;
|
|
|
|
};
|
2024-08-04 00:38:28 +02:00
|
|
|
|
|
|
|
i3 = {
|
|
|
|
enable = true;
|
|
|
|
battery = true;
|
|
|
|
};
|
2024-08-01 23:35:09 +02:00
|
|
|
|
|
|
|
gaming = {
|
|
|
|
enable = true;
|
2024-09-01 14:52:53 +02:00
|
|
|
scripts = [
|
|
|
|
{ name = "homm3"; exe = "HD_Launcher.exe"; }
|
|
|
|
];
|
2024-08-01 23:35:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
fish = {
|
|
|
|
enable = true;
|
|
|
|
extraAliases = {
|
|
|
|
"rebuild" = "sudo nixos-rebuild switch --flake ~/nix#laptop -v";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ssh = {
|
|
|
|
enable = true;
|
|
|
|
keys = {
|
2024-09-01 14:52:53 +02:00
|
|
|
"git@codeberg.org".file = "codeberg";
|
2024-08-01 23:35:09 +02:00
|
|
|
"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-02 00:10:45 +02:00
|
|
|
}
|