mirror of
https://github.com/FabricSoul/nixos-configs.git
synced 2025-08-04 01:00:22 -04:00
revert: use old flake
This commit is contained in:
parent
d164e5e53d
commit
a2e660782f
20 changed files with 1158 additions and 3 deletions
55
hosts/common/global/default.nix
Normal file
55
hosts/common/global/default.nix
Normal file
|
@ -0,0 +1,55 @@
|
|||
# hosts/common/global/default.nix
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./locale.nix
|
||||
];
|
||||
|
||||
# Enable nix flakes
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Basic system packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
greetd.greetd
|
||||
greetd.tuigreet
|
||||
libinput
|
||||
libnotify
|
||||
kitty
|
||||
zsh
|
||||
ollama
|
||||
];
|
||||
|
||||
# Enable the OpenSSH daemon
|
||||
services.openssh.enable = true;
|
||||
|
||||
# Greetd configuration
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "''${pkgs.greetd.tuigreet}/bin/tuigreet --time ";
|
||||
user = "fabric";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Display manager configuration
|
||||
services.displayManager.defaultSession = "hyprland";
|
||||
|
||||
# Default programs
|
||||
programs = {
|
||||
hyprland.enable = true;
|
||||
zsh.enable = true;
|
||||
};
|
||||
|
||||
# This value determines the NixOS release version
|
||||
system.stateVersion = "24.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue