mirror of
https://github.com/Moe1369/nixos-config.git
synced 2024-10-18 13:04:07 +02:00
Compare commits
5 Commits
ca95451f26
...
c28278bd6d
Author | SHA1 | Date | |
---|---|---|---|
c28278bd6d | |||
2762635cad | |||
60381adfef | |||
9afd546317 | |||
4029d0c0b7 |
@ -16,11 +16,8 @@
|
||||
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,9 +1,5 @@
|
||||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.alpaca
|
||||
];
|
||||
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "rocm";
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ ... }:
|
||||
{
|
||||
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,11 +1,20 @@
|
||||
{ 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" "-L" "--commit-lock-file"
|
||||
"--update-input" "nixpkgs"
|
||||
"--update-input" "home-manager"
|
||||
"--update-input" "jovian"
|
||||
"--update-input" "nix-flatpak"
|
||||
"-L"
|
||||
"--commit-lock-file"
|
||||
];
|
||||
allowReboot = true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user