Compare commits

..

5 Commits

Author SHA1 Message Date
c28278bd6d revert
Some checks are pending
Flake.lock / build (push) Waiting to run
2024-08-30 22:13:24 +02:00
2762635cad dont use list 2024-08-30 22:12:46 +02:00
60381adfef change console mode resolution 2024-08-30 22:09:33 +02:00
9afd546317 better autoUpgrade settings 2024-08-30 22:04:02 +02:00
4029d0c0b7 remove alpaca and clean 2024-08-30 21:58:33 +02:00
4 changed files with 12 additions and 9 deletions

View File

@ -16,11 +16,8 @@
jovian.url = "github:Jovian-Experiments/Jovian-NixOS/development"; jovian.url = "github:Jovian-Experiments/Jovian-NixOS/development";
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1"; nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
}; };
# Define Outputs, import Modules
outputs = { nixpkgs, home-manager, plasma-manager, jovian, nix-flatpak, ... }: outputs = { nixpkgs, home-manager, plasma-manager, jovian, nix-flatpak, ... }:
let let
# Define system globally since I have no aarch devices
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
lib = nixpkgs.lib; lib = nixpkgs.lib;

View File

@ -1,9 +1,5 @@
{ pkgs, ... }: { ... }:
{ {
environment.systemPackages = [
pkgs.alpaca
];
services.ollama = { services.ollama = {
enable = true; enable = true;
acceleration = "rocm"; acceleration = "rocm";

View File

@ -1,6 +1,7 @@
{ ... }: { ... }:
{ {
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.consoleMode = "max";
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.plymouth.enable = true; boot.plymouth.enable = true;
boot.plymouth.theme = "bgrt"; boot.plymouth.theme = "bgrt";

View File

@ -1,11 +1,20 @@
{ hostName, ... }: { hostName, ... }:
{ {
nix.optimise.automatic = true;
nix.settings.auto-optimise-store = true;
nix.optimise.dates = [ "03:45" ];
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = true;
dates = "04:00"; dates = "04:00";
persistent = true;
flake = "github:Moe1369/nixos-config#${hostName}"; flake = "github:Moe1369/nixos-config#${hostName}";
flags = [ flags = [
"--update-input" "nixpkgs" "-L" "--commit-lock-file" "--update-input" "nixpkgs"
"--update-input" "home-manager"
"--update-input" "jovian"
"--update-input" "nix-flatpak"
"-L"
"--commit-lock-file"
]; ];
allowReboot = true; allowReboot = true;
}; };