mirror of
https://github.com/Moe1369/nixos-config.git
synced 2024-10-18 17:24:07 +02:00
Compare commits
No commits in common. "c28278bd6d3b634dbb9e485f88109e5270580934" and "ca95451f26ac995291eb5f6fe491812d9e5f1b8d" have entirely different histories.
c28278bd6d
...
ca95451f26
@ -16,8 +16,11 @@
|
||||
jovian.url = "github:Jovian-Experiments/Jovian-NixOS/development";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
|
||||
};
|
||||
|
||||
# Define Outputs, import Modules
|
||||
outputs = { nixpkgs, home-manager, plasma-manager, jovian, nix-flatpak, ... }:
|
||||
let
|
||||
# Define system globally since I have no aarch devices
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
lib = nixpkgs.lib;
|
||||
|
@ -1,5 +1,9 @@
|
||||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.alpaca
|
||||
];
|
||||
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "rocm";
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ ... }:
|
||||
{
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.systemd-boot.consoleMode = "max";
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.plymouth.enable = true;
|
||||
boot.plymouth.theme = "bgrt";
|
||||
|
@ -1,20 +1,11 @@
|
||||
{ hostName, ... }:
|
||||
{
|
||||
nix.optimise.automatic = true;
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.optimise.dates = [ "03:45" ];
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
dates = "04:00";
|
||||
persistent = true;
|
||||
flake = "github:Moe1369/nixos-config#${hostName}";
|
||||
flags = [
|
||||
"--update-input" "nixpkgs"
|
||||
"--update-input" "home-manager"
|
||||
"--update-input" "jovian"
|
||||
"--update-input" "nix-flatpak"
|
||||
"-L"
|
||||
"--commit-lock-file"
|
||||
"--update-input" "nixpkgs" "-L" "--commit-lock-file"
|
||||
];
|
||||
allowReboot = true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user