Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
interval: monthly
open-pull-requests-limit: 10
2 changes: 0 additions & 2 deletions .github/workflows/auto-upgrade-flakes.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: "Auto update flake lock file"

on:
workflow_dispatch:
schedule:
- cron: "0 12 * * 0"

jobs:
createPullRequest:
uses: loophp/flake-lock-update-workflow/.github/workflows/auto-upgrade-flakes.yaml@main
14 changes: 14 additions & 0 deletions .github/workflows/flake-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Nix flake check"
on:
workflow_call:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix flake check --accept-flake-config
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.direnv/
/private.pem
.pre-commit-config.yaml
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![GitHub Workflow Status][github workflow status]][2]
![GitHub stars][github stars]
![License][mit]
[![Donate!][donate github]][5]
![GitHub stars][github stars]
![License][mit]
[![Donate!][donate github]][5]

# Nix (dotfiles) configurations

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ ... }:

{
sshd.enable = true;
desktop.enable = true;
sshd.enable = true;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ ... }:

{
shell.enable = true;
thunderbird.enable = true;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ ... }:

{
# Use the GRUB 2 boot loader.
# boot.loader.grub.enable = true;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ ... }:

{
sshd.enable = true;
vpn.enable = true;
sshd.enable = true;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ ... }:

{
code.enable = true;
desktop.enable = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# and in the NixOS manual (accessible by running ‘nixos-help’).

{ config, pkgs, ... }:

{
imports = [
./hardware-configuration.nix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
modulesPath,
...
}:

{
imports = [
inputs.nixos-hardware.nixosModules.apple-imac-14-2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ ... }:

{
sshd.enable = true;
vpn.enable = true;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ ... }:

{
imports = [
./home.nix
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ ... }:

{
code.enable = true;
desktop.enable = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
modulesPath,
...
}:

{
imports = [
inputs.nixos-hardware.nixosModules.apple-macmini-4-1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ ... }:

{
desktop.enable = true;
sshd.enable = true;
desktop.enable = true;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ ... }:

{
shell.enable = true;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ ... }:

{
networking = {
firewall = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ ... }:

{
vpn.enable = true;
sshd.enable = true;
vpn.enable = true;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ ... }:

{
services.caddy.virtualHosts."pi-hole.router.lan".extraConfig = ''
tls internal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ ... }:

{
services.prometheus = {
enable = true;
Expand Down
File renamed without changes.
32 changes: 0 additions & 32 deletions files/home/pol/.config/fish/conf.d/custom.fish

This file was deleted.

39 changes: 25 additions & 14 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,45 @@
nixpkgs.url = "github:/nixos/nixpkgs/nixos-unstable";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs-unstable.url = "github:/nixos/nixpkgs/nixpkgs-unstable";

nixos-hardware.url = "github:NixOS/nixos-hardware/master";

home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";

deploy-rs.url = "github:serokell/deploy-rs";
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";

plasma-manager.url = "github:nix-community/plasma-manager";
plasma-manager.inputs.nixpkgs.follows = "nixpkgs";

nur.url = "github:nix-community/NUR";

systems.url = "github:nix-systems/default";

flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";

git-hooks.url = "github:cachix/git-hooks.nix";
git-hooks.inputs.nixpkgs.follows = "nixpkgs";

nix-oracle-db.url = "github:drupol/nix-oracle-db";
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};

nixos-generators.url = "github:nix-community/nixos-generators";
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";

pkgs-by-name-for-flake-parts.url = "github:drupol/pkgs-by-name-for-flake-parts";

nix-webapps.url = "github:TLATER/nix-webapps";

import-tree.url = "github:vic/import-tree";
};

outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";

treefmt-nix.url = "github:numtide/treefmt-nix";

make-shell.url = "github:nicknovitski/make-shell";
};

imports = [
inputs.pkgs-by-name-for-flake-parts.flakeModule
(inputs.import-tree ./imports)
];
};
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules);
}
101 changes: 0 additions & 101 deletions hosts.nix

This file was deleted.

Loading