This commit is contained in:
Osman Faruk Bayram 2025-01-15 20:25:18 +03:00
parent fe7dc6088d
commit ac28b07ba7
6 changed files with 74 additions and 73 deletions

View file

@ -27,9 +27,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware = {
url = "github:NixOS/nixos-hardware/master";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
};
outputs = {
@ -54,8 +52,8 @@
home-manager.nixosModules.home-manager
{
environment.systemPackages = [
agenix.packages.${system}.default
osbm-nvim.packages.${system}.default
agenix.packages.x86_64-linux.default
osbm-nvim.packages.x86_64-linux.default
];
}
];
@ -71,8 +69,8 @@
home-manager.nixosModules.home-manager
{
environment.systemPackages = [
agenix.packages.${system}.default
osbm-nvim.packages.${system}.default
agenix.packages.x86_64-linux.default
osbm-nvim.packages.x86_64-linux.default
];
}
];
@ -87,7 +85,7 @@
./hosts/harmonica/configuration.nix
{
environment.systemPackages = [
agenix.packages.${system}.default
agenix.packages.aarch64-linux.default
];
}
];
@ -102,8 +100,8 @@
home-manager.nixosModules.home-manager
{
environment.systemPackages = [
agenix.packages.${system}.default
osbm-nvim.packages.${system}.default
agenix.packages.aarch64-linux.default
osbm-nvim.packages.aarch64-linux.default
];
}
];

View file

@ -1,4 +1,8 @@
{ pkgs, lib, ... }: {
{
pkgs,
lib,
...
}: {
# bcm2711 for rpi 3, 3+, 4, zero 2 w
# bcm2712 for rpi 5
# See the docs at:

View file

@ -1,11 +1,15 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [];
@ -13,13 +17,13 @@
boot.kernelModules = [];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fileSystems."/" = {
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fsType = "ext4";
};
fileSystems."/boot/firmware" =
{ device = "/dev/disk/by-uuid/2178-694E";
fileSystems."/boot/firmware" = {
device = "/dev/disk/by-uuid/2178-694E";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};

View file

@ -4,7 +4,6 @@
config,
...
}: {
options = {
enableFonts = lib.mkOption {
type = lib.types.bool;
@ -36,6 +35,4 @@
];
})
];
}

View file

@ -24,8 +24,6 @@
hashKnownHosts = true;
compression = true;
matchBlocks = {
"tartarus" = {
hostname = "192.168.0.4";