Compare commits

..

5 Commits

Author SHA1 Message Date
44d6010887 Celanup flake.nix 2025-09-01 23:58:08 +03:00
735c571ec2 Update devenv, add tests 2025-09-01 23:55:48 +03:00
406f6e21a5 Cleanup devenv.nix 2025-09-01 23:52:43 +03:00
268c1dbb96 Optimize steam quirk 2025-09-01 23:51:55 +03:00
56b208b080 Cleanup 2025-09-01 23:49:49 +03:00
8 changed files with 18 additions and 32 deletions

View File

@@ -3,10 +3,10 @@
"devenv": { "devenv": {
"locked": { "locked": {
"dir": "src/modules", "dir": "src/modules",
"lastModified": 1755355634, "lastModified": 1756732270,
"owner": "cachix", "owner": "cachix",
"repo": "devenv", "repo": "devenv",
"rev": "85e78cbe26467a2c23c9d34869235740132d749f", "rev": "1d5c772e984c5e29935ca3fa6b09f888dae04215",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -40,10 +40,10 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1754416808, "lastModified": 1755960406,
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "9c52372878df6911f9afc1e2a1391f55e4dfc864", "rev": "e891a93b193fcaf2fc8012d890dc7f0befe86ec2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -74,10 +74,10 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1754299112, "lastModified": 1755783167,
"owner": "cachix", "owner": "cachix",
"repo": "devenv-nixpkgs", "repo": "devenv-nixpkgs",
"rev": "16c21c9f5c6fb978466e91182a248dd8ca1112ac", "rev": "4a880fb247d24fbca57269af672e8f78935b0328",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -1,7 +1,4 @@
{ { pkgs, ... }:
pkgs,
...
}:
{ {
packages = [ packages = [
@@ -17,21 +14,18 @@
nil --version nil --version
''; '';
# https://devenv.sh/tasks/
tasks = { tasks = {
}; };
# https://devenv.sh/tests/
enterTest = '' enterTest = ''
echo "Running tests" echo "Running tests"
git --version | grep --color=auto "${pkgs.git.version}" nixos-rebuild dry-build --flake .#fenixpc
nixos-rebuild dry-build --flake .#fenixbook
''; '';
git-hooks.hooks = { git-hooks.hooks = {
nil.enable = true; nil.enable = true;
nixfmt-rfc-style.enable = true; nixfmt-rfc-style.enable = true;
}; };
# See full reference at https://devenv.sh/reference/options/
} }

View File

@@ -30,7 +30,6 @@
self, self,
nixpkgs, nixpkgs,
nixpkgs-stable, nixpkgs-stable,
disko,
... ...
}@inputs: }@inputs:
let let
@@ -90,7 +89,7 @@
) )
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
inputs.photocatalog.nixosModules.photocatalog inputs.photocatalog.nixosModules.photocatalog
disko.nixosModules.disko inputs.disko.nixosModules.disko
./options.nix ./options.nix
./nix.nix ./nix.nix
] ]

View File

@@ -36,10 +36,6 @@ in
}; };
}; };
programs = {
zsh.enable = true;
};
services = { services = {
}; };

View File

@@ -36,10 +36,6 @@ in
systemd.oomd.extraConfig.DefaultMemoryPressureLimit = "15%"; systemd.oomd.extraConfig.DefaultMemoryPressureLimit = "15%";
programs = {
zsh.enable = true;
};
services = { services = {
printing.ricoh.enable = true; printing.ricoh.enable = true;
calibre-web = { calibre-web = {

View File

@@ -1,4 +1,4 @@
{...}: { ... }:
{ {
boot.kernel.sysctl = { boot.kernel.sysctl = {
"fs.inotify.max_user_watches" = 1048576; "fs.inotify.max_user_watches" = 1048576;

View File

@@ -1,9 +1,10 @@
{ ... }: { ... }:
{ {
imports = [
./32bit.nix
];
hardware = { hardware = {
steam-hardware.enable = true; steam-hardware.enable = true;
graphics = {
enable32Bit = true;
};
}; };
} }

View File

@@ -1,4 +1,4 @@
{...}: { ... }:
{ {
imports = [ imports = [
./desktop.nix ./desktop.nix