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; allowUnfree = true;
# Workaround for https://github.com/nix-community/home-manager/issues/2942 # Workaround for https://github.com/nix-community/home-manager/issues/2942
allowUnfreePredicate = _: true; allowUnfreePredicate = _: true;
permittedInsecurePackages = [
"electron-22.3.27"
];
}; };
}; };
@ -64,7 +68,7 @@
# Chat applications: # Chat applications:
element-desktop element-desktop
signal-desktop signal-desktop
webcord-vencord webcord
# Gaming: # Gaming:
prismlauncher prismlauncher
@ -106,7 +110,7 @@
jnoortheen.nix-ide jnoortheen.nix-ide
kamadorueda.alejandra kamadorueda.alejandra
ms-toolsai.jupyter ms-toolsai.jupyter
ms-python.python #ms-python.python
rust-lang.rust-analyzer rust-lang.rust-analyzer
yzhang.markdown-all-in-one yzhang.markdown-all-in-one
]; ];
@ -114,6 +118,18 @@
programs.zsh = { programs.zsh = {
enable = true; 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; enableAutosuggestions = true;
enableCompletion = true; enableCompletion = true;
historySubstringSearch.enable = true; historySubstringSearch.enable = true;
@ -178,7 +194,6 @@
"web-search" "web-search"
"zsh-interactive-cd" "zsh-interactive-cd"
"zsh-navigation-tools" "zsh-navigation-tools"
"zsh-nix-shell"
]; ];
theme = "jtriley"; theme = "jtriley";
}; };
@ -186,8 +201,11 @@
# Enable home-manager and git # Enable home-manager and git
programs.home-manager.enable = true; 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 # Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch"; systemd.user.startServices = "sd-switch";

View file

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

View file

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