Compare commits
4 commits
f1dde2b278
...
aef8d0d80d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aef8d0d80d | ||
|
|
1adcff2234 | ||
|
|
395221f383 | ||
|
|
b77eb2fe3e |
5 changed files with 62 additions and 8 deletions
43
flake.lock
generated
43
flake.lock
generated
|
|
@ -135,6 +135,27 @@
|
||||||
"url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1"
|
"url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-parts_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": [
|
||||||
|
"nur",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1733312601,
|
||||||
|
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"git-hooks-nix": {
|
"git-hooks-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
|
|
@ -441,6 +462,27 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nur": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts_2",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1779470870,
|
||||||
|
"narHash": "sha256-h511LYfVIXNpTd8C/p1cMW2AVrFEjMy104XxPRIzrL0=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "NUR",
|
||||||
|
"rev": "5ea6f8868ce8f1ed17ce6da66abe084dfe3501e0",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "NUR",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
|
|
@ -454,6 +496,7 @@
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"nixpkgs-last-building": "nixpkgs-last-building",
|
"nixpkgs-last-building": "nixpkgs-last-building",
|
||||||
|
"nur": "nur",
|
||||||
"zen-browser": "zen-browser"
|
"zen-browser": "zen-browser"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
10
flake.nix
10
flake.nix
|
|
@ -3,11 +3,15 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixos.url = "github:NixOS/nixpkgs/nixos-25.11";
|
nixos.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
||||||
nixpkgs-last-building.url = "github:NixOS/nixpkgs/59e69648d345d6e8fef86158c555730fa12af9de";
|
|
||||||
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
|
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
nixpkgs-last-building.url = "github:NixOS/nixpkgs/59e69648d345d6e8fef86158c555730fa12af9de";
|
||||||
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/0.1";
|
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/0.1";
|
||||||
|
nur = {
|
||||||
|
url = "github:nix-community/NUR";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
agenix = {
|
agenix = {
|
||||||
url = "github:ryantm/agenix";
|
url = "github:ryantm/agenix";
|
||||||
inputs.darwin.follows = "";
|
inputs.darwin.follows = "";
|
||||||
|
|
@ -42,6 +46,7 @@
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
nixpkgs-last-building,
|
nixpkgs-last-building,
|
||||||
|
nur,
|
||||||
nixos-facter-modules,
|
nixos-facter-modules,
|
||||||
nixos-hardware,
|
nixos-hardware,
|
||||||
determinate,
|
determinate,
|
||||||
|
|
@ -100,6 +105,7 @@
|
||||||
./extras/dev.nix
|
./extras/dev.nix
|
||||||
./extras/gaming.nix
|
./extras/gaming.nix
|
||||||
lsfg-vk-flake.nixosModules.default
|
lsfg-vk-flake.nixosModules.default
|
||||||
|
nur.modules.nixos.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
NOmom = nixpkgs.lib.nixosSystem {
|
NOmom = nixpkgs.lib.nixosSystem {
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,14 @@
|
||||||
nix.package = lib.mkIf (config.networking.hostName == "NOcomputer") pkgs.lixPackageSets.stable.lix;
|
nix.package = lib.mkIf (config.networking.hostName == "NOcomputer") pkgs.lixPackageSets.stable.lix;
|
||||||
|
|
||||||
programs.pmount.enable = true;
|
programs.pmount.enable = true;
|
||||||
|
services.eternal-terminal.enable = true;
|
||||||
|
programs.mosh.enable = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
eternal-terminal
|
||||||
# keep-sorted start
|
# keep-sorted start
|
||||||
bat
|
bat
|
||||||
bottom
|
bottom
|
||||||
|
cachix
|
||||||
cifs-utils
|
cifs-utils
|
||||||
dumbpipe
|
dumbpipe
|
||||||
dust
|
dust
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,8 @@
|
||||||
"amdgpu"
|
"amdgpu"
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
# boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
boot.kernelPackages = pkgs.nur.repos.Ev357.linux-patched;
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"amdgpu.abmlevel=1"
|
"amdgpu.abmlevel=1"
|
||||||
# amd doesn't have deep
|
# amd doesn't have deep
|
||||||
|
|
|
||||||
|
|
@ -214,7 +214,7 @@
|
||||||
{
|
{
|
||||||
name = "python";
|
name = "python";
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
language-servers = ["basedpyright" "ty" "ruff"];
|
language-servers = [/* "basedpyright" */ "ty" "ruff"];
|
||||||
# formatter = {
|
# formatter = {
|
||||||
# command = "ruff";
|
# command = "ruff";
|
||||||
# args = ["format"];
|
# args = ["format"];
|
||||||
|
|
@ -268,10 +268,10 @@
|
||||||
command = "microcad-lsp";
|
command = "microcad-lsp";
|
||||||
};
|
};
|
||||||
|
|
||||||
basedpyright = {
|
# basedpyright = {
|
||||||
command = "basedpyright-langserver";
|
# command = "basedpyright-langserver";
|
||||||
args = ["--stdio"];
|
# args = ["--stdio"];
|
||||||
};
|
# };
|
||||||
rust-analyzer.config.check.command = "clippy";
|
rust-analyzer.config.check.command = "clippy";
|
||||||
# gas = {
|
# gas = {
|
||||||
# command = "asm-lsp";
|
# command = "asm-lsp";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue