niri änderungen

This commit is contained in:
peter
2026-07-26 22:03:51 +02:00
parent 87549d314f
commit bbd2bf8125
6 changed files with 96 additions and 40 deletions

View File

@@ -2,13 +2,17 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, home-manager, ... }:
{
config,
pkgs,
...
}:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
# Bootloader.
boot.loader.grub.enable = true;
@@ -59,8 +63,11 @@
users.users."peter" = {
isNormalUser = true;
description = "peter";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [];
extraGroups = [
"networkmanager"
"wheel"
];
packages = with pkgs; [ ];
};
programs.niri.enable = true;
@@ -85,21 +92,24 @@
xdg.portal.enable = true;
home-manager.users.peter = { pkgs, ... }: {
home.packages = [ pkgs.atool pkgs.httpie ];
programs.bash.enable = true;
home.packages = [
pkgs.atool
pkgs.httpie
];
programs.bash.enable = true;
programs.alacritty.enable = true; # Super+T in the default setting (terminal)
programs.fuzzel.enable = true; # Super+D in the default setting (app launcher)
programs.swaylock.enable = true; # Super+Alt+L in the default setting (screen locker)
programs.waybar.enable = true; # launch on startup in the default setting (bar)
programs.alacritty.enable = true; # Super+T in the default setting (terminal)
programs.fuzzel.enable = true; # Super+D in the default setting (app launcher)
programs.swaylock.enable = true; # Super+Alt+L in the default setting (screen locker)
# programs.waybar.enable = true; # launch on startup in the default setting (bar)
services.mako.enable = true; # notification daemon
services.swayidle.enable = true; # idle management daemon
services.polkit-gnome.enable = true; # polkit
services.mako.enable = true; # notification daemon
services.swayidle.enable = true; # idle management daemon
services.polkit-gnome.enable = true; # polkit
home.stateVersion = "26.05"; # Please read the comment before changing.
home.stateVersion = "26.05"; # Please read the comment before changing.
};
};
systemd.user.services.niri.enableDefaultPath = false;
@@ -109,11 +119,26 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
neovim
xwayland-satellite
git
git
ghostty
python3
fd
gcc
ripgrep
fzf
lazygit
unzip
wget
lua51Packages.luarocks
luaPackages.tree-sitter-cli
nodejs
rustup
nixfmt
statix
];
programs.xwayland.enable = true;
@@ -144,5 +169,8 @@
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "26.05"; # Did you read the comment?
nix.settings.experimental-features = [ "nix-command" "flakes"];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
}

View File

@@ -15,7 +15,7 @@ in {
];
# Beispiel: GitKonfiguration
programs.git.settings.user = {
programs.git.settings.peter = {
enable = true;
userName = "peter";
userEmail = "peter@email";

View File

@@ -1,6 +1,15 @@
{ inputs, config, pkgs, ... }:
{ inputs, pkgs, ... }:
{
environmen.systemPackages = with pkgs; [
inputs.noctalia.packages.${pkgs.stdenc.hostPlatform.system}.default
environment.systemPackages = with pkgs; [
inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default
];
imports = [
inputs.noctalia.nixosModules.default
];
programs.noctalia = {
enable = true;
systemd.enable = true;
};
}

0
modules/noctalia.nix Normal file
View File