Merge Dev with main #21

Merged
Peritia-System merged 57 commits from Dev into main 2026-02-07 10:56:52 +01:00
Showing only changes of commit 0dcd437fe9 - Show all commits

View file

@ -54,7 +54,7 @@ NixOS-95/
Enabled Enabled
### 1. Add Nyx to your flake ### 1. Add Nixos95 to your flake and import the module
```nix ```nix
# flake.nix # flake.nix
@ -63,79 +63,94 @@ NixOS-95/
nixos95.url = "github:Peritia-System/NixOS-95/Dev"; nixos95.url = "github:Peritia-System/NixOS-95/Dev";
nixos95.inputs.nixpkgs.follows = "nixpkgs"; nixos95.inputs.nixpkgs.follows = "nixpkgs";
} }
outputs = inputs @ { nixpkgs, nixos95, ... }: { outputs = inputs @ { nixos95, ... }: {
nixosConfigurations.HOSTNAME = nixpkgs.lib.nixosSystem { nixosConfigurations.HOSTNAME = nixpkgs.lib.nixosSystem {
modules = [ ./configuration.nix ]; modules = [
nixos95.nixosModules.default
./configuration.nix
];
}; };
}; };
} }
``` ```
### 2. Import in Configuration.nix ### 2. Enable modules
```nix You can configure Nixos95 under the `nixos95` namespace. For a minimal config just set:
# configuration.nix ```
{ {
imports = [ inputs.self.nixosModules.nixos95 ]; nixos95.enable = true;
} }
``` ```
### 3. Enable modules > Warning: This will activate the xfce desktop manager, as well as lightdm and ssdm as display manager.
> You might want to disable your other desktop environment to prevent bugs.
If you want to further customize Nixos95 you can use the following config options (given values are the default ones):
```nix ```nix
{ {
# configuration.nix / or sth imported by the main config
nixos95 = { nixos95 = {
enable = true; enable = true; # default is false
user = "alex"; user = "USERNAME"; # no default set; specifies the user used by home-manager
wallpaper = ./Resources/Images/Wallpapers/Wallpaper-1.png;
taskbar = { taskbar = {
homeIcon = "whisker-menu-button"; homeIcon = "whisker-menu-button";
battery-plugin.enable = false; battery-plugin = {
enable = true;
power_bar = {
enabe = true;
critical_at = 10;
warning_at = 20;
color_warning = "rgb(248,228,92)";
color_critical = "rgb(237,51,59)";
color_loading = "rgb(119,118,123)";
color_default = "rgb(143,240,164)";
};
};
};
applications = [ applications = [
{ {
name = "Brave"; name = "Files";
description = "Browse the Web"; description = "View and manage local files";
pkg = pkgs.brave; icon = "folder_open";
icon = "world"; exe = "exo-open --launch FileManager";
} }
{ {
name = "Signal"; name = "Terminal";
description = "Private Messenger"; description = "Run commands";
pkg = pkgs.signal-desktop; icon = "xfce4-terminal";
icon = "signal"; pkg = pkgs.xfce.xfce4-terminal;
} }
{ {
name = "Obsidian"; name = "Browser";
description = "Markdown Editor"; description = "Access the world wide web";
exe = "obsidian %u"; icon = "firefox";
icon = "obsidian"; exe = "exo-open --launch WebBrowser";
}
{
name = "Spotify";
description = "Spotify Music";
exe = "spotify %U";
icon = "spotify";
} }
]; ];
};
keybinds = { keybinds = {
commands = [ commands = [
{ key = "<Super>r"; exe = "xfce4-appfinder --collapsed"; }
{ key = "XF86WWW"; exe = "exo-open --launch WebBrowser"; }
{ key = "XF86Mail"; exe = "exo-open --launch MailReder"; }
{ key = "Print"; exe = "xfce4-screenshooter"; }
{ key="<Super>l"; exe="xflock4"; } { key="<Super>l"; exe="xflock4"; }
]; ];
xfwm4 = [ ];
}; };
}; };
} }
``` ```
4. **Build and switch to the system configuration**: ### 3. **Build and switch to the system configuration**:
```bash ```bash
sudo NIX_CONFIG="experimental-features = nix-command flakes pipe-operators" nixos-rebuild switch --flake .#default sudo NIX_CONFIG="experimental-features = nix-command flakes pipe-operators" nixos-rebuild switch --flake .#default
``` ```
w
### Experimental Features ### Experimental Features