framework

This commit is contained in:
Alexander Szczepanski
2023-06-15 13:09:41 +02:00
parent d6706a6522
commit ee7aff8404
9 changed files with 272 additions and 45 deletions

View File

@ -8,5 +8,8 @@
};
};
environment.systemPackages = with pkgs; [ docker-compose ];
environment.systemPackages = with pkgs; [
docker-compose
minikube
];
}

51
configs/gnome.nix Normal file
View File

@ -0,0 +1,51 @@
{ config, pkgs, lib, ... }:
{
programs.evolution.enable = true;
services = {
xserver = {
enable = true;
excludePackages = [ pkgs.xterm ];
displayManager = {
gdm = {
enable = true;
};
};
desktopManager.gnome.enable = true;
layout = "us";
# Enable touchpad support.
libinput.enable = true;
updateDbusEnvironment = true;
};
};
environment.systemPackages = with pkgs; [
blackbox-terminal
gnome.gnome-power-manager
gnome.gnome-tweaks
gnomeExtensions.appindicator
gnomeExtensions.blur-my-shell
gnomeExtensions.vitals
whitesur-gtk-theme
whitesur-icon-theme
moka-icon-theme
];
environment.gnome.excludePackages = (with pkgs; [ gnome-tour ])
++ (with pkgs.gnome; [
cheese # webcam tool
gnome-music
gedit # text editor
epiphany # web browser
gnome-characters
totem # video player
iagno # go game
hitori # sudoku game
atomix # puzzle game
]);
# services.gpg-agent.pinentryFlavor = lib.mkDefault "gnome3";
}

View File

@ -41,37 +41,37 @@ in
};
};
# fonts = {
# enableDefaultFonts = true;
# fontDir.enable = true;
fonts = {
enableDefaultFonts = true;
fontDir.enable = true;
# fonts = with pkgs; [
# # (nerdfonts.override { fonts = [ "Liberation" ]; })
# nerdfonts
# corefonts
# # google-fonts
# liberation_ttf
# noto-fonts
# noto-fonts-cjk
# noto-fonts-emoji
# noto-fonts-extra
fonts = with pkgs; [
# (nerdfonts.override { fonts = [ "Liberation" ]; })
nerdfonts
corefonts
google-fonts
liberation_ttf
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
# open-sans
# stix-two
# twemoji-color-font
# ];
open-sans
stix-two
twemoji-color-font
];
# # fontconfig = {
# # enable = true;
# # antialias = true;
# # defaultFonts = {
# # # monospace = [ "Fira Mono" ];
# # serif = [ "Linux Libertine" ];
# # sansSerif = [ "Open Sans" ];
# # emoji = [ "Twitter Color Emoji" ];
# # };
# # };
# };
# fontconfig = {
# enable = true;
# antialias = true;
# defaultFonts = {
# # monospace = [ "Fira Mono" ];
# serif = [ "Linux Libertine" ];
# sansSerif = [ "Open Sans" ];
# emoji = [ "Twitter Color Emoji" ];
# };
# };
};
hardware.bluetooth.enable = true;
hardware.sane.enable = true;

View File

@ -15,7 +15,11 @@
};
};
desktopManager.pantheon.enable = true;
desktopManager.pantheon = {
enable = true;
extraWingpanelIndicators = with pkgs; [ wingpanel-indicator-ayatana ];
};
layout = "us";
# Enable touchpad support.
@ -23,4 +27,9 @@
updateDbusEnvironment = true;
};
};
# App indicator
environment.pathsToLink = [ "/libexec" ];
environment.systemPackages = with pkgs; [ indicator-application-gtk3 ];
}

View File

@ -1,7 +1,20 @@
{ config, pkgs, lib, ... }:
let
unstable = import <nixos-unstable> { config.allowUnfree = true; };
unstable = import <nixos-unstable> {
config.allowUnfree = true;
config.permittedInsecurePackages = [
"electron-12.2.3"
];
config.packageOverrides = pkgs: {
steam = pkgs.steam.override {
extraPkgs = pkgs: with unstable.pkgs; [
gamescope
mangohud
];
};
};
};
in
{
imports = [ <home-manager/nixos> ];
@ -9,31 +22,31 @@ in
home-manager.users.alex = { pkgs, ... }: {
home = {
packages = with unstable.pkgs; [
bitwarden
cura
cypress
brave
chromium
# bitwarden
# cura
czkawka
discord
etcher
# etcher
firefox
font-manager
freecad
fslint
homebank
# font-manager
# freecad
# homebank
insomnia
kdenlive
# kdenlive
libreoffice
lutris
# mangohud
meld
# obs-studio
pinta
prusa-slicer
rpi-imager
# prusa-slicer
# rpi-imager
signal-desktop
steam
solaar
spotify
steam
teams
# teams
virtmanager
vulkan-tools
wine

View File

@ -60,6 +60,35 @@ in
}/bin/git-credential-libsecret";
};
};
kitty = {
enable = true;
extraConfig = ''
enable_audio_bell false
background #000000
foreground #e9e9e9
cursor #e9e9e9
selection_background #424242
color0 #000000
color8 #000000
color1 #d44d53
color9 #d44d53
color2 #b9c949
color10 #b9c949
color3 #e6c446
color11 #e6c446
color4 #79a6da
color12 #79a6da
color5 #c396d7
color13 #c396d7
color6 #70c0b1
color14 #70c0b1
color7 #fffefe
color15 #fffefe
selection_foreground #000000
'';
};
};
};
}

View File

@ -24,9 +24,11 @@ in
"nginx"
"scanner"
"adbusers"
"locatedb"
];
openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDPSzeNjfkz7/B/18TcJxxmNFUhvTKoieBcexdzebWH7oncvyBXNRJp8vAqSIVFLzz5UUFQNFuilggs8/N48U84acmFOxlbUmxlkf8KZgeB/G6uQ8ncQh6M1HNNPH+9apTURgfctr7eEZe9seLIEBISQLXB2Sf3F1ogfDj25S8kH9RM4wM1/jDFK5IecWHScKxwQPmCoXeGE1LEJq6nkQLXMDsWhSihtWouaTxSR0p7/wp/Rqt/hzLEWj8e3+qLMc5JrrdaWksupUCysme7CnSfGSzNUv9RKiRCTFofYPT9tbRn5JzdpQ55v22S6OvmmXUHjST1MOzI8MpVPZCCqd/ZQ1E+gErFiMwjG4sn/xxdPK9/jbQaXMjLklbKtR+C5090Ew2u2kj78jqGk/8COhF1MXh/9qjcG+C51uD1AS9d410kfjPwkaUt4U2KktDMQ942nWywrvIWM0Gt2kgDLYotsy/70q/aTJ8bvaCoWoDOGmpWcyNNBalz4OYYGI2Z0WHrVTs0FpzSk/XeQz0OLkmueoh5GDGd8zrfO6Nf5LWI17aWGRePTpQP5mJIg6jC3j8/QVrthEP6QyIIkZsnfsmvSiMWVfXqEy1BxVlu3T6aLffaj679KCsxY+mx5mTH2hwd4ZdbSI4F0GCIt+WGaFhHs2V3ZQitoEZuraRPEc4HGw== alexander@szczepan.ski"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOYEaT0gH9yJM2Al0B+VGXdZB/b2qjZK7n01Weq0TcmQ alex@framework"
];
};
};