mirror of
https://github.com/Unkn0wnCat/dotfiles.git
synced 2025-05-13 15:56:36 +02:00
Update README and set timezone
This commit is contained in:
parent
2d54f817a4
commit
7dbe7d8f81
2 changed files with 21 additions and 3 deletions
20
README.md
20
README.md
|
@ -7,8 +7,24 @@ This repo contains my personal dotfiles and configurations for my computers.
|
||||||
I use NixOS as my main OS, and for that I have written a few modules in [`nixos/modules`](./nixos/modules).
|
I use NixOS as my main OS, and for that I have written a few modules in [`nixos/modules`](./nixos/modules).
|
||||||
Are those settings perfect? No, but they are my opinionated defaults. :stuck_out_tongue_winking_eye:
|
Are those settings perfect? No, but they are my opinionated defaults. :stuck_out_tongue_winking_eye:
|
||||||
|
|
||||||
*Build-Command Example:*
|
## Useful Commands
|
||||||
|
|
||||||
|
*Generate Hash For Password File*
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo nixos-rebuild switch --flake '.#kevin-tp' --impure
|
mkpasswd -m sha-512
|
||||||
|
```
|
||||||
|
|
||||||
|
*Edit / Create SOPS File*
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd nixos
|
||||||
|
nix-shell -p sops --run "EDITOR=vim sops shared/secrets/passwords.yaml"
|
||||||
|
```
|
||||||
|
|
||||||
|
*Create New AGE-Key*
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir -p ~/.config/sops/age
|
||||||
|
nix-shell -p age --run "age-keygen -o ~/.config/sops/age/keys.txt"
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, lib, ... }: {
|
||||||
imports = [ ./ssh.nix ];
|
imports = [ ./ssh.nix ];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
kevin.ssh.server.enable = true;
|
kevin.ssh.server.enable = true;
|
||||||
|
|
||||||
|
time.timeZone = lib.mkDefault "Europe/Berlin";
|
||||||
|
|
||||||
console = {
|
console = {
|
||||||
font = "Lat2-Terminus16";
|
font = "Lat2-Terminus16";
|
||||||
keyMap = "de";
|
keyMap = "de";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue