- Remove disko everywhere: - Delete hosts/Nixbook/disko.nix and hosts/Nixtest/disko.nix - Drop disko input, modules, and disko-install app - Update README to remove disko mention - Simplify flake inputs: - Use nixpkgs = nixos-unstable only - Home Manager -> master (follows nixpkgs) - Remove nixpkgs-unstable and vscode-extensions - Pass allowUnfree via specialArgs - Centralize storage tools: - Add fuse3 and rclone to hosts/common/default.nix - Remove hosts/common/rclone.nix and screen.nix - Add user thiago to "fuse" group - Drop per-host rclone packages - NVIDIA module: - Use pkgs.linuxPackages.nvidiaPackages.latest (no unstable import) - Keep nvidiaSettings=true, open=false - Remove sunshine service block - Hosts: - Nixstation: remove Hyprland block, zramSwap 30% -> 25% - Clean hardware-configuration args - Versions: - system.stateVersion: 24.05 -> 25.11 (Nixstation) - home.stateVersion: 24.05 -> 25.11 - README: adjust Nixbook and common modules descriptions
66 lines
1.3 KiB
Nix
66 lines
1.3 KiB
Nix
{ config
|
|
, inputs
|
|
, lib
|
|
, pkgs
|
|
, ...
|
|
}:
|
|
{
|
|
imports = [ ./users/thiago/default.nix ];
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
environment = {
|
|
shells = with pkgs; [ zsh ];
|
|
etc = lib.mapAttrs'
|
|
(name: value: {
|
|
name = "nix/path/${name}";
|
|
value.source = value.flake;
|
|
})
|
|
config.nix.registry;
|
|
systemPackages = with pkgs; [
|
|
exfat
|
|
file
|
|
fuse3
|
|
gcsfuse
|
|
git
|
|
gnupg
|
|
home-manager
|
|
keymapp
|
|
opensc
|
|
pciutils
|
|
pcsc-safenet
|
|
pcsctools
|
|
pkcs11helper
|
|
rclone
|
|
sops
|
|
wget
|
|
zsa-udev-rules
|
|
];
|
|
};
|
|
hardware.keyboard.zsa.enable = true;
|
|
networking.networkmanager.enable = true;
|
|
nix = {
|
|
registry = (lib.mapAttrs (_: flake: { inherit flake; })) (
|
|
(lib.filterAttrs (_: lib.isType "flake")) inputs
|
|
);
|
|
|
|
nixPath = [ "/etc/nix/path" ];
|
|
|
|
settings = {
|
|
experimental-features = "nix-command flakes";
|
|
auto-optimise-store = true;
|
|
};
|
|
};
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
programs.zsh.enable = true;
|
|
services = {
|
|
pcscd.enable = true;
|
|
# xserver.displayManager.sessionCommands =
|
|
# "${pkgs.xorg.xmodmap}/bin/xmodmap -e 'keycode 64 = Alt_L'";
|
|
|
|
};
|
|
users.groups.scard = { };
|
|
|
|
time.timeZone = "America/Sao_Paulo";
|
|
users.defaultUserShell = pkgs.zsh;
|
|
}
|