|
|
|
|
@ -2,16 +2,25 @@ |
|
|
|
|
# your system. Help is available in the configuration.nix(5) man page, on |
|
|
|
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). |
|
|
|
|
|
|
|
|
|
{ config, lib, pkgs, ronema, xdph, ... }: |
|
|
|
|
{ |
|
|
|
|
config, |
|
|
|
|
lib, |
|
|
|
|
pkgs, |
|
|
|
|
ronema, |
|
|
|
|
xdph, |
|
|
|
|
... |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
imports = |
|
|
|
|
[ # Include the results of the hardware scan. |
|
|
|
|
imports = [ |
|
|
|
|
# Include the results of the hardware scan. |
|
|
|
|
./hardware-configuration.nix |
|
|
|
|
"${builtins.fetchTarball { |
|
|
|
|
"${ |
|
|
|
|
builtins.fetchTarball { |
|
|
|
|
url = "https://github.com/nix-community/disko/archive/refs/tags/v1.6.1.tar.gz"; |
|
|
|
|
sha256 = "1p9vsml07bm3riw703dv83ihlmgyc11qv882qa6bqzqdgn86y8z4"; |
|
|
|
|
}}/module.nix" |
|
|
|
|
} |
|
|
|
|
}/module.nix" |
|
|
|
|
./disko.nix |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
@ -55,10 +64,15 @@ |
|
|
|
|
# }; |
|
|
|
|
|
|
|
|
|
# https://nixos.wiki/wiki/Fonts fonts with icons |
|
|
|
|
fonts.packages = with pkgs; |
|
|
|
|
[ |
|
|
|
|
fonts.packages = with pkgs; [ |
|
|
|
|
font-awesome |
|
|
|
|
(nerdfonts.override {fonts = ["JetBrainsMono" "CascadiaCode" "FiraCode"];}) |
|
|
|
|
(nerdfonts.override { |
|
|
|
|
fonts = [ |
|
|
|
|
"JetBrainsMono" |
|
|
|
|
"CascadiaCode" |
|
|
|
|
"FiraCode" |
|
|
|
|
]; |
|
|
|
|
}) |
|
|
|
|
]; |
|
|
|
|
fonts.fontconfig = { |
|
|
|
|
defaultFonts = { |
|
|
|
|
@ -126,7 +140,11 @@ |
|
|
|
|
# Define a user account. Don't forget to set a password with ‘passwd’. |
|
|
|
|
users.users.chrigi = { |
|
|
|
|
isNormalUser = true; |
|
|
|
|
extraGroups = [ "wheel" "networkmanager" "docker"]; |
|
|
|
|
extraGroups = [ |
|
|
|
|
"wheel" |
|
|
|
|
"networkmanager" |
|
|
|
|
"docker" |
|
|
|
|
]; |
|
|
|
|
initialPassword = "password"; |
|
|
|
|
packages = with pkgs; [ |
|
|
|
|
firefox |
|
|
|
|
@ -183,7 +201,11 @@ |
|
|
|
|
services.gnome.gnome-keyring.enable = true; |
|
|
|
|
security.pam.services.greetd.enableGnomeKeyring = true; |
|
|
|
|
|
|
|
|
|
nix.gc = { automatic = true; dates = "weekly"; options = "--delete-older-than 7d"; }; |
|
|
|
|
nix.gc = { |
|
|
|
|
automatic = true; |
|
|
|
|
dates = "weekly"; |
|
|
|
|
options = "--delete-older-than 7d"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
# Some programs need SUID wrappers, can be configured further or are |
|
|
|
|
# started in user sessions. |
|
|
|
|
@ -229,8 +251,10 @@ |
|
|
|
|
|
|
|
|
|
nix = { |
|
|
|
|
# package = pkgs.nix; |
|
|
|
|
settings.experimental-features = ["nix-command" "flakes"]; |
|
|
|
|
settings.experimental-features = [ |
|
|
|
|
"nix-command" |
|
|
|
|
"flakes" |
|
|
|
|
]; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|