niri änderungen
This commit is contained in:
24
flake.lock
generated
24
flake.lock
generated
@@ -52,22 +52,34 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1784796856,
|
||||
"narHash": "sha256-vwxWgF+Gj276WznzGb1LxGsK/39HaQwgQXiU3EkC844=",
|
||||
"rev": "e2587caef70cea85dd97d7daab492899902dbf5d",
|
||||
"type": "tarball",
|
||||
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1040357.e2587caef70c/nixexprs.tar.xz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"
|
||||
}
|
||||
},
|
||||
"noctalia": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1784987374,
|
||||
"narHash": "sha256-RfO7GURPZZr30LSRrNJAr7ruyLK11rHnWMntENSKT34=",
|
||||
"lastModified": 1785057679,
|
||||
"narHash": "sha256-7s3NWitLRzpkhWmTjzSvUMI975WTpLV5olfpIeyHTzo=",
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia",
|
||||
"rev": "9de30388c0df8bc1e8db7405331a3598fc3a8015",
|
||||
"rev": "2b4764f0709d962c0e123b85977005a187f5d8fa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "noctalia-dev",
|
||||
"ref": "cachix",
|
||||
"repo": "noctalia",
|
||||
"type": "github"
|
||||
}
|
||||
|
||||
13
flake.nix
13
flake.nix
@@ -1,11 +1,16 @@
|
||||
{
|
||||
description = "Noctalica test";
|
||||
|
||||
nixConfig = {
|
||||
extra-substituters = [ "https://noctalia.cachix.org" ];
|
||||
extra-trusted-public-keys = [ "noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4=" ];
|
||||
};
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
noctalia = {
|
||||
url = "github:noctalia-dev/noctalia";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
url = "github:noctalia-dev/noctalia/cachix";
|
||||
# inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
@@ -20,6 +25,7 @@
|
||||
outputs = { self, nixpkgs, noctalia, home-manager, lazyvim, ...}@inputs: {
|
||||
nixosConfigurations.vm = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
|
||||
modules = [
|
||||
home-manager.nixosModules.home-manager {
|
||||
@@ -32,8 +38,9 @@
|
||||
|
||||
home-manager.users.peter = import ./modules/home.nix;
|
||||
}
|
||||
./modules/configuration.nix
|
||||
|
||||
./modules/niri.nix
|
||||
./modules/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -2,11 +2,15 @@
|
||||
# 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.
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
@@ -59,7 +63,10 @@
|
||||
users.users."peter" = {
|
||||
isNormalUser = true;
|
||||
description = "peter";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
packages = with pkgs; [ ];
|
||||
};
|
||||
|
||||
@@ -85,13 +92,16 @@
|
||||
xdg.portal.enable = true;
|
||||
|
||||
home-manager.users.peter = { pkgs, ... }: {
|
||||
home.packages = [ pkgs.atool pkgs.httpie ];
|
||||
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.waybar.enable = true; # launch on startup in the default setting (bar)
|
||||
|
||||
services.mako.enable = true; # notification daemon
|
||||
services.swayidle.enable = true; # idle management daemon
|
||||
@@ -114,6 +124,21 @@
|
||||
neovim
|
||||
xwayland-satellite
|
||||
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"
|
||||
];
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ in {
|
||||
];
|
||||
|
||||
# Beispiel: Git‑Konfiguration
|
||||
programs.git.settings.user = {
|
||||
programs.git.settings.peter = {
|
||||
enable = true;
|
||||
userName = "peter";
|
||||
userEmail = "peter@email";
|
||||
|
||||
@@ -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
0
modules/noctalia.nix
Normal file
Reference in New Issue
Block a user