chore: optmize build on nixbook, removing ollama and steam
This commit is contained in:
parent
cab6411899
commit
2c0562ab30
5 changed files with 50 additions and 32 deletions
24
flake.lock
generated
24
flake.lock
generated
|
|
@ -46,11 +46,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1757256385,
|
||||
"narHash": "sha256-WK7tOhWwr15mipcckhDg2no/eSpM1nIh4C9le8HgHhk=",
|
||||
"lastModified": 1758375677,
|
||||
"narHash": "sha256-BLtD+6qWz7fQjPk2wpwyXQLGI0E30Ikgf2ppn2nVadI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "f35703b412c67b48e97beb6e27a6ab96a084cd37",
|
||||
"rev": "edc7468e12be92e926847cb02418e649b02b59dd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -90,11 +90,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1757068644,
|
||||
"narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=",
|
||||
"lastModified": 1758277210,
|
||||
"narHash": "sha256-iCGWf/LTy+aY0zFu8q12lK8KuZp7yvdhStehhyX1v8w=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9",
|
||||
"rev": "8eaee110344796db060382e15d3af0a9fc396e0e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -114,11 +114,11 @@
|
|||
"systems": "systems_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1757343218,
|
||||
"narHash": "sha256-GqyytaTh5JFJVraOQefSnxuQNVVSFFGwsJPT/M6St84=",
|
||||
"lastModified": 1758405527,
|
||||
"narHash": "sha256-3OMGX/chlzLpL7OMjXUfcI+xGu5GMeldCnBQ5kM9lZE=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "d38eb947272dd4e6d138648b1b49360301db6859",
|
||||
"rev": "fd0c42355026185678e93bca152cbdb3b1a67563",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -137,11 +137,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1756738487,
|
||||
"narHash": "sha256-8QX7Ab5CcICp7zktL47VQVS+QeaU4YDNAjzty7l7TQE=",
|
||||
"lastModified": 1758272005,
|
||||
"narHash": "sha256-1u3xTH+3kaHhztPmWtLAD8LF5pTYLR2CpsPFWTFnVtQ=",
|
||||
"owner": "NuschtOS",
|
||||
"repo": "search",
|
||||
"rev": "5feeaeefb571e6ca2700888b944f436f7c05149b",
|
||||
"rev": "aa975a3757f28ce862812466c5848787b868e116",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
};
|
||||
|
||||
modules = [
|
||||
./home-manager/home.nix
|
||||
./home-manager/nixstation.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -17,11 +17,6 @@
|
|||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"code-cursor"
|
||||
"ollama-cuda"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
"steam"
|
||||
"steamtinkerlaunch"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
@ -33,7 +28,6 @@
|
|||
direnv
|
||||
fira-code
|
||||
firefox
|
||||
heroic
|
||||
hwinfo
|
||||
inkscape
|
||||
keymapp
|
||||
|
|
@ -46,12 +40,10 @@
|
|||
nixfmt-rfc-style
|
||||
nordic
|
||||
obsidian
|
||||
ollama-cuda
|
||||
pinentry-curses
|
||||
python3
|
||||
ripgrep
|
||||
statix
|
||||
steam
|
||||
uget
|
||||
unzip
|
||||
waydroid
|
||||
|
|
|
|||
26
home-manager/nixstation.nix
Normal file
26
home-manager/nixstation.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, ...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./home.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"code-cursor"
|
||||
"ollama-cuda"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
"steam"
|
||||
"steamtinkerlaunch"
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
heroic
|
||||
ollama-cuda
|
||||
steam
|
||||
];
|
||||
}
|
||||
|
|
@ -1,8 +1,9 @@
|
|||
{ config
|
||||
, inputs
|
||||
, lib
|
||||
, pkgs
|
||||
, ...
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ ./users/thiago/default.nix ];
|
||||
|
|
@ -10,12 +11,10 @@
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
environment = {
|
||||
shells = with pkgs; [ zsh ];
|
||||
etc = lib.mapAttrs'
|
||||
(name: value: {
|
||||
etc = lib.mapAttrs' (name: value: {
|
||||
name = "nix/path/${name}";
|
||||
value.source = value.flake;
|
||||
})
|
||||
config.nix.registry;
|
||||
}) config.nix.registry;
|
||||
systemPackages = with pkgs; [
|
||||
exfat
|
||||
file
|
||||
|
|
@ -46,6 +45,7 @@
|
|||
nixPath = [ "/etc/nix/path" ];
|
||||
|
||||
settings = {
|
||||
download-buffer-size = "512MiB";
|
||||
experimental-features = "nix-command flakes";
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue