mirror of
https://github.com/Moe1369/nixos-config.git
synced 2024-10-18 19: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";
|
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;
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.alpaca
|
||||||
|
];
|
||||||
|
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = true;
|
enable = true;
|
||||||
acceleration = "rocm";
|
acceleration = "rocm";
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
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";
|
||||||
|
@ -1,20 +1,11 @@
|
|||||||
{ 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"
|
"--update-input" "nixpkgs" "-L" "--commit-lock-file"
|
||||||
"--update-input" "home-manager"
|
|
||||||
"--update-input" "jovian"
|
|
||||||
"--update-input" "nix-flatpak"
|
|
||||||
"-L"
|
|
||||||
"--commit-lock-file"
|
|
||||||
];
|
];
|
||||||
allowReboot = true;
|
allowReboot = true;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user