wip(server(rpi-5)): more work..
This commit is contained in:
17
flake.lock
generated
17
flake.lock
generated
@@ -846,6 +846,22 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1768736227,
|
||||
"narHash": "sha256-qgGq7CfrYKc3IBYQ7qp0Z/ZXndQVC5Bj0N8HW9mS2rM=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "d447553bcbc6a178618d37e61648b19e744370df",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "master",
|
||||
"repo": "nixos-hardware",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-wsl": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_2",
|
||||
@@ -1174,6 +1190,7 @@
|
||||
"nikkuss-pkgs": "nikkuss-pkgs",
|
||||
"nix-meow": "nix-meow",
|
||||
"nix-warez": "nix-warez",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixos-wsl": "nixos-wsl",
|
||||
"nixpkgs": "nixpkgs_8",
|
||||
"nixpkgs-gamescope": "nixpkgs-gamescope",
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
url = "github:Nixos/nixpkgs?rev=8fcb6f1c4948305af52d19f887b89011ee2c080d";
|
||||
};
|
||||
font-patcher.url = "github:Doloro1978/nix-nerd-fonts-patcher";
|
||||
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
};
|
||||
outputs =
|
||||
inputs@{
|
||||
|
||||
54
hosts/rpi-5/home.nix
Normal file
54
hosts/rpi-5/home.nix
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
fetchFromGitHub,
|
||||
...
|
||||
}:
|
||||
{
|
||||
modules = {
|
||||
hyfetch.enable = true;
|
||||
sops.enable = true;
|
||||
nixvim.enable = true;
|
||||
tmux.enable = true;
|
||||
# theme.enable = true;
|
||||
fish.enable = true;
|
||||
direnv.enable = true;
|
||||
git.enable = true;
|
||||
};
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
home.username = "doloro";
|
||||
home.homeDirectory = "/home/doloro";
|
||||
|
||||
# services = {
|
||||
# };
|
||||
|
||||
# This value determines the Home Manager release that your configuration is
|
||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||
# introduces backwards incompatible changes.
|
||||
#
|
||||
# You should not change this value, even if you update Home Manager. If you do
|
||||
# want to update the value, then make sure to first check the Home Manager
|
||||
# release notes.
|
||||
home.stateVersion = "25.11"; # Please read the comment before changing.
|
||||
|
||||
# The home.packages option allows you to install Nix packages into your
|
||||
# environment.
|
||||
home.packages = with pkgs; [
|
||||
hello
|
||||
vim
|
||||
lazygit
|
||||
btop
|
||||
sops
|
||||
];
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
xdg.configFile."mimeapps.list".force = true;
|
||||
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
};
|
||||
}
|
||||
7
hosts/rpi-5/nixos.nix
Normal file
7
hosts/rpi-5/nixos.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ lib, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./disks.nix
|
||||
inputs.nixos-hardware.nixosModules.raspberry-pi-4
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user