109 lines
2.3 KiB
Nix
109 lines
2.3 KiB
Nix
{ config, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
config = let
|
|
monitor = "eDP-1";
|
|
user = config.chuj.system.user;
|
|
in {
|
|
boot.loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
users.users.${user}.extraGroups = [ "adbusers" ];
|
|
programs.adb.enable = true;
|
|
|
|
home-manager.users.${user}.home = {
|
|
packages = with pkgs; [
|
|
pamixer
|
|
yt-dlp
|
|
aseprite
|
|
cloc
|
|
viu
|
|
zed-editor
|
|
|
|
android-studio
|
|
android-studio-tools
|
|
|
|
godot4-mono
|
|
dotnet-sdk
|
|
omnisharp-roslyn
|
|
];
|
|
|
|
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;
|
|
};
|
|
};
|
|
|
|
chuj = {
|
|
system = {
|
|
user = "krizej";
|
|
host = "laptop";
|
|
platform = "x86_64-linux";
|
|
};
|
|
|
|
home-manager.enable = true;
|
|
xdg.enable = true;
|
|
|
|
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;
|
|
mpd.enable = true;
|
|
fish.enable = true;
|
|
|
|
xserver = {
|
|
enable = true;
|
|
libinput = true;
|
|
};
|
|
|
|
i3 = {
|
|
enable = true;
|
|
battery = true;
|
|
};
|
|
|
|
gaming = {
|
|
enable = true;
|
|
scripts = [
|
|
{ name = "homm3"; exe = "HD_Launcher.exe"; }
|
|
];
|
|
};
|
|
|
|
|
|
ssh = {
|
|
enable = true;
|
|
keys = {
|
|
"git@codeberg.org".file = "codeberg";
|
|
"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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|