Add kirigami and some small fixes to GLaDOS

This commit is contained in:
Lillian Violet 2023-11-03 21:57:49 +01:00
parent 9e0db08a00
commit 64572c4fcf
3 changed files with 40 additions and 7 deletions

View file

@ -44,6 +44,10 @@
allowUnfree = true;
# Workaround for https://github.com/nix-community/home-manager/issues/2942
allowUnfreePredicate = _: true;
permittedInsecurePackages = [
"electron-22.3.27"
];
};
};
@ -64,7 +68,7 @@
# Chat applications:
element-desktop
signal-desktop
webcord-vencord
webcord
# Gaming:
prismlauncher
@ -106,7 +110,7 @@
jnoortheen.nix-ide
kamadorueda.alejandra
ms-toolsai.jupyter
ms-python.python
#ms-python.python
rust-lang.rust-analyzer
yzhang.markdown-all-in-one
];
@ -114,6 +118,18 @@
programs.zsh = {
enable = true;
plugins = [
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.7.0";
sha256 = "149zh2rm59blr2q458a5irkfh82y3dwdich60s9670kl3cl5h2m1";
};
}
];
enableAutosuggestions = true;
enableCompletion = true;
historySubstringSearch.enable = true;
@ -178,7 +194,6 @@
"web-search"
"zsh-interactive-cd"
"zsh-navigation-tools"
"zsh-nix-shell"
];
theme = "jtriley";
};
@ -186,8 +201,11 @@
# Enable home-manager and git
programs.home-manager.enable = true;
programs.git.enable = true;
programs.git = {
enable = true;
userEmail = "git@gladtherescake.eu";
userName = "Lillian-Violet";
};
# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch";

View file

@ -89,6 +89,7 @@
alejandra
git-filter-repo
home-manager
kirigami
libsForQt5.discover
libsForQt5.kdepim-addons
libsForQt5.packagekit-qt

View file

@ -10,6 +10,8 @@
}: {
# You can import other NixOS modules here
imports = [
# Import home-manager's NixOS module
inputs.home-manager.nixosModules.home-manager
# If you want to use modules your own flake exports (from modules/nixos):
# outputs.nixosModules.example
@ -24,6 +26,14 @@
./hardware-configuration.nix
];
home-manager = {
extraSpecialArgs = {inherit inputs outputs;};
users = {
# Import your home-manager configuration
lillian = import ../../home-manager/GLaDOS-Lillian.nix;
};
};
nixpkgs = {
# You can add overlays here
overlays = [
@ -46,6 +56,9 @@
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
permittedInsecurePackages = [
"electron-22.3.27"
];
};
};
@ -72,10 +85,11 @@
};
environment.systemPackages = with pkgs; [
rage
age
alejandra
git-filter-repo
home-manager
kirigami
libsForQt5.discover
libsForQt5.kdepim-addons
libsForQt5.packagekit-qt
@ -154,7 +168,7 @@
enable = true;
};
networking.hostName = "EDI";
networking.hostName = "GLaDOS";
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 3;