mirror of
https://github.com/Moe1369/nixos-config.git
synced 2024-10-18 17: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";
|
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,9 +1,5 @@
|
|||||||
{ pkgs, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
environment.systemPackages = [
|
|
||||||
pkgs.alpaca
|
|
||||||
];
|
|
||||||
|
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = true;
|
enable = true;
|
||||||
acceleration = "rocm";
|
acceleration = "rocm";
|
||||||
|
@ -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";
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user