2 Commits

5 changed files with 4 additions and 101 deletions
-46
View File
@@ -1,46 +0,0 @@
name: Check NixOS Config
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Free disk space
run: |
sudo rm -rf /usr/share/dotnet /usr/share/swift /usr/local/lib/android \
/opt/ghc /opt/hostedtoolcache/CodeQL /usr/local/share/boost \
"$AGENT_TOOLSDIRECTORY"
sudo docker image prune --all --force || true
df -h
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
experimental-features = nix-command flakes
accept-flake-config = true
- name: Setup Cachix
uses: cachix/cachix-action@v15
with:
name: chexit
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Check flake syntax
run: nix flake check --no-build
- name: Build system config
run: |
nix build .#nixosConfigurations.chexit.config.system.build.toplevel \
--no-link \
--print-build-logs
Generated
-48
View File
@@ -1,48 +0,0 @@
{
"nodes": {
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1776454077,
"narHash": "sha256-7zSUFWsU0+jlD7WB3YAxQ84Z/iJurA5hKPm8EfEyGJk=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "565e5349208fe7d0831ef959103c9bafbeac0681",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1776169885,
"narHash": "sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}
+1
View File
@@ -18,6 +18,7 @@
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "hm-bak";
home-manager.users.chexit = import ./home.nix;
}
];
+1 -4
View File
@@ -10,12 +10,9 @@
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
initExtra = ''
initContent = ''
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
'';
shellAliases = {
rebuild = "sudo nixos-rebuild switch --flake ~/nixos-config#chexit";
};
};
programs.home-manager.enable = true;
+2 -3
View File
@@ -4,7 +4,7 @@
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
# system
# системное
wget
git
htop
@@ -14,12 +14,11 @@
kdePackages.qtstyleplugin-kvantum
kdePackages.kate
# soft
# софт
firefox
vesktop
materialgram
termius
throne
# dev
vscode