Compare commits
87 Commits
Author | SHA1 | Date | |
---|---|---|---|
6d676499b5 | |||
f9ed56664a | |||
74b621b335 | |||
42d853e493 | |||
cb42c46c5c | |||
35605ec47c | |||
e00a929820 | |||
ad7fc6614e | |||
2a8e761b6c | |||
34476e38ed | |||
c3f5e6be5b | |||
93717eb5f7 | |||
6de02a4c32 | |||
c735356011 | |||
99e9229b09 | |||
58c41ab7ea | |||
e8e186a6f3 | |||
ed573a2b12 | |||
ecaab24ad6 | |||
2ff2ab05f2 | |||
4bdfa8f7bb | |||
39e9b52938 | |||
d79368ff44 | |||
b6f36c12a0 | |||
9ef7e27f79 | |||
db1e6d1bad | |||
29e40d0d32 | |||
4f80dfc9b6 | |||
928a557707 | |||
aec0d3b8f3 | |||
446e93f23f | |||
082240c343 | |||
|
fa03fd3be9 | ||
|
0267612512 | ||
61f5b5876d | |||
|
72e9bd5b29 | ||
57042de338 | |||
6f6a3977b4 | |||
9b47b7ed5f | |||
|
44a37a9807 | ||
|
f84bb2a25c | ||
58ca4f3d55 | |||
debd796b25 | |||
1d8f8385cd | |||
7bf5b65d22 | |||
d8e18adab9 | |||
7673f4bcf8 | |||
|
d2a9256fa6 | ||
f9de646111 | |||
d774997a27 | |||
088580c967 | |||
9f4b74ab8c | |||
45b617a6cc | |||
4fa8bc25e8 | |||
2306d3b3e0 | |||
|
89cde5db44 | ||
558f4c557f | |||
af5abaf28a | |||
5e323cb810 | |||
518a1ccb7b | |||
20c8d503a7 | |||
dbaafb9e29 | |||
|
38a57bee39 | ||
|
077268fe2b | ||
|
e884bc79e9 | ||
|
a8a1c49c75 | ||
|
cf846e1d2c | ||
f7cce9835e | |||
|
d026e1d6bd | ||
|
82e65e494b | ||
|
d667045151 | ||
|
875c360794 | ||
|
f639fb31b9 | ||
|
34bd6d4a59 | ||
b3326b16a9 | |||
07d0dc649d | |||
82260aff47 | |||
22af56d39d | |||
1801779955 | |||
fa98d0ca5f | |||
3a5f93c8d4 | |||
907bce2d2f | |||
670862cbd1 | |||
d929662e3a | |||
8ce610affd | |||
0278a850a2 | |||
4b622f1672 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
*.swp
|
*.swp
|
||||||
result
|
result
|
||||||
*.qcow2
|
|
||||||
|
6
Makefile
6
Makefile
@ -1,15 +1,15 @@
|
|||||||
.PHONY: upgrade update switch home clean gc home history repl
|
.PHONY: upgrade update switch home clean gc home history repl
|
||||||
|
|
||||||
upgrade: update home switch
|
upgrade: update home switch clean gc
|
||||||
|
|
||||||
update:
|
update:
|
||||||
@nix flake update
|
@nix flake update
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
@sudo nixos-rebuild switch --flake .
|
@nh os switch . --ask
|
||||||
|
|
||||||
home:
|
home:
|
||||||
@home-manager switch --flake .
|
@nh home switch --ask .
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
# remove all generations older than 30 days
|
# remove all generations older than 30 days
|
||||||
|
18
README.md
Normal file
18
README.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Install on a non NixOS system
|
||||||
|
|
||||||
|
Install nix either with the package, or using determinate systems installer. Make sure that `flakes` and `nix-command` are enabled.
|
||||||
|
```
|
||||||
|
experimental-features = flakes nix-command
|
||||||
|
```
|
||||||
|
|
||||||
|
Run home-manager the first time with nix commands.
|
||||||
|
```
|
||||||
|
nix run home-manager -- switch --flake .
|
||||||
|
```
|
||||||
|
|
||||||
|
Afterwards make can be used
|
||||||
|
```
|
||||||
|
make home
|
||||||
|
```
|
||||||
|
|
||||||
|
The terminal needs to have the [Roboto Mono Nerdfont](https://www.nerdfonts.com/font-downloads) installed.
|
@ -1,239 +0,0 @@
|
|||||||
# Edit this configuration file to define what should be installed on
|
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
||||||
|
|
||||||
{ config, pkgs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [];
|
|
||||||
|
|
||||||
# Bootloader.
|
|
||||||
boot.loader.grub.enable = true;
|
|
||||||
boot.loader.grub.device = "/dev/sda";
|
|
||||||
boot.loader.grub.useOSProber = false;
|
|
||||||
|
|
||||||
# Setup keyfile
|
|
||||||
boot.initrd.secrets = {
|
|
||||||
"/crypto_keyfile.bin" = null;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable grub cryptodisk
|
|
||||||
boot.loader.grub.enableCryptodisk = true;
|
|
||||||
|
|
||||||
boot.initrd.luks.devices."luks-efc0285c-812e-4946-936b-37e737fb72eb".keyFile = "/crypto_keyfile.bin";
|
|
||||||
|
|
||||||
# allow crosscompiling for raspberrypi
|
|
||||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
||||||
|
|
||||||
networking.hostName = "lift";
|
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
|
||||||
|
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
systemd.network.wait-online.enable = false;
|
|
||||||
boot.initrd.systemd.network.wait-online.enable = false;
|
|
||||||
|
|
||||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
|
||||||
|
|
||||||
# Set your time zone.
|
|
||||||
time.timeZone = "Europe/Berlin";
|
|
||||||
|
|
||||||
# Select internationalisation properties.
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
|
|
||||||
i18n.extraLocaleSettings = {
|
|
||||||
LC_ADDRESS = "de_DE.UTF-8";
|
|
||||||
LC_IDENTIFICATION = "de_DE.UTF-8";
|
|
||||||
LC_MEASUREMENT = "de_DE.UTF-8";
|
|
||||||
LC_MONETARY = "de_DE.UTF-8";
|
|
||||||
LC_NAME = "de_DE.UTF-8";
|
|
||||||
LC_NUMERIC = "de_DE.UTF-8";
|
|
||||||
LC_PAPER = "de_DE.UTF-8";
|
|
||||||
LC_TELEPHONE = "de_DE.UTF-8";
|
|
||||||
LC_TIME = "de_DE.UTF-8";
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
# Configure console keymap
|
|
||||||
console.keyMap = "de-latin1-nodeadkeys";
|
|
||||||
|
|
||||||
# Enable scanning
|
|
||||||
hardware.sane.enable = true;
|
|
||||||
# Workaround for https://github.com/NixOS/nixpkgs/issues/273280
|
|
||||||
hardware.sane.backends-package = pkgs.sane-backends.overrideAttrs (old: {
|
|
||||||
configureFlags = (old.configureFlags or []) ++ [
|
|
||||||
"--disable-locking"
|
|
||||||
];
|
|
||||||
});
|
|
||||||
|
|
||||||
hardware.opengl.enable = true;
|
|
||||||
|
|
||||||
# bluetooth
|
|
||||||
hardware.bluetooth.enable = true;
|
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
|
||||||
sound.enable = true;
|
|
||||||
# hardware.pulseaudio.enable = false;
|
|
||||||
security.rtkit.enable = true;
|
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
|
||||||
users.users.rothe = {
|
|
||||||
isNormalUser = true;
|
|
||||||
description = "rothe";
|
|
||||||
extraGroups = [ "networkmanager" "wheel" "video" "scanner" "lp" "libvirtd"];
|
|
||||||
shell = pkgs.fish;
|
|
||||||
packages = with pkgs; [
|
|
||||||
chromium
|
|
||||||
firefox
|
|
||||||
logseq
|
|
||||||
thunderbird
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
ack
|
|
||||||
avrdude
|
|
||||||
bind
|
|
||||||
black # code formatting
|
|
||||||
calibre
|
|
||||||
cmake
|
|
||||||
cryptsetup
|
|
||||||
curl
|
|
||||||
dracula-theme
|
|
||||||
evince
|
|
||||||
ffmpeg
|
|
||||||
fish
|
|
||||||
foot
|
|
||||||
fzf
|
|
||||||
gammastep
|
|
||||||
gcc
|
|
||||||
gimp
|
|
||||||
git
|
|
||||||
glib
|
|
||||||
gnome.eog
|
|
||||||
gnome.nautilus
|
|
||||||
gnome.simple-scan
|
|
||||||
gnucash
|
|
||||||
gnumake
|
|
||||||
gnupg
|
|
||||||
go
|
|
||||||
google-cloud-sdk
|
|
||||||
gopls
|
|
||||||
gotools
|
|
||||||
htop
|
|
||||||
inkscape
|
|
||||||
ispell
|
|
||||||
jq
|
|
||||||
keychain
|
|
||||||
libreoffice
|
|
||||||
mosquitto
|
|
||||||
mypy
|
|
||||||
nmap
|
|
||||||
pass-secret-service
|
|
||||||
pavucontrol
|
|
||||||
portfolio
|
|
||||||
pulseaudio
|
|
||||||
pylint
|
|
||||||
python311
|
|
||||||
python311Packages.flake8
|
|
||||||
python311Packages.ipython
|
|
||||||
rusti-cal
|
|
||||||
signal-desktop
|
|
||||||
silver-searcher
|
|
||||||
shellcheck
|
|
||||||
spotify
|
|
||||||
sqlite
|
|
||||||
syncthing
|
|
||||||
tailscale
|
|
||||||
tmux
|
|
||||||
tree
|
|
||||||
unzip
|
|
||||||
vim-full
|
|
||||||
vlc
|
|
||||||
wayland
|
|
||||||
wayshot
|
|
||||||
wdisplays
|
|
||||||
wget
|
|
||||||
wl-clipboard
|
|
||||||
xdg-utils
|
|
||||||
yt-dlp
|
|
||||||
];
|
|
||||||
|
|
||||||
xdg.portal = {
|
|
||||||
enable = true;
|
|
||||||
wlr.enable = true;
|
|
||||||
# gtk portal needed to make gtk apps happy
|
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
|
||||||
config.common.default = "*";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
|
||||||
fish.enable = true;
|
|
||||||
gnupg.agent = {
|
|
||||||
enable = true;
|
|
||||||
enableSSHSupport = true;
|
|
||||||
};
|
|
||||||
light.enable = true;
|
|
||||||
virt-manager.enable = true;
|
|
||||||
};
|
|
||||||
# List services that you want to enable:
|
|
||||||
services.resolved = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
services.pcscd.enable = true;
|
|
||||||
# xdg-desktop-portal works by exposing a series of D-Bus interfaces
|
|
||||||
# known as portals under a well-known name
|
|
||||||
# (org.freedesktop.portal.Desktop) and object path
|
|
||||||
# (/org/freedesktop/portal/desktop).
|
|
||||||
# The portal interfaces include APIs for file access, opening URIs,
|
|
||||||
# printing and others.
|
|
||||||
services.dbus.enable = true;
|
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
services.passSecretService.enable = true;
|
|
||||||
services.tailscale.enable = true;
|
|
||||||
services.gvfs.enable = true;
|
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
|
||||||
# Enable CUPS to print documents.
|
|
||||||
services.printing.enable = true;
|
|
||||||
services.blueman.enable = true;
|
|
||||||
services.syncthing = {
|
|
||||||
enable = true;
|
|
||||||
user = "rothe";
|
|
||||||
group = "users";
|
|
||||||
dataDir = "/home/rothe";
|
|
||||||
overrideFolders = false;
|
|
||||||
overrideDevices = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
|
||||||
roboto-mono
|
|
||||||
];
|
|
||||||
|
|
||||||
networking.firewall = {
|
|
||||||
enable = true;
|
|
||||||
allowedTCPPorts = [ ];
|
|
||||||
};
|
|
||||||
# This value determines the NixOS release from which the default
|
|
||||||
# settings for stateful data, like file locations and database versions
|
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|
||||||
# this value at the release version of the first install of this system.
|
|
||||||
# Before changing this value read the documentation for this option
|
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
||||||
system.stateVersion = "23.05"; # Did you read the comment?
|
|
||||||
|
|
||||||
virtualisation = {
|
|
||||||
libvirtd.enable = true;
|
|
||||||
podman.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.steam = {
|
|
||||||
enable = true;
|
|
||||||
remotePlay.openFirewall = true;
|
|
||||||
dedicatedServer.openFirewall = true;
|
|
||||||
localNetworkGameTransfers.openFirewall = true;
|
|
||||||
};
|
|
||||||
}
|
|
804
files/kyocera_fs-1300d.ppd
Normal file
804
files/kyocera_fs-1300d.ppd
Normal file
@ -0,0 +1,804 @@
|
|||||||
|
*PPD-Adobe: "4.3"
|
||||||
|
*%=============================================================================
|
||||||
|
*%
|
||||||
|
*% PPD file for Kyocera FS-1300D (German)
|
||||||
|
*% Linux Version
|
||||||
|
*%
|
||||||
|
*% Copyright (C) 2000 KYOCERA CORPORATION.
|
||||||
|
*% Copyright (C) 2007 Revised Edition KYOCERA MITA CORPORATION.
|
||||||
|
*%
|
||||||
|
*% Permission is granted for redistribution of this file as long as this
|
||||||
|
*% copyright notice is intact and the contents of the file are not altered
|
||||||
|
*% in any way from their original form.
|
||||||
|
*%
|
||||||
|
*% Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
*% a copy of this software and associated documentation files (the
|
||||||
|
*% "Software"), to deal in the Software without restriction, including
|
||||||
|
*% without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
*% distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
*% permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
*% the following conditions:
|
||||||
|
*%
|
||||||
|
*% The above copyright notice and this permission notice shall be
|
||||||
|
*% included in all copies or substantial portions of the Software.
|
||||||
|
*%
|
||||||
|
*% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
*% EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
*% MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
*% NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
*% LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
*% OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
*% WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*%
|
||||||
|
*% [this is the MIT open source license -- see www.opensource.org]
|
||||||
|
*%
|
||||||
|
*%=============================================================================
|
||||||
|
*%=============================================================================
|
||||||
|
|
||||||
|
*FileVersion: "8.4"
|
||||||
|
*FormatVersion: "4.3"
|
||||||
|
*LanguageEncoding: ISOLatin1
|
||||||
|
*LanguageVersion: German
|
||||||
|
*Product: "(FS-1300D)"
|
||||||
|
*PSVersion: "(3011.103) 1"
|
||||||
|
*Manufacturer: "Kyocera"
|
||||||
|
*ModelName: "Kyocera FS-1300D KPDL"
|
||||||
|
*ShortNickName: "Kyocera FS-1300D (KPDL)"
|
||||||
|
*NickName: "Kyocera FS-1300D (KPDL)"
|
||||||
|
*PCFileName: "KC1300EG.PPD"
|
||||||
|
|
||||||
|
*% Basic Device Capabilities
|
||||||
|
*LanguageLevel: "3"
|
||||||
|
*ColorDevice: False
|
||||||
|
*DefaultColorSpace: Gray
|
||||||
|
*TTRasterizer: Type42
|
||||||
|
*?TTRasterizer: "
|
||||||
|
save
|
||||||
|
42 /FontType resourcestatus
|
||||||
|
{ pop pop (Type42) }{ (None) } ifelse
|
||||||
|
= flush restore"
|
||||||
|
*End
|
||||||
|
|
||||||
|
*Throughput: "28"
|
||||||
|
|
||||||
|
*% System Management
|
||||||
|
*SuggestedJobTimeout: "0"
|
||||||
|
*SuggestedManualFeedTimeout: "0"
|
||||||
|
*SuggestedWaitTimeout: "120"
|
||||||
|
*PrintPSErrors: True
|
||||||
|
|
||||||
|
*Password: "0"
|
||||||
|
|
||||||
|
*ExitServer: "
|
||||||
|
count 0 eq {true}
|
||||||
|
{dup statusdict /checkpassword get exec not} ifelse
|
||||||
|
{(WARNING : Cannot perform the exitserver command.) =
|
||||||
|
(Password supplied is not valid.) =
|
||||||
|
(Please contact the author of this software.) = flush quit} if
|
||||||
|
serverdict /exitserver get exec"
|
||||||
|
*End
|
||||||
|
|
||||||
|
*Reset: "
|
||||||
|
count 0 eq { true }
|
||||||
|
{dup statusdict /checkpassword get exec not} ifelse
|
||||||
|
{(WARNING : Cannot perform the exitserver command.) =
|
||||||
|
(Password supplied is not valid.) =
|
||||||
|
(Please contact the author of this software.) = flush quit} if
|
||||||
|
serverdict /exitserver get exec
|
||||||
|
systemdict /quit get exec
|
||||||
|
(WARNING : Printer Reset Failed.) = flush"
|
||||||
|
*End
|
||||||
|
|
||||||
|
*% Protocols
|
||||||
|
*Protocols: PJL TBCP
|
||||||
|
|
||||||
|
*1284Modes Parallel: Compat Nibble ECP
|
||||||
|
*1284DeviceID: "MFG:Kyocera;MODEL:Kyocera FS-1300D;COMMAND SET: POSTSCRIPT,PJL,PCL"
|
||||||
|
|
||||||
|
*% JCL Information
|
||||||
|
*JCLBegin: "<1B>%-12345X@PJL JOB<0A>"
|
||||||
|
*JCLToPSInterpreter: "@PJL ENTER LANGUAGE=POSTSCRIPT<0A>"
|
||||||
|
*JCLEnd: "<1B>%-12345X@PJL EOJ<0A><1B>%-12345X"
|
||||||
|
|
||||||
|
*% Installable Options
|
||||||
|
*OpenGroup: InstallableOptions/Installierte Optionen
|
||||||
|
|
||||||
|
*% Paper Feeders
|
||||||
|
*OpenUI *Option8/Papierzuf<FC>hrungen: PickOne
|
||||||
|
*DefaultOption8: None
|
||||||
|
*Option8 None/Nicht installiert: ""
|
||||||
|
*Option8 One/Eine: ""
|
||||||
|
*Option8 Two/Zwei: ""
|
||||||
|
*?Option8: "
|
||||||
|
save
|
||||||
|
(None) currentpagedevice dup /InputAttributes known {
|
||||||
|
/InputAttributes get
|
||||||
|
dup 1 known {dup 1 get null ne {exch pop (One) exch} if} if
|
||||||
|
dup 3 known {dup 3 get null ne {exch pop (Two) exch} if} if
|
||||||
|
dup 4 known {dup 4 get null ne {exch pop (Two) exch} if} if
|
||||||
|
} if pop
|
||||||
|
= flush restore"
|
||||||
|
*End
|
||||||
|
*CloseUI: *Option8
|
||||||
|
|
||||||
|
*% Disk Drive
|
||||||
|
*OpenUI *Option18/Optionaler Datentr<E4>ger: PickOne
|
||||||
|
*DefaultOption18: None
|
||||||
|
*Option18 None/Nicht installiert: ""
|
||||||
|
*Option18 RAMDisk/RAM Disk: ""
|
||||||
|
*?Option18: "
|
||||||
|
save
|
||||||
|
false
|
||||||
|
(%disk?%)
|
||||||
|
{currentdevparams dup /Writeable known
|
||||||
|
{dup /Writeable get
|
||||||
|
{exch pop /LogicalSize get dup 0 gt exch 102400 lt eq true}{pop pop false} ifelse
|
||||||
|
}{pop pop} ifelse
|
||||||
|
} 100 string /IODevice resourceforall
|
||||||
|
{{(RAMDisk)}{(HardDisk)} ifelse}{(None)} ifelse
|
||||||
|
= flush restore"
|
||||||
|
*End
|
||||||
|
*CloseUI: *Option18
|
||||||
|
|
||||||
|
*% Installed Memory
|
||||||
|
*OpenUI *InstalledMemory/Speicher: PickOne
|
||||||
|
*DefaultInstalledMemory: 32MB
|
||||||
|
*InstalledMemory 32MB/32MB Standard: ""
|
||||||
|
*InstalledMemory 96MB/64MB Erweiterung: ""
|
||||||
|
*InstalledMemory 160MB/128MB Erweiterung: ""
|
||||||
|
*InstalledMemory 288MB/256MB Erweiterung: ""
|
||||||
|
*InstalledMemory 544MB/512MB Erweiterung: ""
|
||||||
|
*?InstalledMemory: "
|
||||||
|
save
|
||||||
|
currentsystemparams dup
|
||||||
|
/RamSize known {
|
||||||
|
/RamSize get
|
||||||
|
524288 div ceiling cvi 2 div cvi
|
||||||
|
/vmsize 20 string def
|
||||||
|
vmsize cvs print
|
||||||
|
(MB) print (\n) print flush
|
||||||
|
}{
|
||||||
|
pop (Unknown) print flush
|
||||||
|
} ifelse
|
||||||
|
restore"
|
||||||
|
*End
|
||||||
|
*CloseUI: *InstalledMemory
|
||||||
|
|
||||||
|
*CloseGroup: InstallableOptions
|
||||||
|
|
||||||
|
*% Virtual Memory
|
||||||
|
|
||||||
|
*FreeVM: "25728000"
|
||||||
|
|
||||||
|
*VMOption 32MB: "25728000"
|
||||||
|
*VMOption 96MB: "32000000"
|
||||||
|
*VMOption 160MB: "32000000"
|
||||||
|
*VMOption 288MB: "32000000"
|
||||||
|
*VMOption 544MB: "32000000"
|
||||||
|
|
||||||
|
|
||||||
|
*% Constraints
|
||||||
|
*UIConstraints: *Option8 None *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *Option8 None
|
||||||
|
*UIConstraints: *Option8 None *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *Option8 None
|
||||||
|
*UIConstraints: *Option8 One *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *Option8 One
|
||||||
|
*UIConstraints: *Option18 None *KCCollate Temp
|
||||||
|
*UIConstraints: *PageSize B6 *InputSlot Internal
|
||||||
|
*UIConstraints: *InputSlot Internal *PageSize B6
|
||||||
|
*UIConstraints: *PageRegion B6 *InputSlot Internal
|
||||||
|
*UIConstraints: *InputSlot Internal *PageRegion B6
|
||||||
|
*UIConstraints: *PageSize EnvPersonal *InputSlot Internal
|
||||||
|
*UIConstraints: *InputSlot Internal *PageSize EnvPersonal
|
||||||
|
*UIConstraints: *PageRegion EnvPersonal *InputSlot Internal
|
||||||
|
*UIConstraints: *InputSlot Internal *PageRegion EnvPersonal
|
||||||
|
*UIConstraints: *PageSize Env9 *InputSlot Internal
|
||||||
|
*UIConstraints: *InputSlot Internal *PageSize Env9
|
||||||
|
*UIConstraints: *PageRegion Env9 *InputSlot Internal
|
||||||
|
*UIConstraints: *InputSlot Internal *PageRegion Env9
|
||||||
|
*UIConstraints: *PageSize Env10 *InputSlot Internal
|
||||||
|
*UIConstraints: *InputSlot Internal *PageSize Env10
|
||||||
|
*UIConstraints: *PageRegion Env10 *InputSlot Internal
|
||||||
|
*UIConstraints: *InputSlot Internal *PageRegion Env10
|
||||||
|
*UIConstraints: *PageSize EnvMonarch *InputSlot Internal
|
||||||
|
*UIConstraints: *InputSlot Internal *PageSize EnvMonarch
|
||||||
|
*UIConstraints: *PageRegion EnvMonarch *InputSlot Internal
|
||||||
|
*UIConstraints: *InputSlot Internal *PageRegion EnvMonarch
|
||||||
|
*UIConstraints: *PageSize EnvDL *InputSlot Internal
|
||||||
|
*UIConstraints: *InputSlot Internal *PageSize EnvDL
|
||||||
|
*UIConstraints: *PageRegion EnvDL *InputSlot Internal
|
||||||
|
*UIConstraints: *InputSlot Internal *PageRegion EnvDL
|
||||||
|
*UIConstraints: *PageSize A6 *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageSize A6
|
||||||
|
*UIConstraints: *PageRegion A6 *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageRegion A6
|
||||||
|
*UIConstraints: *PageSize B6 *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageSize B6
|
||||||
|
*UIConstraints: *PageRegion B6 *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageRegion B6
|
||||||
|
*UIConstraints: *PageSize EnvPersonal *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageSize EnvPersonal
|
||||||
|
*UIConstraints: *PageRegion EnvPersonal *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageRegion EnvPersonal
|
||||||
|
*UIConstraints: *PageSize Env9 *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageSize Env9
|
||||||
|
*UIConstraints: *PageRegion Env9 *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageRegion Env9
|
||||||
|
*UIConstraints: *PageSize Env10 *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageSize Env10
|
||||||
|
*UIConstraints: *PageRegion Env10 *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageRegion Env10
|
||||||
|
*UIConstraints: *PageSize EnvMonarch *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageSize EnvMonarch
|
||||||
|
*UIConstraints: *PageRegion EnvMonarch *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageRegion EnvMonarch
|
||||||
|
*UIConstraints: *PageSize EnvDL *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageSize EnvDL
|
||||||
|
*UIConstraints: *PageRegion EnvDL *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageRegion EnvDL
|
||||||
|
*UIConstraints: *PageSize Statement *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageSize Statement
|
||||||
|
*UIConstraints: *PageRegion Statement *InputSlot PF100A
|
||||||
|
*UIConstraints: *InputSlot PF100A *PageRegion Statement
|
||||||
|
*UIConstraints: *PageSize A6 *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageSize A6
|
||||||
|
*UIConstraints: *PageRegion A6 *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageRegion A6
|
||||||
|
*UIConstraints: *PageSize B6 *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageSize B6
|
||||||
|
*UIConstraints: *PageRegion B6 *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageRegion B6
|
||||||
|
*UIConstraints: *PageSize EnvPersonal *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageSize EnvPersonal
|
||||||
|
*UIConstraints: *PageRegion EnvPersonal *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageRegion EnvPersonal
|
||||||
|
*UIConstraints: *PageSize Env9 *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageSize Env9
|
||||||
|
*UIConstraints: *PageRegion Env9 *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageRegion Env9
|
||||||
|
*UIConstraints: *PageSize Env10 *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageSize Env10
|
||||||
|
*UIConstraints: *PageRegion Env10 *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageRegion Env10
|
||||||
|
*UIConstraints: *PageSize EnvMonarch *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageSize EnvMonarch
|
||||||
|
*UIConstraints: *PageRegion EnvMonarch *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageRegion EnvMonarch
|
||||||
|
*UIConstraints: *PageSize EnvDL *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageSize EnvDL
|
||||||
|
*UIConstraints: *PageRegion EnvDL *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageRegion EnvDL
|
||||||
|
*UIConstraints: *PageSize Statement *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageSize Statement
|
||||||
|
*UIConstraints: *PageRegion Statement *InputSlot PF100B
|
||||||
|
*UIConstraints: *InputSlot PF100B *PageRegion Statement
|
||||||
|
*UIConstraints: *Duplex *PageSize A6
|
||||||
|
*UIConstraints: *PageSize A6 *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageSize A6 *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageRegion A6
|
||||||
|
*UIConstraints: *PageRegion A6 *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageRegion A6 *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageSize B6
|
||||||
|
*UIConstraints: *PageSize B6 *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageSize B6 *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageRegion B6
|
||||||
|
*UIConstraints: *PageRegion B6 *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageRegion B6 *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageSize EnvPersonal
|
||||||
|
*UIConstraints: *PageSize EnvPersonal *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageSize EnvPersonal *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageRegion EnvPersonal
|
||||||
|
*UIConstraints: *PageRegion EnvPersonal *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageRegion EnvPersonal *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageSize Env9
|
||||||
|
*UIConstraints: *PageSize Env9 *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageSize Env9 *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageRegion Env9
|
||||||
|
*UIConstraints: *PageRegion Env9 *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageRegion Env9 *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageSize Env10
|
||||||
|
*UIConstraints: *PageSize Env10 *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageSize Env10 *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageRegion Env10
|
||||||
|
*UIConstraints: *PageRegion Env10 *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageRegion Env10 *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageSize EnvMonarch
|
||||||
|
*UIConstraints: *PageSize EnvMonarch *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageSize EnvMonarch *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageRegion EnvMonarch
|
||||||
|
*UIConstraints: *PageRegion EnvMonarch *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageRegion EnvMonarch *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageSize EnvDL
|
||||||
|
*UIConstraints: *PageSize EnvDL *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageSize EnvDL *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageRegion EnvDL
|
||||||
|
*UIConstraints: *PageRegion EnvDL *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageRegion EnvDL *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageSize Statement
|
||||||
|
*UIConstraints: *PageSize Statement *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageSize Statement *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Duplex *PageRegion Statement
|
||||||
|
*UIConstraints: *PageRegion Statement *Duplex DuplexTumble
|
||||||
|
*UIConstraints: *PageRegion Statement *Duplex DuplexNoTumble
|
||||||
|
*UIConstraints: *Option18 None *KCSuperWatermark
|
||||||
|
*UIConstraints: *KCSuperWatermark *Option18 None
|
||||||
|
|
||||||
|
*% Resolution
|
||||||
|
*OpenUI *Resolution/Aufl<F6>sung: PickOne
|
||||||
|
*OrderDependency: 10 AnySetup *Resolution
|
||||||
|
*DefaultResolution: 600dpi
|
||||||
|
*Resolution 300dpi/300 dpi: "<< /HWResolution [300 300] /PreRenderingEnhance false >> setpagedevice"
|
||||||
|
*Resolution 600dpi/600 dpi: "<< /HWResolution [600 600] /PreRenderingEnhance false >> setpagedevice"
|
||||||
|
*Resolution 1200dpi/Fine 1200: "<< /HWResolution [1200 1200] /PreRenderingEnhance false >> setpagedevice"
|
||||||
|
*?Resolution: "save currentpagedevice /HWResolution get 0 get ( ) cvs print (dpi) = flush restore"
|
||||||
|
*CloseUI: *Resolution
|
||||||
|
|
||||||
|
*% KCEcoprint
|
||||||
|
*OpenUI *KCEcoprint/EcoPrint: PickOne
|
||||||
|
*OrderDependency: 10 AnySetup *KCEcoprint
|
||||||
|
*DefaultKCEcoprint: Off
|
||||||
|
*KCEcoprint Off/Aus: "<< /EconoMode false >> setpagedevice"
|
||||||
|
*KCEcoprint On/Ein: "<< /EconoMode true >> setpagedevice"
|
||||||
|
*CloseUI: *KCEcoprint
|
||||||
|
|
||||||
|
*% Image Refinement
|
||||||
|
*OpenUI *Smoothing/KIR: PickOne
|
||||||
|
*OrderDependency: 50 AnySetup *Smoothing
|
||||||
|
*DefaultSmoothing: Medium
|
||||||
|
*Smoothing None/Aus: "0 statusdict /setdoret get exec"
|
||||||
|
*Smoothing Medium/Ein: "2 statusdict /setdoret get exec"
|
||||||
|
*?Smoothing: "
|
||||||
|
save
|
||||||
|
[(None)(Medium)(Medium)(Medium)]
|
||||||
|
statusdict /doret get exec {get} stopped
|
||||||
|
{pop pop (Unknown)} if
|
||||||
|
= flush restore"
|
||||||
|
*End
|
||||||
|
*CloseUI: *Smoothing
|
||||||
|
|
||||||
|
*% Halftone Information
|
||||||
|
*DefaultHalftoneType: 1
|
||||||
|
*ScreenFreq: "75.0"
|
||||||
|
*ScreenAngle: "45.0"
|
||||||
|
*ResScreenFreq 1200dpi: "75.0"
|
||||||
|
*ResScreenAngle 1200dpi: "45.0"
|
||||||
|
*ResScreenFreq 600dpi: "37.5"
|
||||||
|
*ResScreenAngle 600dpi: "45.0"
|
||||||
|
*ResScreenFreq 300dpi: "18.75"
|
||||||
|
*ResScreenAngle 300dpi: "45.0"
|
||||||
|
|
||||||
|
*DefaultScreenProc: Ellipse
|
||||||
|
*ScreenProc Dot: "
|
||||||
|
{abs exch abs 2 copy add 1 gt
|
||||||
|
{1 sub dup mul exch 1 sub dup mul add 1 sub}
|
||||||
|
{dup mul exch dup mul add 1 exch sub} ifelse}"
|
||||||
|
*End
|
||||||
|
*ScreenProc Line: "{pop}"
|
||||||
|
*ScreenProc Ellipse: "{dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub}"
|
||||||
|
*DefaultTransfer: Null
|
||||||
|
*Transfer Null: "{}"
|
||||||
|
*Transfer Null.Inverse: "{1 exch sub}"
|
||||||
|
|
||||||
|
*% Page Policy Definitions
|
||||||
|
*OpenUI *PagePolicy/Page Policy: PickOne
|
||||||
|
*OrderDependency: 15 AnySetup *PagePolicy
|
||||||
|
*DefaultPagePolicy: On
|
||||||
|
*PagePolicy On/AutoSizeSelect: "<< /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*CloseUI: *PagePolicy
|
||||||
|
|
||||||
|
*% Paper Handling
|
||||||
|
*% Page Size Definitions
|
||||||
|
*OpenUI *PageSize: PickOne
|
||||||
|
*OrderDependency: 40 AnySetup *PageSize
|
||||||
|
*DefaultPageSize: A4
|
||||||
|
*PageSize A4/A4: "<< /Policies << /PageSize 7 >> /PageSize [595 842] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize A5/A5: "<< /Policies << /PageSize 7 >> /PageSize [421 595] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize A6/A6: "<< /Policies << /PageSize 7 >> /PageSize [297 421] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize B5/B5 (JIS): "<< /Policies << /PageSize 7 >> /PageSize [516 729] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize ISOB5/B5 (ISO): "<< /Policies << /PageSize 7 >> /PageSize [499 708] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize B6/B6: "<< /Policies << /PageSize 7 >> /PageSize [364 516] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize OficioII/Oficio II: "<< /Policies << /PageSize 7 >> /PageSize [612 936] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize Folio/Folio (210 x 330mm): "<< /Policies << /PageSize 7 >> /PageSize [595 935] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize Statement/Statement: "<< /Policies << /PageSize 7 >> /PageSize [396 612] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize P16K/16K: "<< /Policies << /PageSize 7 >> /PageSize [558 774] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize Letter/US-Letter: "<< /Policies << /PageSize 7 >> /PageSize [612 792] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize Legal/US-Legal: "<< /Policies << /PageSize 7 >> /PageSize [612 1008] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize Executive/US-Executive: "<< /Policies << /PageSize 7 >> /PageSize [522 756] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize EnvPersonal/Umschlag #6: "<< /Policies << /PageSize 7 >> /PageSize [261 468] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize Env9/Umschlag #9: "<< /Policies << /PageSize 7 >> /PageSize [279 639] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize Env10/Umschlag #10: "<< /Policies << /PageSize 7 >> /PageSize [297 684] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize EnvMonarch/Umschlag US-Monarch: "<< /Policies << /PageSize 7 >> /PageSize [279 540] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize EnvDL/Umschlag DL: "<< /Policies << /PageSize 7 >> /PageSize [312 624] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageSize EnvC5/Umschlag C5: "<< /Policies << /PageSize 7 >> /PageSize [459 649] /ImagingBBox null >> setpagedevice"
|
||||||
|
*?PageSize: "
|
||||||
|
save
|
||||||
|
currentpagedevice /PageSize get aload pop
|
||||||
|
2 copy gt {exch} if
|
||||||
|
(Unknown)
|
||||||
|
19 dict
|
||||||
|
dup [595 842] (A4) put
|
||||||
|
dup [421 595] (A5) put
|
||||||
|
dup [297 421] (A6) put
|
||||||
|
dup [516 729] (B5) put
|
||||||
|
dup [499 708] (ISOB5) put
|
||||||
|
dup [364 516] (B6) put
|
||||||
|
dup [612 936] (OficioII) put
|
||||||
|
dup [595 935] (Folio) put
|
||||||
|
dup [396 612] (Statement) put
|
||||||
|
dup [558 774] (P16K) put
|
||||||
|
dup [612 792] (Letter) put
|
||||||
|
dup [612 1008] (Legal) put
|
||||||
|
dup [522 756] (Executive) put
|
||||||
|
dup [261 468] (EnvPersonal) put
|
||||||
|
dup [279 639] (Env9) put
|
||||||
|
dup [297 684] (Env10) put
|
||||||
|
dup [279 540] (EnvMonarch) put
|
||||||
|
dup [312 624] (EnvDL) put
|
||||||
|
dup [459 649] (EnvC5) put
|
||||||
|
{exch aload pop 4 index sub abs 5 le exch
|
||||||
|
5 index sub abs 5 le and
|
||||||
|
{exch pop exit}{pop} ifelse
|
||||||
|
} bind forall
|
||||||
|
= flush pop pop restore "
|
||||||
|
*End
|
||||||
|
*CloseUI: *PageSize
|
||||||
|
|
||||||
|
*% Page Region Definitions for Frame Buffer
|
||||||
|
*OpenUI *PageRegion: PickOne
|
||||||
|
*OrderDependency: 40 AnySetup *PageRegion
|
||||||
|
*DefaultPageRegion: A4
|
||||||
|
*PageRegion A4/A4: "<< /Policies << /PageSize 7 >> /PageSize [595 842] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion A5/A5: "<< /Policies << /PageSize 7 >> /PageSize [421 595] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion A6/A6: "<< /Policies << /PageSize 7 >> /PageSize [297 421] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion B5/B5 (JIS): "<< /Policies << /PageSize 7 >> /PageSize [516 729] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion ISOB5/B5 (ISO): "<< /Policies << /PageSize 7 >> /PageSize [499 708] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion B6/B6: "<< /Policies << /PageSize 7 >> /PageSize [364 516] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion Letter/US-Letter: "<< /Policies << /PageSize 7 >> /PageSize [612 792] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion Legal/US-Legal: "<< /Policies << /PageSize 7 >> /PageSize [612 1008] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion Executive/US-Executive: "<< /Policies << /PageSize 7 >> /PageSize [522 756] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion EnvPersonal/Umschlag #6: "<< /Policies << /PageSize 7 >> /PageSize [261 468] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion Env9/Umschlag #9: "<< /Policies << /PageSize 7 >> /PageSize [279 639] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion Env10/Umschlag #10: "<< /Policies << /PageSize 7 >> /PageSize [297 684] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion EnvMonarch/Umschlag US-Monarch: "<< /Policies << /PageSize 7 >> /PageSize [279 540] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion EnvDL/Umschlag DL: "<< /Policies << /PageSize 7 >> /PageSize [312 624] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion EnvC5/Umschlag C5: "<< /Policies << /PageSize 7 >> /PageSize [459 649] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion OficioII/Oficio II: "<< /Policies << /PageSize 7 >> /PageSize [612 936] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion Folio/Folio (210 x 330mm): "<< /Policies << /PageSize 7 >> /PageSize [595 935] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion Statement/Statement: "<< /Policies << /PageSize 7 >> /PageSize [396 612] /ImagingBBox null >> setpagedevice"
|
||||||
|
*PageRegion P16K/16K: "<< /Policies << /PageSize 7 >> /PageSize [558 774] /ImagingBBox null >> setpagedevice"
|
||||||
|
*CloseUI: *PageRegion
|
||||||
|
|
||||||
|
*% Imageable Area Definitions
|
||||||
|
*DefaultImageableArea: A4
|
||||||
|
*ImageableArea A4/A4: "12 10 583 832"
|
||||||
|
*ImageableArea A5/A5: "12 10 409 585"
|
||||||
|
*ImageableArea A6/A6: "12 10 285 411"
|
||||||
|
*ImageableArea B5/B5 (JIS): "21 10 495 719"
|
||||||
|
*ImageableArea ISOB5/B5 (ISO): "12 12 487 696"
|
||||||
|
*ImageableArea B6/B6: "12 10 352 506"
|
||||||
|
*ImageableArea OficioII/Oficio II: "12 12 600 924"
|
||||||
|
*ImageableArea Folio/Folio (210 x 330mm): "12 12 583 923"
|
||||||
|
*ImageableArea Statement/Statement: "12 12 384 600"
|
||||||
|
*ImageableArea P16K/16K: "12 12 547 763"
|
||||||
|
*ImageableArea Letter/US-Letter: "12 08 600 784"
|
||||||
|
*ImageableArea Legal/US-Legal: "12 08 600 1000"
|
||||||
|
*ImageableArea Executive/US-Executive: "12 08 510 748"
|
||||||
|
*ImageableArea EnvPersonal/Umschlag #6: "12 08 249 460"
|
||||||
|
*ImageableArea Env9/Umschlag #9: "12 08 267 631"
|
||||||
|
*ImageableArea Env10/Umschlag #10: "12 08 285 676"
|
||||||
|
*ImageableArea EnvMonarch/Umschlag US-Monarch: "12 08 267 532"
|
||||||
|
*ImageableArea EnvDL/Umschlag DL: "12 10 300 614"
|
||||||
|
*ImageableArea EnvC5/Umschlag C5: "12 10 447 639"
|
||||||
|
*?ImageableArea: "
|
||||||
|
save
|
||||||
|
/cvp {cvi ( ) cvs
|
||||||
|
print ( ) print} bind def
|
||||||
|
newpath clippath pathbbox
|
||||||
|
4 -2 roll exch 2 {ceiling cvp} repeat
|
||||||
|
exch 2 {floor cvp} repeat ( )
|
||||||
|
= flush restore"
|
||||||
|
*End
|
||||||
|
|
||||||
|
*% Physical Dimensions of Media
|
||||||
|
*DefaultPaperDimension: A4
|
||||||
|
*PaperDimension A4/A4: "595 842"
|
||||||
|
*PaperDimension A5/A5: "421 595"
|
||||||
|
*PaperDimension A6/A6: "297 421"
|
||||||
|
*PaperDimension B5/B5 (JIS): "516 729"
|
||||||
|
*PaperDimension ISOB5/B5 (ISO): "499 708"
|
||||||
|
*PaperDimension B6/B6: "364 516"
|
||||||
|
*PaperDimension OficioII/Oficio II: "612 936"
|
||||||
|
*PaperDimension Folio/Folio (210 x 330mm): "595 935"
|
||||||
|
*PaperDimension Statement/Statement: "396 612"
|
||||||
|
*PaperDimension P16K/16K: "558 774"
|
||||||
|
*PaperDimension Letter/US-Letter: "612 792"
|
||||||
|
*PaperDimension Legal/US-Legal: "612 1008"
|
||||||
|
*PaperDimension Executive/US-Executive: "522 756"
|
||||||
|
*PaperDimension EnvPersonal/Umschlag #6: "261 468"
|
||||||
|
*PaperDimension Env9/Umschlag #9: "279 639"
|
||||||
|
*PaperDimension Env10/Umschlag #10: "297 684"
|
||||||
|
*PaperDimension EnvMonarch/Umschlag US-Monarch: "279 540"
|
||||||
|
*PaperDimension EnvDL/Umschlag DL: "312 624"
|
||||||
|
*PaperDimension EnvC5/Umschlag C5: "459 649"
|
||||||
|
|
||||||
|
*% Custom Page Size Definitions
|
||||||
|
*% Smallest = A6, Largest = LEGAL
|
||||||
|
|
||||||
|
*VariablePaperSize: True
|
||||||
|
*LeadingEdge Short: ""
|
||||||
|
*DefaultLeadingEdge: Short
|
||||||
|
*HWMargins: 12 12 12 12
|
||||||
|
*MaxMediaWidth: "612"
|
||||||
|
*MaxMediaHeight: "1008"
|
||||||
|
*NonUIOrderDependency: 40 AnySetup *CustomPageSize
|
||||||
|
*CustomPageSize True: "
|
||||||
|
pop pop pop
|
||||||
|
<< /PageSize [ 5 -2 roll ] /ImagingBBox null
|
||||||
|
/DeferredMediaSelection true
|
||||||
|
>> setpagedevice"
|
||||||
|
*End
|
||||||
|
*ParamCustomPageSize Width: 1 points 278 612
|
||||||
|
*ParamCustomPageSize Height: 2 points 420 1008
|
||||||
|
*ParamCustomPageSize WidthOffset: 3 points 0 0
|
||||||
|
*ParamCustomPageSize HeightOffset: 4 points 0 0
|
||||||
|
*ParamCustomPageSize Orientation: 5 int 1 1
|
||||||
|
|
||||||
|
*% Input Slot Definitions
|
||||||
|
*OpenUI *InputSlot: PickOne
|
||||||
|
*OrderDependency: 30 AnySetup *InputSlot
|
||||||
|
*DefaultInputSlot: Internal
|
||||||
|
*InputSlot Internal/Kassette 1: "<< /ManualFeed false /DeferredMediaSelection false >> setpagedevice statusdict begin 0 setpapertray end"
|
||||||
|
*InputSlot PF100A/Kassette 2: "<< /ManualFeed false /DeferredMediaSelection false >> setpagedevice statusdict begin 1 setpapertray end"
|
||||||
|
*InputSlot PF100B/Kassette 3: "<< /ManualFeed false /DeferredMediaSelection false >> setpagedevice statusdict begin 4 setpapertray end"
|
||||||
|
*InputSlot MF1/Mehrzweckzufuhr: "<< /ManualFeed false /DeferredMediaSelection false >> setpagedevice statusdict begin 3 setpapertray end"
|
||||||
|
*?InputSlot: ""
|
||||||
|
*CloseUI: *InputSlot
|
||||||
|
|
||||||
|
*% MediaType Definitions
|
||||||
|
*OpenUI *MediaType: PickOne
|
||||||
|
*OrderDependency: 95 AnySetup *MediaType
|
||||||
|
*DefaultMediaType: PrnDef
|
||||||
|
*MediaType PrnDef/Automatische Medienauswahl: ""
|
||||||
|
*MediaType Plain/Blankopapier: "<</ManualFeed false /MediaType (Plain) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Transparency/Folie: "<</ManualFeed false /MediaType (Transparency) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Labels/Etiketten: "<</ManualFeed false /MediaType (Labels) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Letterhead/Briefkopf: "<</ManualFeed false /MediaType (Letterhead) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Bond/Feinpapier: "<</ManualFeed false /MediaType (Bond) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Color/Mehrfarbig: "<</ManualFeed false /MediaType (Color) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Preprinted/Vorgedruckt: "<</ManualFeed false /MediaType (Preprinted) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Prepunched/Vorgelocht: "<</ManualFeed false /MediaType (Prepunched) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Recycled/Recycling-Papier: "<</ManualFeed false /MediaType (Recycled) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Cardstock/Karton: "<</ManualFeed false /MediaType (Card Stock) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Vellum/Pergament: "<</ManualFeed false /MediaType (Vellum) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Envelope/Umschlag: "<</ManualFeed false /MediaType (Envelope) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Rough/Grobpapier: "<</ManualFeed false /MediaType (Rough) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Thick/Dick: "<</ManualFeed false /MediaType (Thick) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType Highqlty/Hohe Qualit<E4>t: "<</ManualFeed false /MediaType (Fine) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType User1/Benutzerdefinierter Typ 1: "<</ManualFeed false /MediaType (Custom Type1) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType User2/Benutzerdefinierter Typ 2: "<</ManualFeed false /MediaType (Custom Type2) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType User3/Benutzerdefinierter Typ 3: "<</ManualFeed false /MediaType (Custom Type3) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType User4/Benutzerdefinierter Typ 4: "<</ManualFeed false /MediaType (Custom Type4) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType User5/Benutzerdefinierter Typ 5: "<</ManualFeed false /MediaType (Custom Type5) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType User6/Benutzerdefinierter Typ 6: "<</ManualFeed false /MediaType (Custom Type6) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType User7/Benutzerdefinierter Typ 7: "<</ManualFeed false /MediaType (Custom Type7) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*MediaType User8/Benutzerdefinierter Typ 8: "<</ManualFeed false /MediaType (Custom Type8) /DeferredMediaSelection true >> setpagedevice"
|
||||||
|
*?MediaType: "
|
||||||
|
save
|
||||||
|
currentpagedevice /MediaType {get} stopped
|
||||||
|
{pop pop (Unknown)} {dup null eq {pop (Unknown)} if} ifelse = flush
|
||||||
|
restore"
|
||||||
|
*End
|
||||||
|
*CloseUI: *MediaType
|
||||||
|
|
||||||
|
*RequiresPageRegion All: True
|
||||||
|
*% Duplex Definitions
|
||||||
|
*OpenUI *Duplex/Duplex: PickOne
|
||||||
|
*OrderDependency: 50 AnySetup *Duplex
|
||||||
|
*DefaultDuplex: None
|
||||||
|
*Duplex None/Keine: "statusdict begin false setduplexmode false settumble end"
|
||||||
|
*Duplex DuplexTumble/Binden Kurze Seite: "statusdict begin true setduplexmode true settumble end"
|
||||||
|
*Duplex DuplexNoTumble/Binden Lange Seite: "statusdict begin true setduplexmode false settumble end"
|
||||||
|
*?Duplex: "
|
||||||
|
save
|
||||||
|
statusdict begin
|
||||||
|
duplexmode
|
||||||
|
{tumble {(DuplexTumble)}{(DuplexNoTumble)} ifelse}
|
||||||
|
{(None)} ifelse
|
||||||
|
= flush end restore"
|
||||||
|
*End
|
||||||
|
*CloseUI: *Duplex
|
||||||
|
|
||||||
|
*% Job Spooling Definitions
|
||||||
|
*OpenUI *KCCollate/Job Zwischenspeicherung: PickOne
|
||||||
|
*OrderDependency: 20 AnySetup *KCCollate
|
||||||
|
*DefaultKCCollate: PrnDef
|
||||||
|
*KCCollate PrnDef/Standard: ""
|
||||||
|
*KCCollate None/Keine: "<< /Collate false >> setpagedevice"
|
||||||
|
*KCCollate Temp/Tempor<E4>r: "
|
||||||
|
userdict /UICollateDetails known not {userdict /UICollateDetails 10 dict put} if
|
||||||
|
userdict /UICollateDetails get /Mode 0 put <</Collate true /CollateDetails UICollateDetails>> setpagedevice"
|
||||||
|
*End
|
||||||
|
*?KCCollate: "
|
||||||
|
save
|
||||||
|
currentpagedevice dup /Collate known {
|
||||||
|
dup /CollateDetails known {
|
||||||
|
/CollateDetails get
|
||||||
|
dup /Mode known {
|
||||||
|
/Mode get
|
||||||
|
1 {
|
||||||
|
dup 0 eq {pop (Temp) exit} if
|
||||||
|
pop (Unknown)
|
||||||
|
} repeat
|
||||||
|
}{pop (Unknown)} ifelse
|
||||||
|
}{pop (Unknown)} ifelse
|
||||||
|
}{pop (Unknown)} ifelse
|
||||||
|
= flush restore"
|
||||||
|
*End
|
||||||
|
*CloseUI: *KCCollate
|
||||||
|
|
||||||
|
*% KCSuperWatermark
|
||||||
|
*OpenUI *KCSuperWatermark/Super Watermark: PickOne
|
||||||
|
*OrderDependency: 10 AnySetup *KCSuperWatermark
|
||||||
|
*DefaultKCSuperWatermark: None
|
||||||
|
*KCSuperWatermark None/Keine: ""
|
||||||
|
*KCSuperWatermark UFA/Verwenden Form-A Alle Seiten: "<</BeginPage {pop mark {(%disk0%Form-A) kcloadpageimage} stopped cleartomark}>> setpagedevice"
|
||||||
|
*KCSuperWatermark UFB/Verwenden Form-B Alle Seiten: "<</BeginPage {pop mark {(%disk0%Form-B) kcloadpageimage} stopped cleartomark}>> setpagedevice"
|
||||||
|
*KCSuperWatermark UFC/Verwenden Form-C Alle Seiten: "<</BeginPage {pop mark {(%disk0%Form-C) kcloadpageimage} stopped cleartomark}>> setpagedevice"
|
||||||
|
*KCSuperWatermark UFAFP/Verwenden Form-A Erste Seite: "<</BeginPage {0 eq {mark {(%disk0%Form-A) kcloadpageimage} stopped cleartomark}if}>> setpagedevice"
|
||||||
|
*KCSuperWatermark UFBFP/Verwenden Form-B Erste Seite: "<</BeginPage {0 eq {mark {(%disk0%Form-B) kcloadpageimage} stopped cleartomark}if}>> setpagedevice"
|
||||||
|
*KCSuperWatermark UFCFP/Verwenden Form-C Erste Seite: "<</BeginPage {0 eq {mark {(%disk0%Form-C) kcloadpageimage} stopped cleartomark}if}>> setpagedevice"
|
||||||
|
*KCSuperWatermark SFA/Speichern Form-A: "<</EndPage {exch pop 2 ne dup mark exch {{(%disk0%Form-A) kcsavepageimage} stopped} if cleartomark}>> setpagedevice"
|
||||||
|
*KCSuperWatermark SFB/Speichern Form-B: "<</EndPage {exch pop 2 ne dup mark exch {{(%disk0%Form-B) kcsavepageimage} stopped} if cleartomark}>> setpagedevice"
|
||||||
|
*KCSuperWatermark SFC/Speichern Form-C: "<</EndPage {exch pop 2 ne dup mark exch {{(%disk0%Form-C) kcsavepageimage} stopped} if cleartomark}>> setpagedevice"
|
||||||
|
*CloseUI: *KCSuperWatermark
|
||||||
|
|
||||||
|
*% PPD Version Info
|
||||||
|
*OpenUI *KCVersion/PPD Version: PickOne
|
||||||
|
*OrderDependency: 25 AnySetup *KCVersion
|
||||||
|
*DefaultKCVersion: Default
|
||||||
|
*KCVersion Default/8.4 [07-12-2007]: "
|
||||||
|
globaldict /ct_AddStdCIDMap known {
|
||||||
|
globaldict /ct_AddStdCIDMap get length 7 eq
|
||||||
|
{globaldict /ct_AddStdCIDMap get 0 get type /stringtype eq
|
||||||
|
{globaldict /ct_AddStdCIDMap get 1 get 0 eq
|
||||||
|
{globaldict /ct_AddStdCIDMap get 2 get () eq
|
||||||
|
{globaldict /ct_AddStdCIDMap get 3 get /SubFileDecode eq
|
||||||
|
{globaldict /ct_AddStdCIDMap get 4 get systemdict /filter get eq
|
||||||
|
{currentglobal true setglobal globaldict
|
||||||
|
/ct_AddStdCIDMap
|
||||||
|
globaldict /ct_AddStdCIDMap get dup
|
||||||
|
globaldict /ct_AddStdCIDMap get
|
||||||
|
0 get length 1 exch
|
||||||
|
put put setglobal
|
||||||
|
} if} if} if} if} if} if} if"
|
||||||
|
*End
|
||||||
|
*CloseUI: *KCVersion
|
||||||
|
|
||||||
|
*% Font Information
|
||||||
|
*DefaultFont: Courier
|
||||||
|
*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
|
||||||
|
*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
|
||||||
|
*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
|
||||||
|
*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
|
||||||
|
*Font Bookman-Light: Standard "(001.004S)" Standard ROM
|
||||||
|
*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
|
||||||
|
*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
|
||||||
|
*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
|
||||||
|
*Font Courier: Standard "(002.004S)" Standard ROM
|
||||||
|
*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
|
||||||
|
*Font Courier-Bold: Standard "(002.004S)" Standard ROM
|
||||||
|
*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
|
||||||
|
*Font Helvetica: Standard "(001.006S)" Standard ROM
|
||||||
|
*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
|
||||||
|
*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
|
||||||
|
*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
|
||||||
|
*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
|
||||||
|
*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
|
||||||
|
*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
|
||||||
|
*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
|
||||||
|
*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
|
||||||
|
*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
|
||||||
|
*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
|
||||||
|
*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
|
||||||
|
*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
|
||||||
|
*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
|
||||||
|
*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
|
||||||
|
*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
|
||||||
|
*Font Symbol: Special "(001.007S)" Special ROM
|
||||||
|
*Font Times-Roman: Standard "(001.007S)" Standard ROM
|
||||||
|
*Font Times-Italic: Standard "(001.007S)" Standard ROM
|
||||||
|
*Font Times-Bold: Standard "(001.007S)" Standard ROM
|
||||||
|
*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
|
||||||
|
*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
|
||||||
|
*Font ZapfDingbats: Special "(001.004S)" Special ROM
|
||||||
|
*Font Albertus-Medium: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Albertus-ExtraBold: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font AntiqueOlive: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font AntiqueOlive-Italic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font AntiqueOlive-Bold: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Arial: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Arial-Italic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Arial-Bold: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Arial-BoldItalic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font CGOmega: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font CGOmega-Italic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font CGOmega-Bold: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font CGOmega-BoldItalic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font CGTimes: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font CGTimes-Italic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font CGTimes-Bold: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font CGTimes-BoldItalic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Clarendon-Condensed-Bold: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Coronet: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font CourierHP: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font CourierHP-Italic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font CourierHP-Bold: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font CourierHP-BoldItalic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Garamond-Antiqua: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Garamond-Halbfett: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Garamond-Kursiv: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Garamond-KursivHalbfett: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font LetterGothic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font LetterGothic-Italic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font LetterGothic-Bold: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Marygold: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font SymbolMT: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font TimesNewRoman: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font TimesNewRoman-Italic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font TimesNewRoman-BoldItalic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font TimesNewRoman-Bold: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Univers-Medium: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Univers-MediumItalic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Univers-Bold: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Univers-BoldItalic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Univers-Condensed-Medium: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Univers-Condensed-MediumItalic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Univers-Condensed-Bold: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Univers-Condensed-BoldItalic: Standard "(001.008S)" Standard ROM
|
||||||
|
*Font Wingdings-Regular: Special "(001.008S)" Special ROM
|
||||||
|
*?FontQuery: "
|
||||||
|
save
|
||||||
|
/str 80 string dup 0 (fonts/) putinterval def
|
||||||
|
{count 1 gt
|
||||||
|
{ exch dup str 6 94 getinterval cvs
|
||||||
|
(/) print print (:) print
|
||||||
|
FontDirectory exch known
|
||||||
|
{(Yes)}{(No)} ifelse =
|
||||||
|
}{exit} ifelse
|
||||||
|
} bind loop (*)
|
||||||
|
= flush restore"
|
||||||
|
*End
|
||||||
|
*?FontList: "save FontDirectory { pop == } bind forall flush (*) = flush restore"
|
||||||
|
*% Printer Messages
|
||||||
|
*Message: "%%[ exitserver: permanent state may be changed ]%%"
|
||||||
|
*Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
|
||||||
|
*Message: "\FontName\ not found, using Courier"
|
||||||
|
|
||||||
|
*% Status (format: %%[ status: <one of these> ]%% )
|
||||||
|
*Status: "warming up"/warming up
|
||||||
|
*Status: "idle"/idle
|
||||||
|
*Status: "busy"/busy
|
||||||
|
*Status: "waiting"/waiting
|
||||||
|
*Status: "printing"/printing
|
||||||
|
*Status: "initializing"/initializing
|
||||||
|
*Status: "printing test page"/printing test page
|
||||||
|
*% Printer Error (format: %%[ PrinterError: <one of these> ]%% )
|
||||||
|
*PrinterError: "paper entry misfeed"
|
||||||
|
*PrinterError: "cover open"
|
||||||
|
*PrinterError: "no paper tray"
|
||||||
|
*PrinterError: "out of paper"
|
||||||
|
*PrinterError: "toner low (halt)"
|
||||||
|
*PrinterError: "warming up"
|
||||||
|
*PrinterError: "other reason"
|
||||||
|
*PrinterError: "video interface mode"
|
||||||
|
*PrinterError: "offline"
|
||||||
|
*PrinterError: "toner low (warning)"
|
||||||
|
|
||||||
|
*% Input Sources (format: %%[ status: <stat>;source:<one of these> ]%% )
|
||||||
|
*Source: "Serial"
|
||||||
|
*Source: "Parallel"
|
||||||
|
*Source: "LocalTalk"
|
||||||
|
*Source: "Option"
|
||||||
|
|
||||||
|
*% End of PPD file for Kyocera FS-1300D (German)
|
387
flake.lock
generated
387
flake.lock
generated
@ -1,5 +1,157 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"deploy-rs": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": "flake-compat",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"utils": "utils"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1727447169,
|
||||||
|
"narHash": "sha256-3KyjMPUKHkiWhwR91J1YchF6zb6gvckCAY1jOE+ne0U=",
|
||||||
|
"owner": "serokell",
|
||||||
|
"repo": "deploy-rs",
|
||||||
|
"rev": "aa07eb05537d4cd025e2310397a6adcedfe72c76",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "serokell",
|
||||||
|
"repo": "deploy-rs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"disko": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1736711425,
|
||||||
|
"narHash": "sha256-8hKhPQuMtXfJi+4lPvw3FBk/zSJVHeb726Zo0uF1PP8=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "disko",
|
||||||
|
"rev": "f720e64ec37fa16ebba6354eadf310f81555cc07",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "disko",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-compat": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1696426674,
|
||||||
|
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-compat_2": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1696426674,
|
||||||
|
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-parts": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": [
|
||||||
|
"nixvim",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1736143030,
|
||||||
|
"narHash": "sha256-+hu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "b905f6fc23a9051a6e1b741e1438dbfc0634c6de",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1705309234,
|
||||||
|
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils_2": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems_3"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731533236,
|
||||||
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ghostty": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": "flake-compat_2",
|
||||||
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
|
"zig": "zig"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1736911212,
|
||||||
|
"narHash": "sha256-OLly4X2kN1tDb2gMYcWeim6uJECPoc52ltJsz1iD5Ug=",
|
||||||
|
"owner": "ghostty-org",
|
||||||
|
"repo": "ghostty",
|
||||||
|
"rev": "ff9414d9ea7b16a375d41cde8f6f193de7e5db72",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ghostty-org",
|
||||||
|
"repo": "ghostty",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@ -7,77 +159,244 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720042825,
|
"lastModified": 1736373539,
|
||||||
"narHash": "sha256-A0vrUB6x82/jvf17qPCpxaM+ulJnD8YZwH9Ci0BsAzE=",
|
"narHash": "sha256-dinzAqCjenWDxuy+MqUQq0I4zUSfaCvN9rzuCmgMZJY=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "e1391fb22e18a36f57e6999c7a9f966dc80ac073",
|
"rev": "bd65bc3cde04c16755955630b344bc9e35272c56",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "release-24.05",
|
"ref": "release-24.11",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixlib": {
|
"ixx": {
|
||||||
"locked": {
|
|
||||||
"lastModified": 1719708727,
|
|
||||||
"narHash": "sha256-XFNKtyirrGNdehpg7lMNm1skEcBApjqGhaHc/OI95HY=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixpkgs.lib",
|
|
||||||
"rev": "1bba8a624b3b9d4f68db94fb63aaeb46039ce9e6",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixpkgs.lib",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixos-generators": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixlib": "nixlib",
|
"flake-utils": [
|
||||||
|
"nixvim",
|
||||||
|
"nuschtosSearch",
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
"nixvim",
|
||||||
|
"nuschtosSearch",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720055043,
|
"lastModified": 1729958008,
|
||||||
"narHash": "sha256-SKizewU4UeYrkZWPUjur8EoxscGoNb0pGcrNL4YzAIg=",
|
"narHash": "sha256-EiOq8jF4Z/zQe0QYVc3+qSKxRK//CFHMB84aYrYGwEs=",
|
||||||
"owner": "nix-community",
|
"owner": "NuschtOS",
|
||||||
"repo": "nixos-generators",
|
"repo": "ixx",
|
||||||
"rev": "168b220231a70e47cc1f0919048fa5914415fb18",
|
"rev": "9fd01aad037f345350eab2cd45e1946cc66da4eb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "NuschtOS",
|
||||||
"repo": "nixos-generators",
|
"ref": "v0.0.6",
|
||||||
|
"repo": "ixx",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720553833,
|
"lastModified": 1736867362,
|
||||||
"narHash": "sha256-IXMiHQMtdShDXcBW95ctA+m5Oq2kLxnBt7WlMxvDQXA=",
|
"narHash": "sha256-i/UJ5I7HoqmFMwZEH6vAvBxOrjjOJNU739lnZnhUln8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "249fbde2a178a2ea2638b65b9ecebd531b338cf9",
|
"rev": "9c6b49aeac36e2ed73a8c472f1546f6d9cf1addc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-24.05",
|
"ref": "nixos-24.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-stable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1733423277,
|
||||||
|
"narHash": "sha256-TxabjxEgkNbCGFRHgM/b9yZWlBj60gUOUnRT/wbVQR8=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "e36963a147267afc055f7cf65225958633e536bf",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "release-24.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-unstable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1733229606,
|
||||||
|
"narHash": "sha256-FLYY5M0rpa5C2QAE3CKLYAM6TwbKicdRK6qNrSHlNrE=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "566e53c2ad750c84f6d31f9ccb9d00f823165550",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixvim": {
|
||||||
|
"inputs": {
|
||||||
|
"devshell": [],
|
||||||
|
"flake-compat": [],
|
||||||
|
"flake-parts": "flake-parts",
|
||||||
|
"git-hooks": [],
|
||||||
|
"home-manager": [],
|
||||||
|
"nix-darwin": [],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"nuschtosSearch": "nuschtosSearch",
|
||||||
|
"treefmt-nix": []
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1736598792,
|
||||||
|
"narHash": "sha256-G6/9vT12RAxkNWQPEX9p8tTx/i8jJcmISpbVDGbEPGc=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixvim",
|
||||||
|
"rev": "2004ff4547f11d25da78f393fe797dde2b831ce7",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"ref": "nixos-24.11",
|
||||||
|
"repo": "nixvim",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nuschtosSearch": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils_2",
|
||||||
|
"ixx": "ixx",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixvim",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1735854821,
|
||||||
|
"narHash": "sha256-Iv59gMDZajNfezTO0Fw6LHE7uKAShxbvMidmZREit7c=",
|
||||||
|
"owner": "NuschtOS",
|
||||||
|
"repo": "search",
|
||||||
|
"rev": "836908e3bddd837ae0f13e215dd48767aee355f0",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NuschtOS",
|
||||||
|
"repo": "search",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"deploy-rs": "deploy-rs",
|
||||||
|
"disko": "disko",
|
||||||
|
"ghostty": "ghostty",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixos-generators": "nixos-generators",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixvim": "nixvim"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"utils": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1701680307,
|
||||||
|
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zig": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": [
|
||||||
|
"ghostty"
|
||||||
|
],
|
||||||
|
"flake-utils": "flake-utils",
|
||||||
|
"nixpkgs": [
|
||||||
|
"ghostty",
|
||||||
|
"nixpkgs-stable"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1717848532,
|
||||||
|
"narHash": "sha256-d+xIUvSTreHl8pAmU1fnmkfDTGQYCn2Rb/zOwByxS2M=",
|
||||||
|
"owner": "mitchellh",
|
||||||
|
"repo": "zig-overlay",
|
||||||
|
"rev": "02fc5cc555fc14fda40c42d7c3250efa43812b43",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "mitchellh",
|
||||||
|
"repo": "zig-overlay",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
90
flake.nix
90
flake.nix
@ -2,16 +2,29 @@
|
|||||||
description = "NixOS configuration flake";
|
description = "NixOS configuration flake";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
||||||
home-manager.url = "github:nix-community/home-manager/release-24.05";
|
deploy-rs.url = "github:serokell/deploy-rs";
|
||||||
|
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
disko.url = "github:nix-community/disko";
|
||||||
|
disko.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
home-manager.url = "github:nix-community/home-manager/release-24.11";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
nixos-generators = {
|
ghostty.url = "github:ghostty-org/ghostty";
|
||||||
url = "github:nix-community/nixos-generators";
|
nixvim = {
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
url = "github:nix-community/nixvim/nixos-24.11";
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.follows = "nixpkgs";
|
||||||
|
devshell.follows = "";
|
||||||
|
flake-compat.follows = "";
|
||||||
|
git-hooks.follows = "";
|
||||||
|
home-manager.follows = "";
|
||||||
|
nix-darwin.follows = "";
|
||||||
|
treefmt-nix.follows = "";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, nixos-generators,...}:
|
outputs = { self, nixpkgs, home-manager, deploy-rs, disko, nixvim, ghostty, ...}:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
@ -20,21 +33,70 @@
|
|||||||
lift = nixpkgs.lib.nixosSystem {
|
lift = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./hosts/lift
|
||||||
./sway.nix
|
];
|
||||||
./hardware-configuration.nix
|
};
|
||||||
|
veil = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
modules = [
|
||||||
|
./hosts/veil
|
||||||
|
];
|
||||||
|
};
|
||||||
|
tien = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
modules = [
|
||||||
|
disko.nixosModules.disko
|
||||||
|
./hosts/tien/configuration.nix
|
||||||
|
./hosts/tien/hardware-configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
rothe = home-manager.lib.homeManagerConfiguration {
|
"rothe@lift" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [ ./home/rothe.nix ];
|
modules = [
|
||||||
|
./home/terminal
|
||||||
|
./home/wayland
|
||||||
|
nixvim.homeManagerModules.nixvim
|
||||||
|
];
|
||||||
|
extraSpecialArgs = {
|
||||||
|
mail = nixpkgs.lib.strings.concatStrings ["mail" "@" "johannes-rothe.de"];
|
||||||
|
inherit ghostty;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"rothe@veil" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
modules = [
|
||||||
|
./home/terminal
|
||||||
|
./home/wayland
|
||||||
|
nixvim.homeManagerModules.nixvim
|
||||||
|
];
|
||||||
|
extraSpecialArgs = {
|
||||||
|
mail = nixpkgs.lib.strings.concatStrings ["mail" "@" "johannes-rothe.de"];
|
||||||
|
inherit ghostty;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"rothe@pdemu1cml000301" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
modules = [
|
||||||
|
./home/terminal
|
||||||
|
nixvim.homeManagerModules.nixvim
|
||||||
|
];
|
||||||
|
extraSpecialArgs = {
|
||||||
|
mail = nixpkgs.lib.strings.concatStrings ["rothe" "@" "magazino.eu"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
box = nixos-generators.nixosGenerate {
|
deploy.nodes.tien = let
|
||||||
system = "x86_64-linux";
|
hostname = "tien";
|
||||||
format = "vm";
|
in {
|
||||||
|
hostname = hostname;
|
||||||
|
profiles.system = {
|
||||||
|
sshUser = "root";
|
||||||
|
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.${hostname};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
406
home/rothe.nix
406
home/rothe.nix
@ -1,406 +0,0 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
home.username = "rothe";
|
|
||||||
home.homeDirectory = "/home/rothe";
|
|
||||||
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
flameshot
|
|
||||||
swaylock
|
|
||||||
(nerdfonts.override { fonts = [ "RobotoMono" ]; })
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.fish = {
|
|
||||||
enable = true;
|
|
||||||
# start sway on login
|
|
||||||
loginShellInit = ''
|
|
||||||
if test -z "$DISPLAY" -a $XDG_VTNR = 1
|
|
||||||
exec sway
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
# disable greeting
|
|
||||||
shellInit = ''
|
|
||||||
set fish_greeting
|
|
||||||
'';
|
|
||||||
shellAliases = {
|
|
||||||
"..." = "cd ../..";
|
|
||||||
"cds" = "cd ~/src/";
|
|
||||||
"ll" = "ls -lh";
|
|
||||||
"cal" = "rusti-cal --color -w";
|
|
||||||
"ip" = "ip -c";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.foot = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
main = {
|
|
||||||
font = "Roboto Mono Nerd Font:size=10";
|
|
||||||
dpi-aware = "no";
|
|
||||||
};
|
|
||||||
# nordiq from https://codeberg.org/dnkl/foot/src/branch/master/themes/
|
|
||||||
colors = {
|
|
||||||
background = "0e1420";
|
|
||||||
foreground = "dbdee9";
|
|
||||||
regular0 = "5b6272";
|
|
||||||
regular1 = "bf616a";
|
|
||||||
regular2 = "a3be8c";
|
|
||||||
regular3 = "ebcb8b";
|
|
||||||
regular4 = "81a1c1";
|
|
||||||
regular5 = "b48ead";
|
|
||||||
regular6 = "88c0d0";
|
|
||||||
regular7 = "e5e9f0";
|
|
||||||
bright0 = "4c566a";
|
|
||||||
bright1 = "bf616a";
|
|
||||||
bright2 = "a3be8c";
|
|
||||||
bright3 = "ebcb8b";
|
|
||||||
bright4 = "81a1c1";
|
|
||||||
bright5 = "b48ead";
|
|
||||||
bright6 = "8fbcbb";
|
|
||||||
bright7 = "eceff4";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
userEmail = "mail@johannes-rothe.de";
|
|
||||||
userName = "Johannes Rothe";
|
|
||||||
aliases = {
|
|
||||||
ci = "commit";
|
|
||||||
st = "status";
|
|
||||||
co = "checkout";
|
|
||||||
br = "branch";
|
|
||||||
};
|
|
||||||
lfs = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
difftastic = {
|
|
||||||
enable = true;
|
|
||||||
background = "dark";
|
|
||||||
};
|
|
||||||
extraConfig = {
|
|
||||||
core = {
|
|
||||||
editor = "vim";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.tmux = {
|
|
||||||
enable = true;
|
|
||||||
prefix = "C-a";
|
|
||||||
historyLimit = 150000;
|
|
||||||
keyMode = "vi";
|
|
||||||
customPaneNavigationAndResize = true;
|
|
||||||
extraConfig = ''
|
|
||||||
bind-key Space next-window
|
|
||||||
|
|
||||||
set -g status-right '#[fg=colour242]#S'
|
|
||||||
set -g status-left ' '
|
|
||||||
set -g window-status-format '#I:#W'
|
|
||||||
set -g window-status-current-format '#I:#W'
|
|
||||||
set -g allow-rename off
|
|
||||||
|
|
||||||
# default statusbar colors
|
|
||||||
set-option -g status-style bg=colour232,fg=colour239,default
|
|
||||||
|
|
||||||
# border
|
|
||||||
set -g pane-border-style fg=colour234,bg=default
|
|
||||||
set -g pane-active-border-style fg=colour236,bg=default
|
|
||||||
|
|
||||||
# active window title colors
|
|
||||||
set-window-option -g window-status-current-style fg=colour231,bg=default
|
|
||||||
set-window-option -g window-status-style fg=colour239,bg=default
|
|
||||||
|
|
||||||
# bell
|
|
||||||
set-window-option -g window-status-bell-style fg=colour232,bg=colour253
|
|
||||||
|
|
||||||
# Correct colors
|
|
||||||
set -g default-terminal "tmux-256color"
|
|
||||||
set -ga terminal-overrides ",*256col*:Tc"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.rofi = {
|
|
||||||
enable = true;
|
|
||||||
font = "Roboto Mono Nerd Font 10";
|
|
||||||
theme = "Arc-Dark";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.ssh = {
|
|
||||||
enable = true;
|
|
||||||
extraConfig = ''
|
|
||||||
AddKeysToAgent yes
|
|
||||||
SendEnv GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.vim = {
|
|
||||||
enable = true;
|
|
||||||
defaultEditor = true;
|
|
||||||
# List of supported plugins: nix-env -f '<nixpkgs>' -qaP -A vimPlugins
|
|
||||||
plugins = [
|
|
||||||
pkgs.vimPlugins.ale
|
|
||||||
pkgs.vimPlugins.gitgutter
|
|
||||||
pkgs.vimPlugins.indentLine
|
|
||||||
pkgs.vimPlugins.nerdtree
|
|
||||||
pkgs.vimPlugins.python-syntax
|
|
||||||
pkgs.vimPlugins.rainbow
|
|
||||||
pkgs.vimPlugins.sonokai
|
|
||||||
pkgs.vimPlugins.vim-airline
|
|
||||||
pkgs.vimPlugins.vim-devicons
|
|
||||||
pkgs.vimPlugins.vim-go
|
|
||||||
pkgs.vimPlugins.vim-hcl
|
|
||||||
pkgs.vimPlugins.vim-isort
|
|
||||||
pkgs.vimPlugins.vim-terraform
|
|
||||||
pkgs.vimPlugins.YouCompleteMe
|
|
||||||
];
|
|
||||||
extraConfig = ''
|
|
||||||
set number
|
|
||||||
set colorcolumn=88
|
|
||||||
set background=dark
|
|
||||||
set cursorline
|
|
||||||
|
|
||||||
" Theme
|
|
||||||
if has('termguicolors')
|
|
||||||
set termguicolors
|
|
||||||
endif
|
|
||||||
let g:sonokai_style = "atlantis"
|
|
||||||
let g:sonokai_disable_italic_comment = 1
|
|
||||||
colorscheme sonokai
|
|
||||||
let g:airline_theme = "sonokai"
|
|
||||||
|
|
||||||
" Filetypes
|
|
||||||
au BufNewFile,BufRead *.launch set filetype=xml
|
|
||||||
|
|
||||||
augroup indent
|
|
||||||
autocmd FileType python,go,dockerfile,js,toml :set tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix
|
|
||||||
autocmd FileType terraform,sh,json,yaml,html,css :set tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent fileformat=unix
|
|
||||||
augroup end
|
|
||||||
|
|
||||||
augroup spell
|
|
||||||
autocmd FileType gitcommit :set spell
|
|
||||||
autocmd FileType markdown :set spell
|
|
||||||
augroup end
|
|
||||||
|
|
||||||
augroup shortcuts
|
|
||||||
autocmd FileType terraform nnoremap <F9> :! terraform fmt<CR>
|
|
||||||
autocmd FileType python nnoremap <F9> :Black<CR> :Isort <CR>
|
|
||||||
autocmd FileType go nnoremap <F9> <Plug>(go-fmt)<Plug>(go-lint)
|
|
||||||
autocmd FileType go nnoremap <F7> <Plug>(go-build)
|
|
||||||
autocmd FileType go nnoremap <F8> <Plug>(go-run)
|
|
||||||
autocmd FileType go nnoremap gd <Plug>(go-def)
|
|
||||||
augroup end
|
|
||||||
|
|
||||||
|
|
||||||
" YouCompleteMe
|
|
||||||
let g:ycm_gopls_binary_path = "${pkgs.gopls}/bin/gopls"
|
|
||||||
|
|
||||||
" Black
|
|
||||||
let g:black_linelength = 88
|
|
||||||
|
|
||||||
" NERDTREE
|
|
||||||
" open nerdtree when no file is specified on startup
|
|
||||||
autocmd StdinReadPre * let s:std_in=1
|
|
||||||
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
|
|
||||||
" toggle nerdtree keyboard shortcut
|
|
||||||
map <C-t> :NERDTreeToggle<CR>
|
|
||||||
|
|
||||||
" Devicons
|
|
||||||
let g:webdevicons_conceal_nerdtree_brackets = 1
|
|
||||||
syntax enable
|
|
||||||
if exists("g:loaded_webdevicons")
|
|
||||||
call webdevicons#refresh()
|
|
||||||
endif
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.waybar = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
mainBar = {
|
|
||||||
position = "bottom";
|
|
||||||
height = 24;
|
|
||||||
modules-left = [
|
|
||||||
"sway/workspaces"
|
|
||||||
"sway/mode"
|
|
||||||
];
|
|
||||||
modules-right = [
|
|
||||||
"network"
|
|
||||||
"cpu"
|
|
||||||
"memory"
|
|
||||||
"battery"
|
|
||||||
"tray"
|
|
||||||
"clock"
|
|
||||||
];
|
|
||||||
"network" = {
|
|
||||||
format-wifi = " {essid} {ipaddr} ({signalStrength}%)";
|
|
||||||
format-ethernet = "{ipaddr}";
|
|
||||||
};
|
|
||||||
"clock" = {
|
|
||||||
format = "{:%a, %d.%m.%Y CW%V %H:%M}";
|
|
||||||
};
|
|
||||||
"cpu" = {
|
|
||||||
interval = 30;
|
|
||||||
format = " {load}";
|
|
||||||
};
|
|
||||||
"memory" = {
|
|
||||||
interval = 30;
|
|
||||||
format = " {percentage}%";
|
|
||||||
};
|
|
||||||
"battery" = {
|
|
||||||
interval = 10;
|
|
||||||
format = " {capacity}% ({time})";
|
|
||||||
format-charging = " {capacity}%";
|
|
||||||
format-plugged = " {capacity}%";
|
|
||||||
format-full = " {capacity}%";
|
|
||||||
states = {
|
|
||||||
"warning" = 30;
|
|
||||||
"critical" = 15;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
style = ./waybar.css;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Automatic display output management
|
|
||||||
services.kanshi = {
|
|
||||||
enable = true;
|
|
||||||
settings = [
|
|
||||||
{ profile.name = "undocked";
|
|
||||||
profile.outputs = [
|
|
||||||
{
|
|
||||||
criteria = "eDP-1";
|
|
||||||
status = "enable";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{ profile.name = "home_office";
|
|
||||||
profile.outputs = [
|
|
||||||
{
|
|
||||||
criteria = "eDP-1";
|
|
||||||
status = "disable";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
criteria = "HDMI-A-2";
|
|
||||||
status = "enable";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{ profile.name = "office";
|
|
||||||
profile.outputs = [
|
|
||||||
{
|
|
||||||
criteria = "eDP-1";
|
|
||||||
status = "disable";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
criteria = "DP-1";
|
|
||||||
status = "enable";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.swayidle = {
|
|
||||||
enable = true;
|
|
||||||
timeouts = [
|
|
||||||
{ timeout = 1800; command = "${pkgs.swaylock}/bin/swaylock -f -c 000000"; }
|
|
||||||
{
|
|
||||||
timeout = 3600;
|
|
||||||
command = "${pkgs.sway}/bin/swaymsg 'output * dpms off'";
|
|
||||||
resumeCommand = "${pkgs.sway}/bin/swaymsg 'output * dpms on'";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
events = [
|
|
||||||
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock -f -c 000000"; }
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.gammastep = {
|
|
||||||
enable = true;
|
|
||||||
latitude = 50.81;
|
|
||||||
longitude = 6.37;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.mako = {
|
|
||||||
enable = true;
|
|
||||||
defaultTimeout = 5000;
|
|
||||||
};
|
|
||||||
|
|
||||||
wayland.windowManager.sway = {
|
|
||||||
enable = true;
|
|
||||||
checkConfig = false;
|
|
||||||
package = pkgs.sway;
|
|
||||||
wrapperFeatures.gtk = true;
|
|
||||||
config = let
|
|
||||||
wallpaper = "~/.wallpapers/voxel-city-by-huntingfluff.jpg";
|
|
||||||
in {
|
|
||||||
modifier = "Mod4";
|
|
||||||
focus.followMouse = false;
|
|
||||||
bars = [{
|
|
||||||
command = "waybar";
|
|
||||||
}];
|
|
||||||
output = {
|
|
||||||
"*" = {
|
|
||||||
bg = "${wallpaper} fill";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
input = {
|
|
||||||
"*" = {
|
|
||||||
xkb_layout = "de";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
menu = "rofi -show drun";
|
|
||||||
startup = [
|
|
||||||
{ command = "logseq"; }
|
|
||||||
];
|
|
||||||
window = {
|
|
||||||
hideEdgeBorders = "smart";
|
|
||||||
titlebar = false;
|
|
||||||
commands = [
|
|
||||||
{
|
|
||||||
command = "move scratchpad, resize set 1280 800";
|
|
||||||
criteria = {
|
|
||||||
title = "Logseq";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
keybindings = let
|
|
||||||
modifier = config.wayland.windowManager.sway.config.modifier;
|
|
||||||
in lib.mkOptionDefault {
|
|
||||||
"--release Print" = "exec flameshot gui";
|
|
||||||
"Mod1+l" = "exec swaylock -f -i ${wallpaper} -s fill";
|
|
||||||
"${modifier}+m" = "scratchpad show";
|
|
||||||
"XF86MonBrightnessDown" = "exec light -U 10";
|
|
||||||
"XF86MonBrightnessUp" = "exec light -A 10";
|
|
||||||
"XF86AudioRaiseVolume" = "exec 'pactl set-sink-volume @DEFAULT_SINK@ +1%'";
|
|
||||||
"XF86AudioLowerVolume" = "exec 'pactl set-sink-volume @DEFAULT_SINK@ -1%'";
|
|
||||||
"XF86AudioMute" = "exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.file = {
|
|
||||||
".wallpapers".source = ./wallpapers;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Add extra variables like $EDITOR
|
|
||||||
home.sessionVariables = {
|
|
||||||
};
|
|
||||||
|
|
||||||
# This value determines the Home Manager release that your configuration is
|
|
||||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
|
||||||
# introduces backwards incompatible changes.
|
|
||||||
#
|
|
||||||
# You should not change this value, even if you update Home Manager. If you do
|
|
||||||
# want to update the value, then make sure to first check the Home Manager
|
|
||||||
# release notes.
|
|
||||||
home.stateVersion = "23.05"; # Please read the comment before changing.
|
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
}
|
|
276
home/terminal/default.nix
Normal file
276
home/terminal/default.nix
Normal file
@ -0,0 +1,276 @@
|
|||||||
|
{ config, pkgs, mail, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [ ./nixvim ];
|
||||||
|
|
||||||
|
config = {
|
||||||
|
home.username = "rothe";
|
||||||
|
home.homeDirectory = "/home/rothe";
|
||||||
|
|
||||||
|
# Add extra variables like $EDITOR
|
||||||
|
home.sessionVariables = {
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
black
|
||||||
|
devenv
|
||||||
|
fzf
|
||||||
|
gitleaks
|
||||||
|
go
|
||||||
|
gopls
|
||||||
|
gotools
|
||||||
|
goreleaser
|
||||||
|
htop
|
||||||
|
jq
|
||||||
|
pylint
|
||||||
|
python311
|
||||||
|
python311Packages.flake8
|
||||||
|
python311Packages.ipython
|
||||||
|
ripgrep
|
||||||
|
rusti-cal
|
||||||
|
roboto-mono
|
||||||
|
silver-searcher
|
||||||
|
shellcheck
|
||||||
|
sops
|
||||||
|
(nerdfonts.override { fonts = [
|
||||||
|
"JetBrainsMono"
|
||||||
|
"RobotoMono"
|
||||||
|
]; })
|
||||||
|
];
|
||||||
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
|
programs.fish = {
|
||||||
|
enable = true;
|
||||||
|
# disable greeting
|
||||||
|
shellInit = ''
|
||||||
|
set fish_greeting
|
||||||
|
fish_add_path ~/bin/
|
||||||
|
fish_add_path ~/go/bin/
|
||||||
|
export DEBFULLNAME="Johannes Rothe"
|
||||||
|
export DEBEMAIL="${mail}"
|
||||||
|
export GIT_EDITOR="nvim"
|
||||||
|
export GIT_AUTHOR_NAME="Johannes Rothe"
|
||||||
|
export GIT_AUTHOR_EMAIL="${mail}"
|
||||||
|
export GIT_COMMITTER_NAME="Johannes Rothe"
|
||||||
|
export GIT_COMMITTER_EMAIL="${mail}"
|
||||||
|
export VAULT_ADDR="https://passwords.magazino.eu:8201"
|
||||||
|
export NIX_PATH=$HOME/.nix-defexpr/channels
|
||||||
|
'';
|
||||||
|
shellAliases = {
|
||||||
|
"..." = "cd ../..";
|
||||||
|
"cds" = "cd ~/src/";
|
||||||
|
"cdc" = "cd ~/catkin_ws/src/";
|
||||||
|
"ll" = "ls -lh";
|
||||||
|
"cal" = "rusti-cal --color -w";
|
||||||
|
"ip" = "ip -c";
|
||||||
|
"preview" = "mpv av://v4l2:/dev/video0 --profile=low-latency";
|
||||||
|
"cam" = "gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0";
|
||||||
|
"upd" = "sudo apt update";
|
||||||
|
"upg" = "sudo apt upgrade";
|
||||||
|
"gch" = "git checkout “$(git branch --all | fzf | tr -d ‘[:space:]’)”";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userEmail = "${mail}";
|
||||||
|
userName = "Johannes Rothe";
|
||||||
|
aliases = {
|
||||||
|
a = "add";
|
||||||
|
ci = "commit";
|
||||||
|
ca = "commit --amend --no-edit";
|
||||||
|
ds = "diff --staged";
|
||||||
|
df = "diff";
|
||||||
|
st = "status";
|
||||||
|
co = "checkout";
|
||||||
|
br = "branch";
|
||||||
|
p = "pull -r";
|
||||||
|
};
|
||||||
|
lfs = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
difftastic = {
|
||||||
|
enable = true;
|
||||||
|
background = "dark";
|
||||||
|
};
|
||||||
|
extraConfig = {
|
||||||
|
core = {
|
||||||
|
editor = "vim";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.tmux = {
|
||||||
|
enable = true;
|
||||||
|
prefix = "C-a";
|
||||||
|
historyLimit = 150000;
|
||||||
|
keyMode = "vi";
|
||||||
|
customPaneNavigationAndResize = true;
|
||||||
|
extraConfig = ''
|
||||||
|
bind-key Space next-window
|
||||||
|
|
||||||
|
set -g status-right '#[fg=colour242]#S'
|
||||||
|
set -g status-left ' '
|
||||||
|
set -g window-status-format '#I:#W'
|
||||||
|
set -g window-status-current-format '#I:#W'
|
||||||
|
set -g allow-rename off
|
||||||
|
|
||||||
|
# Start windows and panes at 1, not 0
|
||||||
|
set -g base-index 1
|
||||||
|
setw -g pane-base-index 1
|
||||||
|
|
||||||
|
# default statusbar colors
|
||||||
|
set-option -g status-style bg=colour232,fg=colour239,default
|
||||||
|
|
||||||
|
# border
|
||||||
|
set -g pane-border-style fg=colour234,bg=default
|
||||||
|
set -g pane-active-border-style fg=colour236,bg=default
|
||||||
|
|
||||||
|
# active window title colors
|
||||||
|
set-window-option -g window-status-current-style fg=colour231,bg=default
|
||||||
|
set-window-option -g window-status-style fg=colour239,bg=default
|
||||||
|
|
||||||
|
# bell
|
||||||
|
set-window-option -g window-status-bell-style fg=colour232,bg=colour253
|
||||||
|
|
||||||
|
# Correct colors
|
||||||
|
set -g default-terminal "tmux-256color"
|
||||||
|
set -ga terminal-overrides ",*256col*:Tc"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.vim = {
|
||||||
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
# List of supported plugins: nix-env -f '<nixpkgs>' -qaP -A vimPlugins
|
||||||
|
# TODO Black plugin missing
|
||||||
|
plugins = [
|
||||||
|
pkgs.vimPlugins.ale
|
||||||
|
pkgs.vimPlugins.committia
|
||||||
|
pkgs.vimPlugins.gitgutter
|
||||||
|
pkgs.vimPlugins.indentLine
|
||||||
|
pkgs.vimPlugins.polyglot
|
||||||
|
pkgs.vimPlugins.nerdtree
|
||||||
|
pkgs.vimPlugins.rainbow
|
||||||
|
pkgs.vimPlugins.sonokai
|
||||||
|
pkgs.vimPlugins.vim-airline
|
||||||
|
pkgs.vimPlugins.vim-devicons
|
||||||
|
pkgs.vimPlugins.vim-go
|
||||||
|
pkgs.vimPlugins.vim-hcl
|
||||||
|
pkgs.vimPlugins.vim-isort
|
||||||
|
pkgs.vimPlugins.vim-terraform
|
||||||
|
pkgs.vimPlugins.YouCompleteMe
|
||||||
|
];
|
||||||
|
extraConfig = ''
|
||||||
|
set number
|
||||||
|
set nocompatible
|
||||||
|
set colorcolumn=88
|
||||||
|
set background=dark
|
||||||
|
set cursorline
|
||||||
|
set encoding=utf-8
|
||||||
|
|
||||||
|
" Theme
|
||||||
|
if has('termguicolors')
|
||||||
|
set termguicolors
|
||||||
|
endif
|
||||||
|
let g:sonokai_style = "atlantis"
|
||||||
|
let g:sonokai_disable_italic_comment = 1
|
||||||
|
colorscheme sonokai
|
||||||
|
let g:airline_theme = "sonokai"
|
||||||
|
|
||||||
|
" Filetypes
|
||||||
|
au BufNewFile,BufRead *.launch set filetype=xml
|
||||||
|
|
||||||
|
augroup indent
|
||||||
|
autocmd FileType python,go,dockerfile,js,toml :set tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix
|
||||||
|
autocmd FileType terraform,sh,json,yaml,html,css :set tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent fileformat=unix
|
||||||
|
augroup end
|
||||||
|
|
||||||
|
augroup spell
|
||||||
|
autocmd FileType gitcommit :set spell
|
||||||
|
autocmd FileType git :set nospell
|
||||||
|
autocmd FileType markdown :set spell
|
||||||
|
augroup end
|
||||||
|
|
||||||
|
augroup shortcuts
|
||||||
|
autocmd FileType terraform nnoremap <F9> :! terraform fmt<CR>
|
||||||
|
autocmd FileType python nnoremap <F9> :Black<CR> :Isort <CR>
|
||||||
|
autocmd FileType go nnoremap <F9> <Plug>(go-fmt)<Plug>(go-lint)
|
||||||
|
autocmd FileType go nnoremap <F7> <Plug>(go-build)
|
||||||
|
autocmd FileType go nnoremap <F8> <Plug>(go-run)
|
||||||
|
autocmd FileType go nnoremap gd <Plug>(go-def)
|
||||||
|
augroup end
|
||||||
|
|
||||||
|
" Ale
|
||||||
|
let g:ale_linters = {'python': ['flake8', 'mypy'],'javascript': ['eslint']}
|
||||||
|
let g:ale_fixers = {'python': ['black', 'isort']}
|
||||||
|
let g:ale_python_pylint_options = '--disable=C0111,C0114'
|
||||||
|
|
||||||
|
" YouCompleteMe
|
||||||
|
let g:ycm_gopls_binary_path = "${pkgs.gopls}/bin/gopls"
|
||||||
|
|
||||||
|
" Black
|
||||||
|
let g:black_linelength = 88
|
||||||
|
|
||||||
|
" NERDTREE
|
||||||
|
" open nerdtree when no file is specified on startup
|
||||||
|
autocmd StdinReadPre * let s:std_in=1
|
||||||
|
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
|
||||||
|
" toggle nerdtree keyboard shortcut
|
||||||
|
map <C-t> :NERDTreeToggle<CR>
|
||||||
|
|
||||||
|
" Devicons
|
||||||
|
let g:webdevicons_conceal_nerdtree_brackets = 1
|
||||||
|
syntax enable
|
||||||
|
if exists("g:loaded_webdevicons")
|
||||||
|
call webdevicons#refresh()
|
||||||
|
endif
|
||||||
|
|
||||||
|
" terraform
|
||||||
|
let g:terraform_fmt_on_save = 1
|
||||||
|
let g:terraform_align = 1
|
||||||
|
|
||||||
|
hi clear SpellBad
|
||||||
|
hi SpellBad cterm=underline ctermfg=red
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.ssh = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig = ''
|
||||||
|
AddKeysToAgent yes
|
||||||
|
SendEnv GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.newsboat = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig = "
|
||||||
|
urls-source \"miniflux\"\n
|
||||||
|
miniflux-url \"https://feeds.johannes-rothe.de/\"\n
|
||||||
|
miniflux-login \"johannes\"\n
|
||||||
|
miniflux-passwordfile ~/.minifluxpw\n
|
||||||
|
";
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.direnv = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
"${config.xdg.configHome}/ghostty/config".source = ./ghostty/config;
|
||||||
|
};
|
||||||
|
|
||||||
|
# This value determines the Home Manager release that your configuration is
|
||||||
|
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||||
|
# introduces backwards incompatible changes.
|
||||||
|
#
|
||||||
|
# You should not change this value, even if you update Home Manager. If you do
|
||||||
|
# want to update the value, then make sure to first check the Home Manager
|
||||||
|
# release notes.
|
||||||
|
home.stateVersion = "23.05"; # Please read the comment before changing.
|
||||||
|
|
||||||
|
# Let Home Manager install and manage itself.
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
};
|
||||||
|
}
|
4
home/terminal/ghostty/config
Normal file
4
home/terminal/ghostty/config
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
title = " "
|
||||||
|
window-decoration = false
|
||||||
|
theme = "MaterialDarker"
|
||||||
|
confirm-close-surface = false
|
131
home/terminal/nixvim/default.nix
Normal file
131
home/terminal/nixvim/default.nix
Normal file
@ -0,0 +1,131 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./telescope.nix
|
||||||
|
];
|
||||||
|
programs.nixvim = {
|
||||||
|
colorscheme = "sonokai";
|
||||||
|
enable = true;
|
||||||
|
extraPlugins = [
|
||||||
|
pkgs.vimPlugins.indentLine
|
||||||
|
pkgs.vimPlugins.nvim-lspconfig
|
||||||
|
pkgs.vimPlugins.polyglot
|
||||||
|
pkgs.vimPlugins.sonokai
|
||||||
|
pkgs.vimPlugins.vim-better-whitespace
|
||||||
|
(pkgs.vimUtils.buildVimPlugin {
|
||||||
|
pname = "lualine-so-fancy.nvim";
|
||||||
|
version = "HEAD";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "meuter";
|
||||||
|
repo = "lualine-so-fancy.nvim";
|
||||||
|
rev = "45197358e5274d301d98638bf079f3437d6eacf8";
|
||||||
|
sha256 = "sha256-j6XI4cw1ouYEvSiKdam8RAqxefDqeLwe37Qir/UO+8g=";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
globals = {
|
||||||
|
mapleader = ",";
|
||||||
|
sonokai_style = "atlantis";
|
||||||
|
sonokai_disable_italic_comment = 1;
|
||||||
|
};
|
||||||
|
keymaps = [
|
||||||
|
{
|
||||||
|
key = "<leader>rm";
|
||||||
|
action = "<cmd>RenderMarkdown toggle<CR>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<leader>g";
|
||||||
|
action = "<cmd>Git<CR>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<leader>gp";
|
||||||
|
action = "<cmd>Git push<CR>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<leader>gl";
|
||||||
|
action = "<cmd>Git log<CR>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<leader>gbl";
|
||||||
|
action = "<cmd>Git blame<CR>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<leader>gbr";
|
||||||
|
action = "<cmd>Git branch<CR>";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
opts = {
|
||||||
|
colorcolumn = "88";
|
||||||
|
cursorline = true;
|
||||||
|
number = true;
|
||||||
|
spell = true;
|
||||||
|
termguicolors = true;
|
||||||
|
textwidth = 80;
|
||||||
|
};
|
||||||
|
plugins = {
|
||||||
|
cmp = {
|
||||||
|
enable = true; # Completion
|
||||||
|
autoEnableSources = true;
|
||||||
|
settings.sources = [
|
||||||
|
{ name = "nvim_lsp"; }
|
||||||
|
{ name = "path"; }
|
||||||
|
{ name = "buffer"; }
|
||||||
|
];
|
||||||
|
settings.mapping = {
|
||||||
|
"<C-d>" = "cmp.mapping.scroll_docs(-2)";
|
||||||
|
"<C-f>" = "cmp.mapping.scroll_docs(2)";
|
||||||
|
"<C-Space>" = "cmp.mapping.complete()";
|
||||||
|
"<C-e>" = "cmp.mapping.close()";
|
||||||
|
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item({behavior = cmp.SelectBehavior.Select}), {'i', 's'})";
|
||||||
|
"<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item({behavior = cmp.SelectBehavior.Select}), {'i', 's'})";
|
||||||
|
"<CR>" = "cmp.mapping.confirm({ select = false, behavior = cmp.ConfirmBehavior.Replace })";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
committia.enable = true; # Enhanced git commits
|
||||||
|
fugitive.enable = true;
|
||||||
|
gitsigns.enable = true; # Show git change in first line
|
||||||
|
guess-indent.enable = true; # Guess indent of the file
|
||||||
|
lsp.enable = true;
|
||||||
|
lsp.servers = {
|
||||||
|
bashls.enable = true;
|
||||||
|
dockerls.enable = true;
|
||||||
|
gitlab_ci_ls.enable = true;
|
||||||
|
gitlab_ci_ls.package = pkgs.gitlab-ci-ls;
|
||||||
|
gopls.enable = true;
|
||||||
|
helm_ls.enable = true;
|
||||||
|
jsonls.enable = true;
|
||||||
|
nixd.enable = true;
|
||||||
|
pylsp = {
|
||||||
|
enable = true;
|
||||||
|
settings.plugins = {
|
||||||
|
black.enabled = true;
|
||||||
|
isort.enabled = true;
|
||||||
|
ruff.enabled = true;
|
||||||
|
ruff.formatEnabled = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
terraformls = {
|
||||||
|
enable = true;
|
||||||
|
rootDir = "require('lspconfig.util').root_pattern('.git', '.terraform')";
|
||||||
|
};
|
||||||
|
tflint.enable = true;
|
||||||
|
yamlls.enable = true;
|
||||||
|
};
|
||||||
|
lsp-format.enable = true; # Automatically format on save
|
||||||
|
lsp-lines.enable = true; # Display LSP hints in lines
|
||||||
|
lsp-signature.enable = true; # Show function signature when typing
|
||||||
|
lualine.enable = true; # Status line
|
||||||
|
lualine.settings.sections = {
|
||||||
|
lualine_a = [ "fancy_mode" ];
|
||||||
|
lualine_b = [ "fancy_branch" "fancy_diff" ];
|
||||||
|
lualine_c = [ "fancy_cwd" "filename" ];
|
||||||
|
lualine_x = [ "fancy_diagnostics" "fancy_searchcount" ];
|
||||||
|
lualine_y = [ "fancy_filetype" ];
|
||||||
|
lualine_z = [ "fancy_lsp_servers" ];
|
||||||
|
};
|
||||||
|
render-markdown.enable = true;
|
||||||
|
treesitter.enable = true;
|
||||||
|
web-devicons.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
29
home/terminal/nixvim/telescope.nix
Normal file
29
home/terminal/nixvim/telescope.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
programs.nixvim = {
|
||||||
|
plugins.telescope = {
|
||||||
|
enable = true;
|
||||||
|
extensions = {
|
||||||
|
file-browser.enable = true;
|
||||||
|
frecency.enable = true;
|
||||||
|
fzf-native.enable = true;
|
||||||
|
};
|
||||||
|
keymaps = {
|
||||||
|
# https://github.com/nvim-telescope/telescope.nvim?tab=readme-ov-file#pickers
|
||||||
|
# File pickers
|
||||||
|
"<leader>t" = "file_browser";
|
||||||
|
"<leader>ff" = "find_files";
|
||||||
|
"<leader>fg" = "live_grep";
|
||||||
|
# Vim pickers
|
||||||
|
"<leader>r" = "command_history";
|
||||||
|
"<leader>fo" = "oldfiles";
|
||||||
|
"<leader>fs" = "spell_suggest";
|
||||||
|
# Treesitter pickers
|
||||||
|
"<leader>ft" = "treesitter";
|
||||||
|
# Git pickers
|
||||||
|
"<leader>fgs" = "git_status";
|
||||||
|
# LSP
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
191
home/wayland/default.nix
Normal file
191
home/wayland/default.nix
Normal file
@ -0,0 +1,191 @@
|
|||||||
|
{ config, pkgs, lib, ghostty, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
brightnessctl
|
||||||
|
flameshot
|
||||||
|
ghostty.packages.x86_64-linux.default
|
||||||
|
pulseaudio
|
||||||
|
swaybg
|
||||||
|
swaylock
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.rofi = {
|
||||||
|
enable = true;
|
||||||
|
font = "Roboto Mono Nerd Font 10";
|
||||||
|
theme = "Arc-Dark";
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.waybar = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
mainBar = {
|
||||||
|
position = "bottom";
|
||||||
|
height = 24;
|
||||||
|
modules-left = [
|
||||||
|
"sway/workspaces"
|
||||||
|
"sway/mode"
|
||||||
|
];
|
||||||
|
modules-right = [
|
||||||
|
"network"
|
||||||
|
"cpu"
|
||||||
|
"memory"
|
||||||
|
"battery"
|
||||||
|
"tray"
|
||||||
|
"clock"
|
||||||
|
];
|
||||||
|
"network" = {
|
||||||
|
format-wifi = " {essid} {ipaddr} ({signalStrength}%)";
|
||||||
|
format-ethernet = "{ipaddr}";
|
||||||
|
};
|
||||||
|
"clock" = {
|
||||||
|
format = "{:%a, %d.%m.%Y CW%V %H:%M}";
|
||||||
|
};
|
||||||
|
"cpu" = {
|
||||||
|
interval = 30;
|
||||||
|
format = " {load}";
|
||||||
|
};
|
||||||
|
"memory" = {
|
||||||
|
interval = 30;
|
||||||
|
format = " {percentage}%";
|
||||||
|
};
|
||||||
|
"battery" = {
|
||||||
|
interval = 10;
|
||||||
|
format = " {capacity}% ({time})";
|
||||||
|
format-charging = " {capacity}%";
|
||||||
|
format-plugged = " {capacity}%";
|
||||||
|
format-full = " {capacity}%";
|
||||||
|
states = {
|
||||||
|
"warning" = 30;
|
||||||
|
"critical" = 15;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
style = ./waybar.css;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Automatic display output management
|
||||||
|
services.kanshi = {
|
||||||
|
enable = true;
|
||||||
|
settings = [
|
||||||
|
{ profile.name = "undocked";
|
||||||
|
profile.outputs = [
|
||||||
|
{
|
||||||
|
criteria = "eDP-1";
|
||||||
|
status = "enable";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{ profile.name = "home_office";
|
||||||
|
profile.outputs = [
|
||||||
|
{
|
||||||
|
criteria = "eDP-1";
|
||||||
|
status = "disable";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "HDMI-A-2";
|
||||||
|
status = "enable";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{ profile.name = "office";
|
||||||
|
profile.outputs = [
|
||||||
|
{
|
||||||
|
criteria = "eDP-1";
|
||||||
|
status = "disable";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "DP-1";
|
||||||
|
status = "enable";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.swayidle = {
|
||||||
|
enable = true;
|
||||||
|
timeouts = [
|
||||||
|
{ timeout = 1800; command = "${pkgs.swaylock}/bin/swaylock -f -c 000000"; }
|
||||||
|
{
|
||||||
|
timeout = 3600;
|
||||||
|
command = "${pkgs.sway}/bin/swaymsg 'output * dpms off'";
|
||||||
|
resumeCommand = "${pkgs.sway}/bin/swaymsg 'output * dpms on'";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
events = [
|
||||||
|
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock -f -c 000000"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.gammastep = {
|
||||||
|
enable = true;
|
||||||
|
latitude = 50.81;
|
||||||
|
longitude = 6.37;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.mako = {
|
||||||
|
enable = true;
|
||||||
|
defaultTimeout = 5000;
|
||||||
|
};
|
||||||
|
|
||||||
|
wayland.windowManager.sway = {
|
||||||
|
enable = true;
|
||||||
|
checkConfig = false;
|
||||||
|
package = pkgs.sway;
|
||||||
|
wrapperFeatures.gtk = true;
|
||||||
|
config = let
|
||||||
|
wallpaper = "~/.wallpapers/voxel-city-by-huntingfluff.jpg";
|
||||||
|
in {
|
||||||
|
modifier = "Mod4";
|
||||||
|
focus.followMouse = false;
|
||||||
|
bars = [{
|
||||||
|
command = "waybar";
|
||||||
|
}];
|
||||||
|
output = {
|
||||||
|
"*" = {
|
||||||
|
bg = "${wallpaper} fill";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
input = {
|
||||||
|
"*" = {
|
||||||
|
xkb_layout = "de";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
menu = "rofi -show drun";
|
||||||
|
startup = [
|
||||||
|
{ command = "logseq"; }
|
||||||
|
];
|
||||||
|
window = {
|
||||||
|
hideEdgeBorders = "smart";
|
||||||
|
titlebar = false;
|
||||||
|
commands = [
|
||||||
|
{
|
||||||
|
command = "move scratchpad, resize set 1280 800";
|
||||||
|
criteria = {
|
||||||
|
title = "Logseq";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
keybindings = let
|
||||||
|
modifier = config.wayland.windowManager.sway.config.modifier;
|
||||||
|
in lib.mkOptionDefault {
|
||||||
|
"--release Print" = "exec flameshot gui";
|
||||||
|
"Mod1+l" = "exec swaylock -f -i ${wallpaper} -s fill";
|
||||||
|
"${modifier}+m" = "scratchpad show";
|
||||||
|
"${modifier}+Return" = "exec ghostty";
|
||||||
|
"XF86MonBrightnessDown" = "exec light -U 10";
|
||||||
|
"XF86MonBrightnessUp" = "exec light -A 10";
|
||||||
|
"XF86AudioRaiseVolume" = "exec 'pactl set-sink-volume @DEFAULT_SINK@ +1%'";
|
||||||
|
"XF86AudioLowerVolume" = "exec 'pactl set-sink-volume @DEFAULT_SINK@ -1%'";
|
||||||
|
"XF86AudioMute" = "exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
".wallpapers".source = ./wallpapers;
|
||||||
|
};
|
||||||
|
}
|
Before Width: | Height: | Size: 498 KiB After Width: | Height: | Size: 498 KiB |
66
hosts/lift/configuration.nix
Normal file
66
hosts/lift/configuration.nix
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Bootloader.
|
||||||
|
boot.loader.grub.enable = true;
|
||||||
|
boot.loader.grub.device = "/dev/sda";
|
||||||
|
boot.loader.grub.useOSProber = false;
|
||||||
|
|
||||||
|
# Setup keyfile
|
||||||
|
boot.initrd.secrets = {
|
||||||
|
"/crypto_keyfile.bin" = null;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Enable grub cryptodisk
|
||||||
|
boot.loader.grub.enableCryptodisk = true;
|
||||||
|
|
||||||
|
boot.initrd.luks.devices."luks-efc0285c-812e-4946-936b-37e737fb72eb".keyFile = "/crypto_keyfile.bin";
|
||||||
|
|
||||||
|
networking.hostName = "lift";
|
||||||
|
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
systemd.network.wait-online.enable = false;
|
||||||
|
boot.initrd.systemd.network.wait-online.enable = false;
|
||||||
|
|
||||||
|
|
||||||
|
# bluetooth
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
avrdude
|
||||||
|
cryptsetup
|
||||||
|
ffmpeg
|
||||||
|
fzf
|
||||||
|
gammastep
|
||||||
|
glib
|
||||||
|
gnupg
|
||||||
|
ispell
|
||||||
|
keychain
|
||||||
|
hugo
|
||||||
|
mosquitto
|
||||||
|
mypy
|
||||||
|
sqlite
|
||||||
|
];
|
||||||
|
|
||||||
|
services.pcscd.enable = true;
|
||||||
|
services.passSecretService.enable = true;
|
||||||
|
|
||||||
|
services.blueman.enable = true;
|
||||||
|
|
||||||
|
networking.nftables = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
networking.firewall.trustedInterfaces = [ "incusbr0" ];
|
||||||
|
# This value determines the NixOS release from which the default
|
||||||
|
# settings for stateful data, like file locations and database versions
|
||||||
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
# this value at the release version of the first install of this system.
|
||||||
|
# Before changing this value read the documentation for this option
|
||||||
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
|
system.stateVersion = "23.05"; # Did you read the comment?
|
||||||
|
|
||||||
|
virtualisation = {
|
||||||
|
incus.enable = true;
|
||||||
|
podman.enable = true;
|
||||||
|
};
|
||||||
|
}
|
12
hosts/lift/default.nix
Normal file
12
hosts/lift/default.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{...}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./configuration.nix
|
||||||
|
./hardware-configuration.nix
|
||||||
|
../../modules/terminal/base.nix
|
||||||
|
../../modules/terminal/user.nix
|
||||||
|
../../modules/graphical/base.nix
|
||||||
|
../../modules/graphical/printing.nix
|
||||||
|
../../modules/graphical/steam.nix
|
||||||
|
];
|
||||||
|
}
|
75
hosts/tien/configuration.nix
Normal file
75
hosts/tien/configuration.nix
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
{ modulesPath, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
|
./disk-config.nix
|
||||||
|
];
|
||||||
|
boot.loader.grub = {
|
||||||
|
# no need to set devices, disko will add all devices that have a EF02 partition to the list already
|
||||||
|
# devices = [ ];
|
||||||
|
efiSupport = true;
|
||||||
|
efiInstallAsRemovable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
curl
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.hostName = "tien";
|
||||||
|
# do not use DHCP, as dashserv provisions IPs using cloud-init (see service below)
|
||||||
|
networking.useDHCP = pkgs.lib.mkForce false;
|
||||||
|
networking.firewall = {
|
||||||
|
enable = true;
|
||||||
|
allowedTCPPorts = [ 80 443 ];
|
||||||
|
trustedInterfaces = [ "tailscale0" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.caddy = {
|
||||||
|
enable = true;
|
||||||
|
email = lib.strings.concatStrings ["mail" "@" "johannes-rothe.de"];
|
||||||
|
virtualHosts = {
|
||||||
|
"johannes-rothe.de".extraConfig = ''
|
||||||
|
reverse_proxy base:11112
|
||||||
|
'';
|
||||||
|
"www.johannes-rothe.de".extraConfig = ''
|
||||||
|
reverse_proxy base:11112
|
||||||
|
'';
|
||||||
|
"cloud.johannes-rothe.de".extraConfig = ''
|
||||||
|
reverse_proxy base:5002
|
||||||
|
'';
|
||||||
|
"feeds.johannes-rothe.de".extraConfig = ''
|
||||||
|
reverse_proxy base:1990
|
||||||
|
'';
|
||||||
|
"git.johannes-rothe.de".extraConfig = ''
|
||||||
|
reverse_proxy base:3001
|
||||||
|
'';
|
||||||
|
"radicale.johannes-rothe.de".extraConfig = ''
|
||||||
|
reverse_proxy base:5232
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.cloud-init = {
|
||||||
|
enable = true;
|
||||||
|
network.enable = true;
|
||||||
|
settings = {
|
||||||
|
hostname = "tien";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.searx = {
|
||||||
|
enable = true;
|
||||||
|
redisCreateLocally = true;
|
||||||
|
settings.server = {
|
||||||
|
bind_address = "0.0.0.0";
|
||||||
|
port = 8888;
|
||||||
|
secret_key = "localonly";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
|
system.stateVersion = "24.05";
|
||||||
|
}
|
55
hosts/tien/disk-config.nix
Normal file
55
hosts/tien/disk-config.nix
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
{
|
||||||
|
disko.devices = {
|
||||||
|
disk.disk1 = {
|
||||||
|
device = lib.mkDefault "/dev/sda";
|
||||||
|
type = "disk";
|
||||||
|
content = {
|
||||||
|
type = "gpt";
|
||||||
|
partitions = {
|
||||||
|
boot = {
|
||||||
|
name = "boot";
|
||||||
|
size = "1M";
|
||||||
|
type = "EF02";
|
||||||
|
};
|
||||||
|
esp = {
|
||||||
|
name = "ESP";
|
||||||
|
size = "500M";
|
||||||
|
type = "EF00";
|
||||||
|
content = {
|
||||||
|
type = "filesystem";
|
||||||
|
format = "vfat";
|
||||||
|
mountpoint = "/boot";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
root = {
|
||||||
|
name = "root";
|
||||||
|
size = "100%";
|
||||||
|
content = {
|
||||||
|
type = "lvm_pv";
|
||||||
|
vg = "pool";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
lvm_vg = {
|
||||||
|
pool = {
|
||||||
|
type = "lvm_vg";
|
||||||
|
lvs = {
|
||||||
|
root = {
|
||||||
|
size = "100%FREE";
|
||||||
|
content = {
|
||||||
|
type = "filesystem";
|
||||||
|
format = "ext4";
|
||||||
|
mountpoint = "/";
|
||||||
|
mountOptions = [
|
||||||
|
"defaults"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
24
hosts/tien/hardware-configuration.nix
Normal file
24
hosts/tien/hardware-configuration.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.enp6s18.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
}
|
19
hosts/veil/configuration.nix
Normal file
19
hosts/veil/configuration.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
networking.hostName = "veil";
|
||||||
|
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
# This value determines the NixOS release from which the default
|
||||||
|
# settings for stateful data, like file locations and database versions
|
||||||
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
# this value at the release version of the first install of this system.
|
||||||
|
# Before changing this value read the documentation for this option
|
||||||
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
|
system.stateVersion = "24.11"; # Did you read the comment?
|
||||||
|
|
||||||
|
}
|
13
hosts/veil/default.nix
Normal file
13
hosts/veil/default.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{...}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./configuration.nix
|
||||||
|
./hardware-configuration.nix
|
||||||
|
../../modules/terminal/base.nix
|
||||||
|
../../modules/terminal/user.nix
|
||||||
|
../../modules/graphical/amdgpu.nix
|
||||||
|
../../modules/graphical/base.nix
|
||||||
|
../../modules/graphical/printing.nix
|
||||||
|
../../modules/graphical/steam.nix
|
||||||
|
];
|
||||||
|
}
|
39
hosts/veil/hardware-configuration.nix
Normal file
39
hosts/veil/hardware-configuration.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-uuid/4dda19d7-0520-424e-87e6-771fbfed6ec4";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-uuid/AB15-6303";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [ ];
|
||||||
|
|
||||||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.enp7s0.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.wlp6s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
6
modules/graphical/amdgpu.nix
Normal file
6
modules/graphical/amdgpu.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{...}:
|
||||||
|
{
|
||||||
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||||
|
# for Southern Islands (SI i.e. GCN 1) cards
|
||||||
|
boot.kernelParams = [ "radeon.si_support=0" "amdgpu.si_support=1" ];
|
||||||
|
}
|
91
modules/graphical/base.nix
Normal file
91
modules/graphical/base.nix
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
{pkgs, ...}:
|
||||||
|
{
|
||||||
|
hardware.sane.enable = true;
|
||||||
|
hardware.graphics.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
calibre
|
||||||
|
chromium
|
||||||
|
dracula-theme
|
||||||
|
eog
|
||||||
|
evince
|
||||||
|
firefox
|
||||||
|
gimp
|
||||||
|
inkscape
|
||||||
|
libreoffice
|
||||||
|
logseq
|
||||||
|
nautilus
|
||||||
|
orca-slicer
|
||||||
|
pavucontrol
|
||||||
|
portfolio
|
||||||
|
pulseaudio
|
||||||
|
signal-desktop
|
||||||
|
simple-scan
|
||||||
|
spotify
|
||||||
|
syncthing
|
||||||
|
thunderbird
|
||||||
|
vlc
|
||||||
|
wayshot
|
||||||
|
wdisplays
|
||||||
|
wl-clipboard
|
||||||
|
xdg-utils
|
||||||
|
yt-dlp
|
||||||
|
];
|
||||||
|
|
||||||
|
# Workaround for logseq
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
"electron-27.3.11"
|
||||||
|
];
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
light.enable = true;
|
||||||
|
sway.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
|
services = {
|
||||||
|
dbus.enable = true;
|
||||||
|
gvfs.enable = true;
|
||||||
|
greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
default_session = {
|
||||||
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --asterisks --cmd sway";
|
||||||
|
user = "rothe";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
syncthing = {
|
||||||
|
enable = true;
|
||||||
|
user = "rothe";
|
||||||
|
group = "users";
|
||||||
|
dataDir = "/home/rothe";
|
||||||
|
overrideFolders = false;
|
||||||
|
overrideDevices = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
# Helper for nixos output
|
||||||
|
nh = {
|
||||||
|
enable = true;
|
||||||
|
clean.enable = true;
|
||||||
|
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||||
|
flake = "/home/rothe/src/nixos-config";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
wlr.enable = true;
|
||||||
|
# gtk portal needed to make gtk apps happy
|
||||||
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||||
|
config.common.default = "*";
|
||||||
|
};
|
||||||
|
}
|
30
modules/graphical/printing.nix
Normal file
30
modules/graphical/printing.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
# Enable CUPS to print documents.
|
||||||
|
services.printing.enable = true;
|
||||||
|
|
||||||
|
# Auto-detect network printers
|
||||||
|
services.avahi = {
|
||||||
|
enable = true;
|
||||||
|
nssmdns4 = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.printing.drivers = [
|
||||||
|
(pkgs.writeTextDir "share/cups/model/kyocera_fs-1300d.ppd"
|
||||||
|
(builtins.readFile ../../files/kyocera_fs-1300d.ppd))
|
||||||
|
];
|
||||||
|
hardware.printers = {
|
||||||
|
ensurePrinters = [
|
||||||
|
{
|
||||||
|
name = "Kyocera_FS-1300D";
|
||||||
|
location = "Office";
|
||||||
|
deviceUri = "socket://172.16.0.4:9100";
|
||||||
|
model = "kyocera_fs-1300d.ppd";
|
||||||
|
ppdOptions = {
|
||||||
|
PageSize = "A4";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
ensureDefaultPrinter = "Kyocera_FS-1300D";
|
||||||
|
};
|
||||||
|
}
|
9
modules/graphical/steam.nix
Normal file
9
modules/graphical/steam.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{...}:
|
||||||
|
{
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
remotePlay.openFirewall = true;
|
||||||
|
dedicatedServer.openFirewall = true;
|
||||||
|
localNetworkGameTransfers.openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
54
modules/terminal/base.nix
Normal file
54
modules/terminal/base.nix
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
{pkgs, ...}:
|
||||||
|
{
|
||||||
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
|
|
||||||
|
time.timeZone = "Europe/Berlin";
|
||||||
|
|
||||||
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
|
i18n.extraLocaleSettings = {
|
||||||
|
LC_ADDRESS = "de_DE.UTF-8";
|
||||||
|
LC_IDENTIFICATION = "de_DE.UTF-8";
|
||||||
|
LC_MEASUREMENT = "de_DE.UTF-8";
|
||||||
|
LC_MONETARY = "de_DE.UTF-8";
|
||||||
|
LC_NAME = "de_DE.UTF-8";
|
||||||
|
LC_NUMERIC = "de_DE.UTF-8";
|
||||||
|
LC_PAPER = "de_DE.UTF-8";
|
||||||
|
LC_TELEPHONE = "de_DE.UTF-8";
|
||||||
|
LC_TIME = "de_DE.UTF-8";
|
||||||
|
};
|
||||||
|
|
||||||
|
console.keyMap = "de-latin1-nodeadkeys";
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
bind
|
||||||
|
cmake
|
||||||
|
curl
|
||||||
|
gcc
|
||||||
|
git
|
||||||
|
gnumake
|
||||||
|
nmap
|
||||||
|
tmux
|
||||||
|
tree
|
||||||
|
unzip
|
||||||
|
wget
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.keyboard.zsa.enable = true;
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
fish.enable = true;
|
||||||
|
gnupg.agent = {
|
||||||
|
enable = true;
|
||||||
|
enableSSHSupport = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
fwupd.enable = true;
|
||||||
|
resolved.enable = true;
|
||||||
|
tailscale.enable = true;
|
||||||
|
tailscale.useRoutingFeatures = "client";
|
||||||
|
};
|
||||||
|
}
|
10
modules/terminal/user.nix
Normal file
10
modules/terminal/user.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{pkgs, ...}:
|
||||||
|
{
|
||||||
|
|
||||||
|
users.users.rothe = {
|
||||||
|
isNormalUser = true;
|
||||||
|
description = "rothe";
|
||||||
|
extraGroups = [ "networkmanager" "wheel" "video" "scanner" "lp" "incus-admin" "dialout" ];
|
||||||
|
shell = pkgs.fish;
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user