All checks were successful
Check flake syntax / flake-check (push) Successful in 4m20s
87 lines
1.8 KiB
Nix
87 lines
1.8 KiB
Nix
{ config, pkgs, inputs, ... }:
|
|
|
|
{
|
|
imports =
|
|
[ # Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
../modules/xserver.nix
|
|
../modules/malobeo_user.nix
|
|
../modules/sshd.nix
|
|
../modules/minimal_tools.nix
|
|
../modules/autoupdate.nix
|
|
inputs.self.nixosModules.malobeo.printing
|
|
];
|
|
|
|
malobeo.autoUpdate = {
|
|
enable = true;
|
|
url = "https://hydra.dynamicdiscord.de";
|
|
project = "malobeo";
|
|
jobset = "infrastructure";
|
|
cacheurl = "https://cache.dynamicdiscord.de";
|
|
};
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
hardware.sane.enable = true; #scanner support
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
users.users.malobeo = {
|
|
packages = with pkgs; [
|
|
firefox
|
|
thunderbird
|
|
telegram-desktop
|
|
tor-browser-bundle-bin
|
|
keepassxc
|
|
libreoffice
|
|
gimp
|
|
inkscape
|
|
okular
|
|
element-desktop
|
|
chromium
|
|
mpv
|
|
vlc
|
|
simple-scan
|
|
];
|
|
};
|
|
|
|
services.tor = {
|
|
enable = true;
|
|
client.enable = true;
|
|
};
|
|
|
|
services.printing.enable = true;
|
|
services.malobeo.printing.enable = true;
|
|
|
|
services.printing.drivers = [
|
|
(pkgs.writeTextDir "share/cups/model/brother5350.ppd" (builtins.readFile ../modules/BR5350_2_GPL.ppd))
|
|
pkgs.gutenprint
|
|
pkgs.gutenprintBin
|
|
pkgs.brlaser
|
|
pkgs.brgenml1lpr
|
|
pkgs.brgenml1cupswrapper
|
|
];
|
|
|
|
# needed for printing drivers
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
services.acpid.enable = true;
|
|
|
|
networking.hostName = "louise";
|
|
networking.networkmanager.enable = true;
|
|
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
systemWide = true;
|
|
};
|
|
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
system.stateVersion = "23.05"; # Do.. Not.. Change..
|
|
}
|
|
|