272 current 2024-12-04 04:35:32 24.11.20241123.0c58267 6.12.1 *

This commit is contained in:
Ranomier 2024-12-04 04:35:39 +01:00
parent 07948eefd3
commit edc26b9646
16 changed files with 75 additions and 19 deletions

View file

@ -7,14 +7,14 @@
# Main nix package repository
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
# NixOS unstable channel
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
# NixOS unstable channel
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
# ready made hardware configurations. e.G.: Power saving
nixos-hardware = {
url = "github:NixOS/nixos-hardware/master";

View file

@ -1,6 +1,7 @@
{
pkgs,
inputs,
modulesPath,
...
}: {
networking.hostName = "crocoite"; # Define your hostname.
@ -53,6 +54,9 @@
};
imports = [
# steam and other stuff seems to depend on perl
#"${modulesPath}/profiles/perlless.nix"
inputs.nix-flatpak.nixosModules.nix-flatpak
#nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen1
@ -74,6 +78,5 @@
../../modules/wm_and_de
../../modules/pkg_mgrmnt
];
}

View file

@ -1,4 +1,4 @@
{ ... }: {
{...}: {
imports = [
./boot_theming.nix
./environment.nix

View file

@ -1,4 +1,4 @@
{ ... }: {
{...}: {
imports = [
./flatpak.nix
./podman.nix

View file

@ -1,4 +1,4 @@
{ ... }: {
{...}: {
services.flatpak = {
enable = true;
update.auto = {
@ -18,6 +18,5 @@
location = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo";
}
];
};
}

View file

@ -1,4 +1,4 @@
{ ... }: {
{...}: {
imports = [
./apparmor.nix
./firejail.nix

View file

@ -1,4 +1,4 @@
{ ... }: {
{...}: {
imports = [
./brave.nix
./firefox.nix

View file

@ -1,4 +1,4 @@
{ ... }: {
{...}: {
imports = [
./audio_video.nix
./flatpak.nix

View file

@ -1,4 +1,4 @@
{ ... }: {
{...}: {
services.flatpak = {
packages = [
{

View file

@ -1,4 +1,4 @@
{ ... }: {
{...}: {
imports = [
#./doc.nix
./index.nix

View file

@ -1,4 +1,57 @@
{pkgs, ...}: {
programs.zsh.enable = true;
# everyone should use zsh xD
users.defaultUserShell = pkgs.zsh;
# Prevent the new user dialog in zsh
system.userActivationScripts.zshrc = "touch .zshrc";
programs.zsh = {
enable = true;
shellInit = ''
compinit () {
builtin autoload -XUz /run/current-system/sw/share/zsh/$ZSH_VERSION/functions
}
# config options to make zsh obey XDG base directory standard
ZDOTDIR=$HOME/.config/zsh
[ -d "$HOME"/.config/zsh ] || mkdir -p "$HOME"/.config/zsh
HISTFILE="$XDG_STATE_HOME"/zsh/history
# Completion files: Use XDG dirs
[ -d "$XDG_CACHE_HOME"/zsh ] || mkdir -p "$XDG_CACHE_HOME"/zsh
zstyle ':completion:*' cache-path "$XDG_CACHE_HOME"/zsh/zcompcache
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-$ZSH_VERSION
# Note that to manually override this in ~/.zshrc you should run `prompt off`
# before setting your PS1 and etc. Otherwise this will likely to interact with
# your ~/.zshrc configuration in unexpected ways as the default prompt sets
# a lot of different prompt variables.
autoload -U promptinit && promptinit && prompt suse && setopt prompt_sp
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
# bindkey
bindkey -e
bindkey "\e[3~" delete-char
# Home- und End-Keys.
bindkey '\e[1~' beginning-of-line
bindkey '\e[4~' end-of-line
# to redo the initial zsh installation run these commands
#autoload -Uz zsh-newuser-install
#zsh-newuser-install -f
'';
ohMyZsh.enable = true;
};
programs.starship = {
enable = true;
settings = {
add_newline = false;
};
presets = [
"jetpack"
];
};
}

View file

@ -63,7 +63,7 @@
keepassxc
#minecraft
element-desktop
rustdesk
rustdesk-flutter
timer
];

View file

@ -1,4 +1,4 @@
{ ... }: {
{...}: {
imports = [
./bluetooth.nix
./fwupd.nix

View file

@ -1,4 +1,4 @@
{ ... }: {
{...}: {
imports = [
./ranomier.nix
];

View file

@ -1,4 +1,4 @@
{ ... }: {
{...}: {
imports = [
./hyprland.nix
];

View file

@ -58,7 +58,8 @@
pamixer
waybar
hyprpaper
unstable.kanshi
#unstable.kanshi
shikane
dunst
# audio