1
Fork 0

feat: changed a lot of stuff

This commit is contained in:
Matei Adriel 2020-10-07 11:11:03 +03:00
parent 9a18f75bcb
commit 079813563c
11 changed files with 8699 additions and 786 deletions

View file

@ -13,6 +13,7 @@
"milkytracker", "milkytracker",
"mklicense", "mklicense",
"pnpm", "pnpm",
"preact",
"rofi", "rofi",
"xmonad" "xmonad"
] ]

View file

@ -11,8 +11,52 @@ in {
# Enable sound. # Enable sound.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = true;
# home-manager.users.adrielus.home.packages = with pkgs; [ bluez bluez-tools ];
# Enable blueman
# services.blueman.enable = true;
hardware = {
pulseaudio = {
enable = true;
# NixOS allows either a lightweight build (default) or full build of PulseAudio to be installed.
# Only the full build has Bluetooth support, so it must be selected here.
package = pkgs.pulseaudioFull;
# Extra codecs
extraModules = [ pkgs.pulseaudio-modules-bt ];
};
# configFile = pkgs.writeText "default.pa" ''
# load-module module-bluetooth-policy
# load-module module-bluetooth-discover
# ## module fails to load with
# ## module-bluez5-device.c: Failed to get device path from module arguments
# ## module.c: Failed to load module "module-bluez5-device" (argument: ""): initialization failed.
# # load-module module-bluez5-device
# # load-module module-bluez5-discover
# '';
# extraConfig = ''
# load-module module-switch-on-connect
# '';
# };
# bluetooth = {
# enable = true;
# config."General"."Enable" = "Source,Sink,Media,Socket";
# };
};
# home-manager.users.adrielus.services.mpris-proxy = {
# Unit.Description = "Mpris proxy";
# Unit.After = [ "network.target" "sound.target" ];
# Service.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
# Install.WantedBy = [ "default.target" ];
# };
system.stateVersion = "20.03"; system.stateVersion = "20.03";
} }

View file

@ -11,17 +11,24 @@
neofetch # display system information neofetch # display system information
xclip # copy paste stuff xclip # copy paste stuff
feh # image viewer feh # image viewer
unzip # for working with .zip files
speedtest-cli # test the internet speed and stuff speedtest-cli # test the internet speed and stuff
openssl
pkgconfig
ngrok
hugo
# editors # editors
vscodium # vscodium
vscode
vim vim
neovim neovim
emacs emacs
# vscode
# chat apps # chat apps
discord discord
# discord-canary
deluge
slack slack
tdesktop # telegram for the desktop tdesktop # telegram for the desktop
zoom-us zoom-us
@ -30,6 +37,7 @@
# browsers # browsers
google-chrome google-chrome
brave brave
firefox
# other stuff # other stuff
milkytracker # music tracker thingy milkytracker # music tracker thingy
@ -40,5 +48,12 @@
libreoffice # free office suite libreoffice # free office suite
# edopro # yugioh simulator (my derivation doesn't work yet) # edopro # yugioh simulator (my derivation doesn't work yet)
akonadi akonadi
obs-studio # video recorder
# blueman # bluetooth manager
# Nes emulators and stuff
zsnes
higan
fceux
]; ];
} }

View file

@ -5,7 +5,7 @@ in {
file.".ghci".source = ./ghci; file.".ghci".source = ./ghci;
packages = with pkgs; packages = with pkgs;
[ ghc ghcid hlint cabal-install snack stack hie ] [ ghc ghcid hlint cabal-install snack stack ]
++ (with haskellPackages; [ brittany hoogle hpack pointfree ]); ++ (with haskellPackages; [ brittany hoogle hpack pointfree ]);
}; };
} }

View file

@ -1,7 +1,8 @@
{ pkgs, ... }: { pkgs, ... }:
let let
fromNpm = import ./npm { inherit pkgs; }; fromNpm = import ./npm { inherit pkgs; };
node = pkgs.nodejs_latest; node = pkgs.nodejs-12_x;
yarn = pkgs.yarn.override { nodejs = node; };
in { in {
home-manager.users.adrielus.home.packages = with pkgs; home-manager.users.adrielus.home.packages = with pkgs;
with nodePackages; with nodePackages;
@ -11,9 +12,13 @@ in {
node2nix node2nix
pnpm pnpm
(yarn.override { nodejs = node; }) yarn
tsdx tsdx
mklicense mklicense
preact-cli
create-next-app
create-snowpack-app
bower
]; ];
} }

View file

@ -1 +1,9 @@
["pnpm", "tsdx", "mklicense"] [
"pnpm",
"tsdx",
"mklicense",
"preact-cli",
"create-next-app",
"create-snowpack-app",
"bower"
]

File diff suppressed because it is too large Load diff

View file

@ -4,6 +4,7 @@
spago spago
purty purty
pscid pscid
pulp
zephyr zephyr
]; ];
} }

View file

@ -26,8 +26,10 @@ in {
# unstable stuff # unstable stuff
brave = unstable.brave; brave = unstable.brave;
ngrok = unstable.ngrok;
vscodium = unstable.vscodium; vscodium = unstable.vscodium;
deno = unstable.deno; deno = unstable.deno;
discord-canary = unstable.discord-canary;
dotnet-sdk = dotnet-sdk_3; dotnet-sdk = dotnet-sdk_3;
elm-repl = unstable.haskellPackages.elm-repl; elm-repl = unstable.haskellPackages.elm-repl;
}) })

View file

@ -5,7 +5,7 @@ with import ../secrets.nix; {
users.adrielus = { users.adrielus = {
inherit hashedPassword; inherit hashedPassword;
extraGroups = [ "wheel" "networkmanager" ]; extraGroups = [ "wheel" "networkmanager" "lp" ];
isNormalUser = true; isNormalUser = true;
shell = pkgs.fish; shell = pkgs.fish;
}; };

View file

@ -5,10 +5,10 @@
"homepage": "", "homepage": "",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "2df6e8d67087dceb3f0d98a4bafa73f492d91210", "rev": "05a29a61a994685404ce141957c99ac65628ec25",
"sha256": "1gk0jsj0ji3bq8wppq1c3bf31blkbila7pwmdvmbk3whgzgbdhk2", "sha256": "143nh2ag1dj67vg66wdmkscxa7xfic7balxg0hvymvhzzp18rbw2",
"type": "tarball", "type": "tarball",
"url": "https://github.com/nix-community/NUR/archive/2df6e8d67087dceb3f0d98a4bafa73f492d91210.tar.gz", "url": "https://github.com/nix-community/NUR/archive/05a29a61a994685404ce141957c99ac65628ec25.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"agnoster": { "agnoster": {
@ -29,10 +29,10 @@
"homepage": "", "homepage": "",
"owner": "Infinisil", "owner": "Infinisil",
"repo": "all-hies", "repo": "all-hies",
"rev": "4b6aab017cdf96a90641dc287437685675d598da", "rev": "09ba836904fa290b5e37d5403150ea0c921661fb",
"sha256": "0ap12mbzk97zmxk42fk8vqacyvpxk29r2wrnjqpx4m2w9g7gfdya", "sha256": "0qbjqv1fkhkx1cffqybz1mfks1jphh0vh3zd8ad2qd6lch4gyys4",
"type": "tarball", "type": "tarball",
"url": "https://github.com/Infinisil/all-hies/archive/4b6aab017cdf96a90641dc287437685675d598da.tar.gz", "url": "https://github.com/Infinisil/all-hies/archive/09ba836904fa290b5e37d5403150ea0c921661fb.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"cached-nix-shell": { "cached-nix-shell": {
@ -41,10 +41,10 @@
"homepage": "", "homepage": "",
"owner": "xzfc", "owner": "xzfc",
"repo": "cached-nix-shell", "repo": "cached-nix-shell",
"rev": "4db8af0c653620e192c59d7d8ed227e4ffd8f54c", "rev": "48dbef37bec653e23c1801cea3979f053e10654b",
"sha256": "1ni671wr2lrvyz6myaz3v4llrjvq4jc1ygw1m7rvnadzyf3va3lw", "sha256": "0w6khry1ncyqy5h6996xw1f6viw4wdrfji5m8lz9gm487xlq5v0b",
"type": "tarball", "type": "tarball",
"url": "https://github.com/xzfc/cached-nix-shell/archive/4db8af0c653620e192c59d7d8ed227e4ffd8f54c.tar.gz", "url": "https://github.com/xzfc/cached-nix-shell/archive/48dbef37bec653e23c1801cea3979f053e10654b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"easy-purescript-nix": { "easy-purescript-nix": {
@ -53,10 +53,10 @@
"homepage": "", "homepage": "",
"owner": "justinwoo", "owner": "justinwoo",
"repo": "easy-purescript-nix", "repo": "easy-purescript-nix",
"rev": "47507b27e15a9c3b929111cf43d2e9c0e4b97f4c", "rev": "7ff5a12af5750f94d0480059dba0ba6b82c6c452",
"sha256": "0gnwymgm4i5y9vknpcsr99pwy76w14nclqxb6xmmzlw2s8fx85hm", "sha256": "0af25dqhs13ii4mx9jjkx2pww4ddbs741vb5gfc5ckxb084d69fq",
"type": "tarball", "type": "tarball",
"url": "https://github.com/justinwoo/easy-purescript-nix/archive/47507b27e15a9c3b929111cf43d2e9c0e4b97f4c.tar.gz", "url": "https://github.com/justinwoo/easy-purescript-nix/archive/7ff5a12af5750f94d0480059dba0ba6b82c6c452.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"home-manager": { "home-manager": {
@ -65,10 +65,10 @@
"homepage": "https://rycee.gitlab.io/home-manager/", "homepage": "https://rycee.gitlab.io/home-manager/",
"owner": "rycee", "owner": "rycee",
"repo": "home-manager", "repo": "home-manager",
"rev": "d8fdbbdf03617de1015d1c10fe3bd6ecc5cdce77", "rev": "318bc0754ed6370cfcae13183a7f13f7aa4bc73f",
"sha256": "107cbxpmbkvbi9qfqfjp9af7p6xkfs6sz5flbjg7prqp2q5q6c8h", "sha256": "0hgn85yl7gixw1adjfa9nx8axmlpw5y1883lzg3zigknx6ff5hsr",
"type": "tarball", "type": "tarball",
"url": "https://github.com/rycee/home-manager/archive/d8fdbbdf03617de1015d1c10fe3bd6ecc5cdce77.tar.gz", "url": "https://github.com/rycee/home-manager/archive/318bc0754ed6370cfcae13183a7f13f7aa4bc73f.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"niv": { "niv": {
@ -77,10 +77,10 @@
"homepage": "https://github.com/nmattia/niv", "homepage": "https://github.com/nmattia/niv",
"owner": "nmattia", "owner": "nmattia",
"repo": "niv", "repo": "niv",
"rev": "f73bf8d584148677b01859677a63191c31911eae", "rev": "303f442c43f918bc43400ab4a0b662a82ca7748b",
"sha256": "0jlmrx633jvqrqlyhlzpvdrnim128gc81q5psz2lpp2af8p8q9qs", "sha256": "19z1qypd6zd4qzhrhjm7j55v85fzf8wln8l9vslvn9dpspcwxv7c",
"type": "tarball", "type": "tarball",
"url": "https://github.com/nmattia/niv/archive/f73bf8d584148677b01859677a63191c31911eae.tar.gz", "url": "https://github.com/nmattia/niv/archive/303f442c43f918bc43400ab4a0b662a82ca7748b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"nixpkgs": { "nixpkgs": {
@ -89,10 +89,10 @@
"homepage": "https://github.com/NixOS/nixpkgs", "homepage": "https://github.com/NixOS/nixpkgs",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs-channels", "repo": "nixpkgs-channels",
"rev": "f8248ab6d9e69ea9c07950d73d48807ec595e923", "rev": "0c0fe6d85b92c4e992e314bd6f9943413af9a309",
"sha256": "009i9j6mbq6i481088jllblgdnci105b2q4mscprdawg3knlyahk", "sha256": "03q0dzxpd55xmvxzr963hv3nxh57m5d7sgiw5kvhpms1hf8lwd4r",
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs-channels/archive/f8248ab6d9e69ea9c07950d73d48807ec595e923.tar.gz", "url": "https://github.com/NixOS/nixpkgs-channels/archive/0c0fe6d85b92c4e992e314bd6f9943413af9a309.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
@ -101,10 +101,10 @@
"homepage": "https://github.com/NixOS/nixpkgs", "homepage": "https://github.com/NixOS/nixpkgs",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs-channels", "repo": "nixpkgs-channels",
"rev": "22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1", "rev": "8e2b14aceb1d40c7e8b84c03a7c78955359872bb",
"sha256": "14gx5fsqibdn2cxp7gymfrz2vcnwiwwjnxqlnysczz8dqihnrpa7", "sha256": "0zzjpd9smr7rxzrdf6raw9kbj42fbvafxb5bz36lcxgv290pgsm8",
"type": "tarball", "type": "tarball",
"url": "https://github.com/nixos/nixpkgs-channels/archive/22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1.tar.gz", "url": "https://github.com/nixos/nixpkgs-channels/archive/8e2b14aceb1d40c7e8b84c03a7c78955359872bb.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"snack": { "snack": {