add github actions
This commit is contained in:
parent
af8634cd42
commit
60b36f3709
6 changed files with 41 additions and 16 deletions
20
.github/workflows/nixos.yml
vendored
Normal file
20
.github/workflows/nixos.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: NixOS
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2.3.2
|
||||||
|
|
||||||
|
- name: "Install Nix ❄️"
|
||||||
|
uses: cachix/install-nix-action@v15
|
||||||
|
|
||||||
|
- name: "Install Cachix ❄️"
|
||||||
|
uses: cachix/cachix-action@v10
|
||||||
|
with:
|
||||||
|
name: 0x76-infra
|
||||||
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||||
|
|
||||||
|
- name: "Build NixOS config ❄️"
|
||||||
|
run: |
|
||||||
|
nix run '.#' build
|
24
flake.lock
24
flake.lock
|
@ -209,11 +209,11 @@
|
||||||
"utils": "utils_2"
|
"utils": "utils_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1662659484,
|
"lastModified": 1662736595,
|
||||||
"narHash": "sha256-+uanOaNQCOkwZhzdtLEce1L8IZcGhTgEw8mXKVLGVxQ=",
|
"narHash": "sha256-43viuA7wymW9shuGxFE5U3XGauucm7sQc83P8cvNLLo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "4cfc0a1e02c6374f66acdfd2ff8ae3e87c80c818",
|
"rev": "b92826d0c4a6a7c50fece3caaeaa0cb08536a3f3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -228,11 +228,11 @@
|
||||||
"wlroots": "wlroots"
|
"wlroots": "wlroots"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1662670949,
|
"lastModified": 1662732084,
|
||||||
"narHash": "sha256-VB/34YMiW9mL6sdEAnYOqi1sjOiJcu8ZmQx3R8PI2iI=",
|
"narHash": "sha256-uW9KRO0zNC2xPISInFCFP0Nqko1x/DLI+jrhndERuRQ=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "928158bbfb906bd871738d60610d85634d1f8c7e",
|
"rev": "9370c7aa8a0f43b4471626f95013e1bf55539c19",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -412,11 +412,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1662706500,
|
"lastModified": 1662729926,
|
||||||
"narHash": "sha256-aGLVvP1H5Y9rmbVpP9/5esO/4lmDkGxIVgq1AGDiDTM=",
|
"narHash": "sha256-klAcKYYKVtd3a/34kfi4bqUKlL4GJqh9iYWictDpsJg=",
|
||||||
"owner": "NULLx76",
|
"owner": "NULLx76",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "98eb447a5320ea4a93ebb92f5d7367e18c3dbbee",
|
"rev": "cc6ef9492eba324cc2482127f0778b8178a186bd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -495,11 +495,11 @@
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1662656610,
|
"lastModified": 1662734285,
|
||||||
"narHash": "sha256-5mz1SsMNXMoacixgFxfVHLwp1ycX+sW4T5/G9KHF68E=",
|
"narHash": "sha256-6WHeR4k640SnTqxusciQ6zfB6of20cjMjM3wwaIgzNQ=",
|
||||||
"owner": "DeterminateSystems",
|
"owner": "DeterminateSystems",
|
||||||
"repo": "riff",
|
"repo": "riff",
|
||||||
"rev": "895037519e9fcc1bdb6e709d4ffa34ed71851c96",
|
"rev": "bbb08d8ec46d8eb0317a10bc828c25ce8be42c58",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -120,10 +120,11 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
extraPortals = with pkgs; [
|
extraPortals = with pkgs; [
|
||||||
xdg-desktop-portal-gtk
|
# xdg-desktop-portal-gtk
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
services.dbus.enable = true;
|
||||||
|
|
||||||
# Hyprland
|
# Hyprland
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
|
|
|
@ -43,7 +43,6 @@
|
||||||
wf-recorder # Screenrecorder
|
wf-recorder # Screenrecorder
|
||||||
wl-clipboard # Clipboard manager
|
wl-clipboard # Clipboard manager
|
||||||
wofi # Wayland rofi
|
wofi # Wayland rofi
|
||||||
|
|
||||||
inputs.riff.packages.x86_64-linux.riff
|
inputs.riff.packages.x86_64-linux.riff
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -51,6 +50,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.exa = {
|
||||||
|
enable = true;
|
||||||
|
enableAliases = true;
|
||||||
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.gitAndTools.gitFull;
|
package = pkgs.gitAndTools.gitFull;
|
||||||
|
@ -60,7 +64,6 @@
|
||||||
|
|
||||||
programs.mako = {
|
programs.mako = {
|
||||||
enable = true;
|
enable = true;
|
||||||
borderRadius = 5;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file.".config/eww/eww.yuck".source = ./eww.yuck;
|
home.file.".config/eww/eww.yuck".source = ./eww.yuck;
|
||||||
home.file.".config/eww/eww.scss".source = ./eww.scss;
|
home.file.".config/eww/eww.scss".text = builtins.readFile ./eww.scss;
|
||||||
|
|
||||||
# scripts
|
# scripts
|
||||||
home.file.".config/eww/scripts/volume.sh" = {
|
home.file.".config/eww/scripts/volume.sh" = {
|
||||||
|
|
|
@ -59,5 +59,6 @@ in
|
||||||
backgroundColor = colour.hex.mantle;
|
backgroundColor = colour.hex.mantle;
|
||||||
borderColor = colour.hex.pink;
|
borderColor = colour.hex.pink;
|
||||||
textColor = colour.hex.text;
|
textColor = colour.hex.text;
|
||||||
|
borderRadius = 5;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue