fix errors
This commit is contained in:
parent
22ca61fa17
commit
0ab65ae59d
3 changed files with 6 additions and 9 deletions
|
|
@ -103,6 +103,7 @@
|
|||
else throw "Have you forgotten to run nixos-anywhere with `--generate-hardware-config nixos-facter ./facter.json`?";
|
||||
}
|
||||
agenix.nixosModules.default
|
||||
determinate.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
./systems/BASED.nix
|
||||
./systems/NOlaptop.nix
|
||||
|
|
@ -110,10 +111,9 @@
|
|||
./extras/uwuraid.nix
|
||||
./extras/dev.nix
|
||||
./extras/gaming.nix
|
||||
nixos-cosmic.nixosModules.default
|
||||
./extras/cosmic.nix
|
||||
# nixos-cosmic.nixosModules.default
|
||||
# ./extras/cosmic.nix
|
||||
# ./extras/ssrov-laptop.nix
|
||||
determinate.nixosModules.default
|
||||
];
|
||||
};
|
||||
NOmom = nixpkgs.lib.nixosSystem {
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@
|
|||
experimental-features = "nix-command flakes";
|
||||
auto-optimise-store = true;
|
||||
trusted-users = ["root" "@wheel"];
|
||||
nix-path = "nixpkgs=flake:nixpkgs";
|
||||
system-features = [
|
||||
"benchmark"
|
||||
"big-parallel"
|
||||
|
|
|
|||
|
|
@ -63,12 +63,8 @@ def ns [package] {
|
|||
def nr [package] {
|
||||
nix search nixpkgs $package
|
||||
}
|
||||
def rebuild [--no-builders (-n), subcommand] {
|
||||
if $no_builders {
|
||||
sudo nice -n19 nixos-rebuild $subcommand --builders "" --flake /home/tao/projects/NOflake/ --impure --verbose
|
||||
} else {
|
||||
sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose
|
||||
}
|
||||
def rebuild --wrapped [subcommand, ...rest] {
|
||||
sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose ...$rest
|
||||
}
|
||||
# def post-rebuild [] {
|
||||
# # rm -r ~/.config/helix/runtime/grammars/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue