Compare commits
18 Commits
c183a0a551
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 6b669988f0 | |||
| ae74da869a | |||
| f8eccabdb3 | |||
| 07fd3a6afc | |||
| 64e97bd330 | |||
| 52569da057 | |||
| b7ff106a25 | |||
| ecd325b830 | |||
| 52e7d921d6 | |||
| 567f8ca405 | |||
| 4f5a315521 | |||
| a6496a874d | |||
| 7fea267494 | |||
| d668ea2616 | |||
| 0fc551c8c5 | |||
| f17f1de522 | |||
| c78505aa09 | |||
| 3cd724436b |
140
flake.lock
generated
140
flake.lock
generated
@@ -5,11 +5,11 @@
|
|||||||
"fromYaml": "fromYaml"
|
"fromYaml": "fromYaml"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1746562888,
|
"lastModified": 1755819240,
|
||||||
"narHash": "sha256-YgNJQyB5dQiwavdDFBMNKk1wyS77AtdgDk/VtU6wEaI=",
|
"narHash": "sha256-qcMhnL7aGAuFuutH4rq9fvAhCpJWVHLcHVZLtPctPlo=",
|
||||||
"owner": "SenchoPens",
|
"owner": "SenchoPens",
|
||||||
"repo": "base16.nix",
|
"repo": "base16.nix",
|
||||||
"rev": "806a1777a5db2a1ef9d5d6f493ef2381047f2b89",
|
"rev": "75ed5e5e3fce37df22e49125181fa37899c3ccd6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -21,27 +21,28 @@
|
|||||||
"base16-fish": {
|
"base16-fish": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1622559957,
|
"lastModified": 1765809053,
|
||||||
"narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=",
|
"narHash": "sha256-XCUQLoLfBJ8saWms2HCIj4NEN+xNsWBlU1NrEPcQG4s=",
|
||||||
"owner": "tomyun",
|
"owner": "tomyun",
|
||||||
"repo": "base16-fish",
|
"repo": "base16-fish",
|
||||||
"rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe",
|
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "tomyun",
|
"owner": "tomyun",
|
||||||
"repo": "base16-fish",
|
"repo": "base16-fish",
|
||||||
|
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"base16-helix": {
|
"base16-helix": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748408240,
|
"lastModified": 1760703920,
|
||||||
"narHash": "sha256-9M2b1rMyMzJK0eusea0x3lyh3mu5nMeEDSc4RZkGm+g=",
|
"narHash": "sha256-m82fGUYns4uHd+ZTdoLX2vlHikzwzdu2s2rYM2bNwzw=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "base16-helix",
|
"repo": "base16-helix",
|
||||||
"rev": "6c711ab1a9db6f51e2f6887cc3345530b33e152e",
|
"rev": "d646af9b7d14bff08824538164af99d0c521b185",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -70,11 +71,11 @@
|
|||||||
"firefox-gnome-theme": {
|
"firefox-gnome-theme": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748383148,
|
"lastModified": 1764873433,
|
||||||
"narHash": "sha256-pGvD/RGuuPf/4oogsfeRaeMm6ipUIznI2QSILKjKzeA=",
|
"narHash": "sha256-1XPewtGMi+9wN9Ispoluxunw/RwozuTRVuuQOmxzt+A=",
|
||||||
"owner": "rafaelmardojai",
|
"owner": "rafaelmardojai",
|
||||||
"repo": "firefox-gnome-theme",
|
"repo": "firefox-gnome-theme",
|
||||||
"rev": "4eb2714fbed2b80e234312611a947d6cb7d70caf",
|
"rev": "f7ffd917ac0d253dbd6a3bf3da06888f57c69f92",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -91,11 +92,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749398372,
|
"lastModified": 1767609335,
|
||||||
"narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=",
|
"narHash": "sha256-feveD98mQpptwrAEggBQKJTYbvwwglSbOv53uCfH9PY=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569",
|
"rev": "250481aafeb741edfe23d29195671c19b36b6dca",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -123,18 +124,20 @@
|
|||||||
"gnome-shell": {
|
"gnome-shell": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744584021,
|
"host": "gitlab.gnome.org",
|
||||||
"narHash": "sha256-0RJ4mJzf+klKF4Fuoc8VN8dpQQtZnKksFmR2jhWE1Ew=",
|
"lastModified": 1767737596,
|
||||||
|
"narHash": "sha256-eFujfIUQDgWnSJBablOuG+32hCai192yRdrNHTv0a+s=",
|
||||||
"owner": "GNOME",
|
"owner": "GNOME",
|
||||||
"repo": "gnome-shell",
|
"repo": "gnome-shell",
|
||||||
"rev": "52c517c8f6c199a1d6f5118fae500ef69ea845ae",
|
"rev": "ef02db02bf0ff342734d525b5767814770d85b49",
|
||||||
"type": "github"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
"host": "gitlab.gnome.org",
|
||||||
"owner": "GNOME",
|
"owner": "GNOME",
|
||||||
"ref": "48.1",
|
"ref": "gnome-49",
|
||||||
"repo": "gnome-shell",
|
"repo": "gnome-shell",
|
||||||
"type": "github"
|
"type": "gitlab"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
@@ -142,27 +145,27 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753592768,
|
"lastModified": 1768949235,
|
||||||
"narHash": "sha256-oV695RvbAE4+R9pcsT9shmp6zE/+IZe6evHWX63f2Qg=",
|
"narHash": "sha256-TtjKgXyg1lMfh374w5uxutd6Vx2P/hU81aEhTxrO2cg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "fc3add429f21450359369af74c2375cb34a2d204",
|
"rev": "75ed713570ca17427119e7e204ab3590cc3bf2a5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "release-25.05",
|
"ref": "release-25.11",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753122741,
|
"lastModified": 1769302137,
|
||||||
"narHash": "sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM=",
|
"narHash": "sha256-QEDtctEkOsbx8nlFh4yqPEOtr4tif6KTqWwJ37IM2ds=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "cc66fddc6cb04ab479a1bb062f4d4da27c936a22",
|
"rev": "a351494b0e35fd7c0b7a1aae82f0afddf4907aa8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -174,48 +177,48 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753345091,
|
"lastModified": 1767799921,
|
||||||
"narHash": "sha256-CdX2Rtvp5I8HGu9swBmYuq+ILwRxpXdJwlpg8jvN4tU=",
|
"narHash": "sha256-r4GVX+FToWVE2My8VVZH4V0pTIpnu2ZE8/Z4uxGEMBE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3ff0e34b1383648053bba8ed03f201d3466f90c9",
|
"rev": "d351d0653aeb7877273920cd3e823994e7579b0b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-25.05",
|
"ref": "nixos-25.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753489912,
|
"lastModified": 1769318308,
|
||||||
"narHash": "sha256-uDCFHeXdRIgJpYmtcUxGEsZ+hYlLPBhR83fdU+vbC1s=",
|
"narHash": "sha256-Mjx6p96Pkefks3+aA+72lu1xVehb6mv2yTUUqmSet6Q=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "13e8d35b7d6028b7198f8186bc0347c6abaa2701",
|
"rev": "1cd347bf3355fce6c64ab37d3967b4a2cb4b878c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-25.05",
|
"ref": "nixos-25.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751211869,
|
"lastModified": 1767799921,
|
||||||
"narHash": "sha256-1Cu92i1KSPbhPCKxoiVG5qnoRiKTgR5CcGSRyLpOd7Y=",
|
"narHash": "sha256-r4GVX+FToWVE2My8VVZH4V0pTIpnu2ZE8/Z4uxGEMBE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b43c397f6c213918d6cfe6e3550abfe79b5d1c51",
|
"rev": "d351d0653aeb7877273920cd3e823994e7579b0b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-25.05",
|
"ref": "nixos-25.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -229,15 +232,14 @@
|
|||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"stylix",
|
"stylix",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
]
|
||||||
"treefmt-nix": "treefmt-nix"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751320053,
|
"lastModified": 1767886815,
|
||||||
"narHash": "sha256-3m6RMw0FbbaUUa01PNaMLoO7D99aBClmY5ed9V3vz+0=",
|
"narHash": "sha256-pB2BBv6X9cVGydEV/9Y8+uGCvuYJAlsprs1v1QHjccA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "cbde1735782f9c2bb2c63d5e05fba171a14a4670",
|
"rev": "4ff84374d77ff62e2e13a46c33bfeb73590f9fef",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -273,16 +275,16 @@
|
|||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753733105,
|
"lastModified": 1769472288,
|
||||||
"narHash": "sha256-zxAiwoYqjesNbV46vGZe9ONvazQDPswnHfhsvvzqkU4=",
|
"narHash": "sha256-RdnbroWsujYh1MaMhDpP5QM+bRIGG6smz987v1fli+U=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "8340949b7cba126b6939ae588e6619f8e23bba9d",
|
"rev": "c2c4a3ad52c096db1c8dde97d3d21451613f000c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"ref": "release-25.05",
|
"ref": "release-25.11",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -338,11 +340,11 @@
|
|||||||
"tinted-schemes": {
|
"tinted-schemes": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750770351,
|
"lastModified": 1767817087,
|
||||||
"narHash": "sha256-LI+BnRoFNRa2ffbe3dcuIRYAUcGklBx0+EcFxlHj0SY=",
|
"narHash": "sha256-eGE8OYoK6HzhJt/7bOiNV2cx01IdIrHL7gXgjkHRdNo=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "schemes",
|
"repo": "schemes",
|
||||||
"rev": "5a775c6ffd6e6125947b393872cde95867d85a2a",
|
"rev": "bd99656235aab343e3d597bf196df9bc67429507",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -354,11 +356,11 @@
|
|||||||
"tinted-tmux": {
|
"tinted-tmux": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751159871,
|
"lastModified": 1767489635,
|
||||||
"narHash": "sha256-UOHBN1fgHIEzvPmdNMHaDvdRMgLmEJh2hNmDrp3d3LE=",
|
"narHash": "sha256-e6nnFnWXKBCJjCv4QG4bbcouJ6y3yeT70V9MofL32lU=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "tinted-tmux",
|
"repo": "tinted-tmux",
|
||||||
"rev": "bded5e24407cec9d01bd47a317d15b9223a1546c",
|
"rev": "3c32729ccae99be44fe8a125d20be06f8d7d8184",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -370,11 +372,11 @@
|
|||||||
"tinted-zed": {
|
"tinted-zed": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751158968,
|
"lastModified": 1767488740,
|
||||||
"narHash": "sha256-ksOyv7D3SRRtebpXxgpG4TK8gZSKFc4TIZpR+C98jX8=",
|
"narHash": "sha256-wVOj0qyil8m+ouSsVZcNjl5ZR+1GdOOAooAatQXHbuU=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "base16-zed",
|
"repo": "base16-zed",
|
||||||
"rev": "86a470d94204f7652b906ab0d378e4231a5b3384",
|
"rev": "11abb0b282ad3786a2aae088d3a01c60916f2e40",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -382,28 +384,6 @@
|
|||||||
"repo": "base16-zed",
|
"repo": "base16-zed",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"treefmt-nix": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"stylix",
|
|
||||||
"nur",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1733222881,
|
|
||||||
"narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"rev": "49717b5af6f80172275d47a418c9719a31a78b53",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
description = "Nixos config flake";
|
description = "Nixos config flake";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
stylix.url = "github:danth/stylix/release-25.05";
|
stylix.url = "github:danth/stylix/release-25.11";
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||||
home-manager.url = "github:nix-community/home-manager/release-25.05";
|
home-manager.url = "github:nix-community/home-manager/release-25.11";
|
||||||
nixos-hardware.url = "github:nixos/nixos-hardware/master";
|
nixos-hardware.url = "github:nixos/nixos-hardware/master";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -26,7 +26,6 @@
|
|||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
nixos-hardware.nixosModules.lenovo-thinkpad-x13-yoga
|
nixos-hardware.nixosModules.lenovo-thinkpad-x13-yoga
|
||||||
(import ./overlays/ollama.nix)
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -45,7 +44,6 @@
|
|||||||
./hosts/server/configuration.nix
|
./hosts/server/configuration.nix
|
||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
nixos-hardware.nixosModules.system76
|
nixos-hardware.nixosModules.system76
|
||||||
(import ./overlays/ollama.nix)
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xfff7ffff" "amdgpu.gpu_recovery=1" ];
|
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xfff7ffff" "amdgpu.gpu_recovery=1" ];
|
||||||
services.openssh = {enable = true;};
|
services.openssh = {enable = true;};
|
||||||
|
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
|
virtualisation.docker.storageDriver = "btrfs";
|
||||||
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "desktop";
|
hostName = "desktop";
|
||||||
@@ -34,14 +37,14 @@
|
|||||||
|
|
||||||
services = {
|
services = {
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = false;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
};
|
};
|
||||||
wivrn = {
|
wivrn = {
|
||||||
enable = true;
|
enable = false;
|
||||||
defaultRuntime = true;
|
defaultRuntime = true;
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
@@ -53,7 +56,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = false;
|
||||||
autoEnable = true;
|
autoEnable = true;
|
||||||
polarity = "light";
|
polarity = "light";
|
||||||
image = ../laptop/wallpaper.png;
|
image = ../laptop/wallpaper.png;
|
||||||
@@ -107,16 +110,16 @@
|
|||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
steam.enable = true;
|
steam.enable = false;
|
||||||
gamescope.enable = true;
|
gamescope.enable = false;
|
||||||
envision.enable = true;
|
envision.enable = false;
|
||||||
corectrl.enable = true;
|
corectrl.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.k = {
|
users.users.k = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "k";
|
description = "k";
|
||||||
extraGroups = ["networkmanager" "wheel"];
|
extraGroups = ["networkmanager" "wheel" "docker"];
|
||||||
packages = with pkgs; [zsh];
|
packages = with pkgs; [zsh];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,42 +6,42 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = [../home/home_common.nix];
|
imports = [../home/home_common.nix];
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
home = {
|
#home = {
|
||||||
packages = with pkgs; [
|
# packages = with pkgs; [
|
||||||
steam
|
# steam
|
||||||
neovim
|
# neovim
|
||||||
firefox
|
# firefox
|
||||||
wivrn
|
# wivrn
|
||||||
opencomposite
|
# opencomposite
|
||||||
wlx-overlay-s
|
# wlx-overlay-s
|
||||||
glslang
|
# glslang
|
||||||
gst_all_1.gstreamer
|
# gst_all_1.gstreamer
|
||||||
libdrm
|
# libdrm
|
||||||
openxr-loader
|
# openxr-loader
|
||||||
khronos-ocl-icd-loader
|
# khronos-ocl-icd-loader
|
||||||
];
|
# ];
|
||||||
};
|
#};
|
||||||
|
|
||||||
# For WiVRn:
|
# For WiVRn:
|
||||||
xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.wivrn}/share/openxr/1/openxr_wivrn.json";
|
#xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.wivrn}/share/openxr/1/openxr_wivrn.json";
|
||||||
|
|
||||||
xdg.configFile."openvr/openvrpaths.vrpath".text = ''
|
#xdg.configFile."openvr/openvrpaths.vrpath".text = ''
|
||||||
{
|
# {
|
||||||
"config" :
|
# "config" :
|
||||||
[
|
# [
|
||||||
"${config.xdg.dataHome}/Steam/config"
|
# "${config.xdg.dataHome}/Steam/config"
|
||||||
],
|
# ],
|
||||||
"external_drivers" : null,
|
# "external_drivers" : null,
|
||||||
"jsonid" : "vrpathreg",
|
# "jsonid" : "vrpathreg",
|
||||||
"log" :
|
# "log" :
|
||||||
[
|
# [
|
||||||
"${config.xdg.dataHome}/Steam/logs"
|
# "${config.xdg.dataHome}/Steam/logs"
|
||||||
],
|
# ],
|
||||||
"runtime" :
|
# "runtime" :
|
||||||
[
|
# [
|
||||||
"${pkgs.opencomposite}/lib/opencomposite"
|
# "${pkgs.opencomposite}/lib/opencomposite"
|
||||||
],
|
# ],
|
||||||
"version" : 1
|
# "version" : 1
|
||||||
}
|
# }
|
||||||
'';
|
#'';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,7 +51,9 @@
|
|||||||
settings = {
|
settings = {
|
||||||
exec-once = [
|
exec-once = [
|
||||||
#"${pkgs.iio-hyprland}/bin/iio-hyprland"
|
#"${pkgs.iio-hyprland}/bin/iio-hyprland"
|
||||||
#"${pkgs.batsignal}/bin/batsignal -n BAT0 -b"
|
"${pkgs.batsignal}/bin/batsignal -n BAT0 -b"
|
||||||
|
"${pkgs.waybar}/bin/waybar"
|
||||||
|
"${pkgs.hyprpaper}/bin/hyprpaper"
|
||||||
];
|
];
|
||||||
monitor = "eDP-1,preferred,auto,1";
|
monitor = "eDP-1,preferred,auto,1";
|
||||||
general = {
|
general = {
|
||||||
@@ -97,9 +99,16 @@
|
|||||||
"$mainMod, Return, exec, $terminal"
|
"$mainMod, Return, exec, $terminal"
|
||||||
"$mainMod, D, exec, $menu"
|
"$mainMod, D, exec, $menu"
|
||||||
"$mainMod Shift, C, killactive,"
|
"$mainMod Shift, C, killactive,"
|
||||||
"$mainMod, Space, exec, toggle_float"
|
"$mainMod, Space, togglefloating"
|
||||||
"$mainMod, Escape, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
"$mainMod, Escape, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||||
|
|
||||||
|
#emacs
|
||||||
|
"$mainMod, E, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c"
|
||||||
|
"$mainMod, C, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c -e\ \"(org-roam-capture)\""
|
||||||
|
"$mainMod, B, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c -e\ \"(call-interactively #'bookmark-jump)\""
|
||||||
|
"$mainMod, P, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c -e\ \"(project-dired)\""
|
||||||
|
"$mainMod, M, exec, ${pkgs.emacs-pgtk}/bin/emacsclient -c -e \"(mingus)\""
|
||||||
|
|
||||||
# switch focus
|
# switch focus
|
||||||
"$mainMod, left, movefocus, l"
|
"$mainMod, left, movefocus, l"
|
||||||
"$mainMod, right, movefocus, r"
|
"$mainMod, right, movefocus, r"
|
||||||
|
|||||||
17
hosts/home/niri.nix
Normal file
17
hosts/home/niri.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [./waybar.nix ./tile.nix];
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
pkgs.swaybg
|
||||||
|
pkgs.swayidle
|
||||||
|
pkgs.swaylock
|
||||||
|
pkgs.niri
|
||||||
|
pkgs.fuzzel
|
||||||
|
pkgs.iio-niri
|
||||||
|
pkgs.squeekboard
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -27,8 +27,8 @@
|
|||||||
gc.automatic = false;
|
gc.automatic = false;
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = ["nix-command" "flakes"];
|
experimental-features = ["nix-command" "flakes"];
|
||||||
substituters = ["http://nix.dhilton.xyz/" "https://cache.nixos.org/"];
|
#substituters = ["http://nix.dhilton.xyz/" "https://cache.nixos.org/"];
|
||||||
trusted-public-keys = ["nix.dhilton.xyz:MOW060dF1A0/UXmPZBue9KMxCO13PHYFwx1X9hcdYZ4="];
|
#trusted-public-keys = ["nix.dhilton.xyz:MOW060dF1A0/UXmPZBue9KMxCO13PHYFwx1X9hcdYZ4="];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -38,28 +38,21 @@
|
|||||||
firewall.enable = true;
|
firewall.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
i18n = {
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
defaultLocale = "en_US.UTF-8";
|
|
||||||
extraLocaleSettings = {
|
|
||||||
LC_ADDRESS = "en_US.UTF-8";
|
|
||||||
LC_IDENTIFICATION = "en_US.UTF-8";
|
|
||||||
LC_MEASUREMENT = "en_US.UTF-8";
|
|
||||||
LC_MONETARY = "en_US.UTF-8";
|
|
||||||
LC_NAME = "en_US.UTF-8";
|
|
||||||
LC_NUMERIC = "en_US.UTF-8";
|
|
||||||
LC_PAPER = "en_US.UTF-8";
|
|
||||||
LC_TELEPHONE = "en_US.UTF-8";
|
|
||||||
LC_TIME = "en_US.UTF-8";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
hardware.bolt = {enable = false;};
|
displayManager.ly = {
|
||||||
displayManager.sddm = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
wayland.enable = true;
|
x11Support = false;
|
||||||
|
settings = {
|
||||||
|
animation = "colormix";
|
||||||
|
battery_id = "BAT0";
|
||||||
|
clear_password = true;
|
||||||
|
colormix_col1 = "0xffffea";
|
||||||
|
colormix_col2 = "0x006600";
|
||||||
|
colormix_col3 = "0x8888cc";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
desktopManager.plasma6.enable = true;
|
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
@@ -68,7 +61,7 @@
|
|||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
};
|
};
|
||||||
auto-cpufreq = {
|
auto-cpufreq = {
|
||||||
enable = false;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
battery = {
|
battery = {
|
||||||
governor = "powersave";
|
governor = "powersave";
|
||||||
@@ -84,14 +77,10 @@
|
|||||||
lidSwitch = "suspend-then-hibernate";
|
lidSwitch = "suspend-then-hibernate";
|
||||||
lidSwitchExternalPower = "suspend";
|
lidSwitchExternalPower = "suspend";
|
||||||
};
|
};
|
||||||
avahi = {
|
|
||||||
enable = true;
|
|
||||||
nssmdns4 = true;
|
|
||||||
openFirewall = true; # If you have a firewall enabled
|
|
||||||
};
|
|
||||||
|
|
||||||
|
hardware.bolt.enable = true;
|
||||||
blueman.enable = true;
|
blueman.enable = true;
|
||||||
fwupd.enable = false;
|
fwupd.enable = true;
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
fprintd.enable = true;
|
fprintd.enable = true;
|
||||||
thermald.enable = true;
|
thermald.enable = true;
|
||||||
@@ -102,11 +91,31 @@
|
|||||||
autoEnable = true;
|
autoEnable = true;
|
||||||
polarity = "light";
|
polarity = "light";
|
||||||
image = ./wallpaper.png;
|
image = ./wallpaper.png;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/precious-light-warm.yaml";
|
base16Scheme = {
|
||||||
|
base00 = "#ffffea";
|
||||||
|
base01 = "#eaffff";
|
||||||
|
base02 = "#eeee9e";
|
||||||
|
base03 = "#99994c";
|
||||||
|
base04 = "#555555";
|
||||||
|
base05 = "#000000";
|
||||||
|
base06 = "#000000";
|
||||||
|
base07 = "#000000";
|
||||||
|
base08 = "#aa0000";
|
||||||
|
base09 = "#884400";
|
||||||
|
base0A = "#99994c";
|
||||||
|
base0B = "#006600";
|
||||||
|
base0C = "#8888cc";
|
||||||
|
base0D = "#000099";
|
||||||
|
base0E = "#8888cc";
|
||||||
|
base0F = "#5d3a1a";
|
||||||
|
};
|
||||||
|
targets.chromium.enable = false;
|
||||||
|
targets.gnome.enable = false;
|
||||||
opacity = {
|
opacity = {
|
||||||
terminal = 0.85;
|
terminal = 0.85;
|
||||||
popups = 0.75;
|
popups = 0.75;
|
||||||
desktop = 0.75;
|
desktop = 0.75;
|
||||||
|
applications = 0.85;
|
||||||
};
|
};
|
||||||
cursor = {
|
cursor = {
|
||||||
package = pkgs.adwaita-icon-theme;
|
package = pkgs.adwaita-icon-theme;
|
||||||
@@ -133,16 +142,15 @@
|
|||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
sensor.iio.enable = true;
|
sensor.iio.enable = true;
|
||||||
graphics.enable32Bit = true;
|
|
||||||
graphics.extraPackages = with pkgs; [
|
|
||||||
intel-vaapi-driver
|
|
||||||
intel-media-driver
|
|
||||||
intel-compute-runtime
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
|
niri.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
virtualisation = {
|
||||||
|
docker = {enable = true;};
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.k = {
|
users.users.k = {
|
||||||
@@ -166,7 +174,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
systemd.sleep.extraConfig = ''
|
systemd.sleep.extraConfig = ''
|
||||||
HibernateDelaySec=30m
|
HibernateDelaySec=20m
|
||||||
SuspendState=mem
|
SuspendState=mem
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@@ -182,7 +190,6 @@
|
|||||||
"loglevel=3"
|
"loglevel=3"
|
||||||
"rd.systemd.show_status=false"
|
"rd.systemd.show_status=false"
|
||||||
"rd.udev.log_level=3"
|
"rd.udev.log_level=3"
|
||||||
"udev.lqog_priority=3"
|
|
||||||
];
|
];
|
||||||
loader.timeout = 0;
|
loader.timeout = 0;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
../home/home_common.nix
|
../home/home_common.nix
|
||||||
|
../home/niri.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
@@ -13,12 +14,14 @@
|
|||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
firefox
|
firefox
|
||||||
|
lagrange
|
||||||
chromium #this might replace firefox
|
chromium #this might replace firefox
|
||||||
keepassxc
|
keepassxc
|
||||||
thunderbird
|
thunderbird
|
||||||
blender
|
blender
|
||||||
vesktop
|
vesktop
|
||||||
spotify
|
spotify
|
||||||
|
alacritty
|
||||||
|
|
||||||
btop
|
btop
|
||||||
zip
|
zip
|
||||||
@@ -30,6 +33,8 @@
|
|||||||
direnv
|
direnv
|
||||||
texliveFull
|
texliveFull
|
||||||
ispell
|
ispell
|
||||||
|
|
||||||
|
calc
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -42,7 +47,10 @@
|
|||||||
|
|
||||||
emacs = {
|
emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.emacs-pgtk;
|
package = pkgs.emacs-pgtk.override {
|
||||||
|
withTreeSitter = true;
|
||||||
|
withNativeCompilation = true;
|
||||||
|
};
|
||||||
extraPackages = epkgs: [
|
extraPackages = epkgs: [
|
||||||
epkgs.vterm
|
epkgs.vterm
|
||||||
];
|
];
|
||||||
@@ -60,11 +68,11 @@
|
|||||||
emacs = {
|
emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
package = pkgs.emacs-pgtk;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnable = true;
|
autoEnable = true;
|
||||||
|
targets.gnome.enable = false;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 10 MiB After Width: | Height: | Size: 2.1 MiB |
@@ -17,12 +17,14 @@
|
|||||||
listenPort = 51820;
|
listenPort = 51820;
|
||||||
privateKeyFile = "/keys/wg-private";
|
privateKeyFile = "/keys/wg-private";
|
||||||
peers = [
|
peers = [
|
||||||
{ # laptop
|
{
|
||||||
|
# laptop
|
||||||
publicKey = "Ze2y3K+blI3aBc1AKTlvv90j+McBaitB+qSLazsuSFM=";
|
publicKey = "Ze2y3K+blI3aBc1AKTlvv90j+McBaitB+qSLazsuSFM=";
|
||||||
allowedIPs = ["10.0.0.2/32"];
|
allowedIPs = ["10.0.0.2/32"];
|
||||||
}
|
}
|
||||||
|
|
||||||
{ # phone
|
{
|
||||||
|
# phone
|
||||||
publicKey = "vcheBoHRxCrwzbMw0UI9ZsQfVDJizBWkeM+pF5/8+HE=";
|
publicKey = "vcheBoHRxCrwzbMw0UI9ZsQfVDJizBWkeM+pF5/8+HE=";
|
||||||
allowedIPs = ["10.0.0.3/32"];
|
allowedIPs = ["10.0.0.3/32"];
|
||||||
}
|
}
|
||||||
@@ -61,7 +63,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
ollama = {
|
ollama = {
|
||||||
enable = true;
|
enable = false;
|
||||||
package = pkgs.ollama-intel;
|
package = pkgs.ollama-intel;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -94,7 +96,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home-assistant = {
|
home-assistant = {
|
||||||
enable = true;
|
enable = false;
|
||||||
extraComponents = ["wiz" "fail2ban" "ollama" "wyoming" "androidtv" "androidtv_remote"];
|
extraComponents = ["wiz" "fail2ban" "ollama" "wyoming" "androidtv" "androidtv_remote"];
|
||||||
config = {
|
config = {
|
||||||
default_config = {};
|
default_config = {};
|
||||||
@@ -109,12 +111,12 @@
|
|||||||
|
|
||||||
wyoming = {
|
wyoming = {
|
||||||
piper.servers."piperNix" = {
|
piper.servers."piperNix" = {
|
||||||
enable = true;
|
enable = false;
|
||||||
uri = "tcp://0.0.0.0:10200";
|
uri = "tcp://0.0.0.0:10200";
|
||||||
voice = "en-us-ryan-low";
|
voice = "en-us-ryan-low";
|
||||||
};
|
};
|
||||||
faster-whisper.servers."whisperNix" = {
|
faster-whisper.servers."whisperNix" = {
|
||||||
enable = true;
|
enable = false;
|
||||||
uri = "tcp://0.0.0.0:10300";
|
uri = "tcp://0.0.0.0:10300";
|
||||||
language = "en";
|
language = "en";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user