Merge branch 'main' of git.datarift.nl:erwin/nixos-config

This commit is contained in:
Erwin Boskma 2022-12-23 08:20:03 +01:00
commit 952a74cb82
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU
5 changed files with 60 additions and 31 deletions

60
flake.lock generated
View file

@ -34,11 +34,11 @@
]
},
"locked": {
"lastModified": 1671268121,
"narHash": "sha256-LIOLFw5m2mYDjMo7eBB/cxYjhEqBnvQ8dpZvTjR6+Lo=",
"lastModified": 1671705076,
"narHash": "sha256-HV9mPW5WAAAn+5agTkeiaJU43RQ9g1We/N4yY4D9bCA=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "249d14bdd55995eea2e0c9cfed8a230525faebde",
"rev": "9e9226725def97c722597984175d6f1cb2ecc320",
"type": "github"
},
"original": {
@ -156,11 +156,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1671209729,
"narHash": "sha256-zxn1eA/rMi2DOx43V7q87bGaDzvL7CMVY/Ti7lJ92DQ=",
"lastModified": 1671578428,
"narHash": "sha256-YmbpBcPaGz9KE2bC4xPvSdgCSMk0BmS/L3ePvy9TR/M=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "7d55a72d4c1df694e87a41a7e6c9a7b6e9a40ca3",
"rev": "0f8bf4f92efa3c6168705b49a6788abb3612033a",
"type": "github"
},
"original": {
@ -179,11 +179,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1671221264,
"narHash": "sha256-c2F1OLBjYKCRRQjSmNymsZqAkqiR3yb8UqayLL+/V6I=",
"lastModified": 1671672304,
"narHash": "sha256-gMfYiZbb81h6Cb71Q1SyTVS53PqqRn/kbft6dRh99Cw=",
"owner": "Hyprwm",
"repo": "Hyprland",
"rev": "deb8d3d82ebe4154b04bd97af847cf83c3ae1ce2",
"rev": "eb9d06322928bbd5bc576dc15a869b0f833be48c",
"type": "github"
},
"original": {
@ -272,11 +272,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1671228065,
"narHash": "sha256-Az/ig9LVL5xdqtyl4/CVKJIH1G7sP/9Ott2XnNyie0E=",
"lastModified": 1671631481,
"narHash": "sha256-LP6NvQQNKdqDpXngECo6oCiWfYRb0KPGM5+D5lu7mPw=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "e462a4baf75eeac639b4942481759de08a3bc94e",
"rev": "9577ab1eaf01a738b015a7a7ab2a4616e158b6cd",
"type": "github"
},
"original": {
@ -287,11 +287,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1671200928,
"narHash": "sha256-mZfzDyzojwj6I0wyooIjGIn81WtGVnx6+avU5Wv+VKU=",
"lastModified": 1671359686,
"narHash": "sha256-3MpC6yZo+Xn9cPordGz2/ii6IJpP2n8LE8e/ebUXLrs=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "757b82211463dd5ba1475b6851d3731dfe14d377",
"rev": "04f574a1c0fde90b51bf68198e2297ca4e7cccf4",
"type": "github"
},
"original": {
@ -303,11 +303,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1668984258,
"narHash": "sha256-0gDMJ2T3qf58xgcSbYoXiRGUkPWmKyr5C3vcathWhKs=",
"lastModified": 1671271954,
"narHash": "sha256-cSvu+bnvN08sOlTBWbBrKaBHQZq8mvk8bgpt0ZJ2Snc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "cf63ade6f74bbc9d2a017290f1b2e33e8fbfa70a",
"rev": "d513b448cc2a6da2c8803e3c197c9fc7e67b19e3",
"type": "github"
},
"original": {
@ -319,11 +319,11 @@
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1670146390,
"narHash": "sha256-XrEoDpuloRHHbUkbPnhF2bQ0uwHllXq3NHxtuVe/QK4=",
"lastModified": 1671459584,
"narHash": "sha256-6wRK7xmeHfClJ0ICOkax1avLZVGTDqBodQlkl/opccY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "86370507cb20c905800527539fc049a2bf09c667",
"rev": "87b58217c9a05edcf7630b9be32570f889217aef",
"type": "github"
},
"original": {
@ -389,11 +389,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1671180323,
"narHash": "sha256-qAE390OdYvzSMe58HLpoMZ7llPlp+zIy84pXPnuXqCo=",
"lastModified": 1671452357,
"narHash": "sha256-HqzXiQEegpRQ4VEl9pEPgHSIxhJrNJ27HfN1wOc7w2E=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "a49fc91a606dbbb7a916c56bc09776fc67b5c121",
"rev": "200790e9c77064c53eaf95805b013d96615ecc27",
"type": "github"
},
"original": {
@ -432,11 +432,11 @@
]
},
"locked": {
"lastModified": 1671243596,
"narHash": "sha256-vQ1q6uwx2gKsHbQVhkq17nT8HwUmRbIG8cJVFafNb5s=",
"lastModified": 1671675758,
"narHash": "sha256-wCrqs6waxH/cuaWiNdudjOBmzM1f4z4vtRgH8Zn0XbA=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "905db21103d646ddc1eb81920e05180e6e2b6734",
"rev": "225c0b73534b7ead914c89fcb86c8de3df66eb15",
"type": "github"
},
"original": {
@ -453,11 +453,11 @@
"nixpkgs-stable": "nixpkgs-stable_2"
},
"locked": {
"lastModified": 1670149631,
"narHash": "sha256-rwmtlxx45PvOeZNP51wql/cWjY3rqzIR3Oj2Y+V7jM0=",
"lastModified": 1671472949,
"narHash": "sha256-9iHSGpljCX+RypahQssBXPwkru9onfKfceCTeVrMpH4=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "da98a111623101c64474a14983d83dad8f09f93d",
"rev": "32840f16ffa0856cdf9503a8658f2dd42bf70342",
"type": "github"
},
"original": {

View file

@ -89,6 +89,9 @@
# sccache server
10501
# Celantur
7000
];
};
};
@ -136,6 +139,15 @@
openFirewall = true;
};
services.icecream.daemon = {
enable = true;
schedulerHost = "icecream.internal.horus.nu";
noRemote = true;
openFirewall = false;
openBroadcast = true;
};
# sops = {
# defaultSopsFile = ./secrets.yaml;

View file

@ -41,7 +41,11 @@
hardware = {
video.hidpi.enable = true;
enableAllFirmware = true;
nvidia.modesetting.enable = true;
nvidia = {
modesetting.enable = true;
powerManagement.enable = true;
forceFullCompositionPipeline = true;
};
opengl = {
driSupport32Bit = true;

View file

@ -24,6 +24,10 @@ in
enable = true;
dates = "weekly";
};
daemon.settings = {
insecure-registries = config.virtualisation.containers.registries.insecure;
};
};
virtualisation.containers = {

View file

@ -98,11 +98,13 @@ in
git
gnome.nautilus
headsetcontrol
icemon
imagemagick
iotop
(jetbrains.clion.override { jdk = pkgs.jetbrains.jdk; })
libnotify
libreoffice-fresh
minio-client
mpv
nordzy-cursor-theme
onefetch
@ -175,6 +177,11 @@ in
gtk-cursor-theme-name = "Nordzy-cursors";
};
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = true;
gtk-cursor-theme-name = "Nordzy-cursors";
};
};
imports = [
@ -193,6 +200,8 @@ in
home.stateVersion = "22.11";
};
services.teamviewer.enable = true;
services.xserver = {
layout = "us,us";
xkbVariant = "colemak,";